1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not able to compile on Orange pi zero plus 2 H5

Discussion in 'Bug Reports' started by Kirant400, 5 November 2019.

  1. Kirant400

    Kirant400 New Member

    Messages:
    6
    Hi
    I was trying to compile in Orange pi zero plus 2 H5.
    Image used is ubuntu_xenial_zeroplus2_H5_V0_2
    commands used are
    cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev

    I get the following error
    [ 26%] Linking CXX executable ../../bin/hyperion-remote
    /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/libQtGui.so: file not recognized: File format not recognized
    collect2: error: ld returned 1 exit status
    src/hyperion-remote/CMakeFiles/hyperion-remote.dir/build.make:128: recipe for target 'bin/hyperion-remote' failed
    make[2]: *** [bin/hyperion-remote] Error 1
    CMakeFiles/Makefile2:1505: recipe for target 'src/hyperion-remote/CMakeFiles/hyperion-remote.dir/all' failed
    make[1]: *** [src/hyperion-remote/CMakeFiles/hyperion-remote.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....

    I have checked and "/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/libQtGui.so" file exists.
    I do not know how to proceed.
     
  2. Kirant400

    Kirant400 New Member

    Messages:
    6
    I changed to Armbian Linux 5.3.7-sunxi64. Now I am able to compile.
     
  3. Kirant400

    Kirant400 New Member

    Messages:
    6
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Hey nice one! do you have a github account? it would be very helpful if you could create a CompileOnOrangepi.md at our github repo
     
  5. Kirant400

    Kirant400 New Member

    Messages:
    6
    Yes I will fill and I have a github account
     
  6. Kirant400

    Kirant400 New Member

    Messages:
    6
    Added CompileOnOrangepi.md and created a pull request in github
    CompileOnOrangepi Document added #831
     
    • Like Like x 1
  7. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Thanks! Will look and merge it later :)
     
  8. Kirant400

    Kirant400 New Member

    Messages:
    6
    Got a chance to merge the pull request