You need to be a member of diydrones to add comments!

Join diydrones


  • Hi Harald,

    In openSuse I have executed next sentence to install the needed libraries 

    zypper in libphonon4 phonon-backend-gstreamer-0_10 phonon-devel libqt4-devel qt-creator libSDL-1_2-0 libSDL-devel alsa-devel flite flite-devel OpenSceneGraph libOpenSceneGraph-devel libOpenSceneGraph80

    I use to find extra packages

    Yours sincerely,


  • probably solved (well, hacked around):

    I hacked the following line in  qgroundcontrol.pri:

     exists(/usr/include/osg) | exists(/usr/local/include/osg)


     exists(/usr/include/osgxxx) | exists(/usr/local/include/osgxxx)

    so that the compiler "thinks" that osg doesn't exist. The linker error is gone and APM seems to work (at least it starts).

  • okay: flite problem solved

    Obviously I still had an old version laying around and Suse 13.1 seems to consider flite as an unsatble package. I managed to install it from here:

    and the flite related linker errors are gone.

    Now the missing osgViewer library remains to be solved. It is a bit strange, that the linker looks for a static library (should be libosgViwer.a) although dynamic libraries seemto be provided. I found in /usr:


  • Hi Miguel,

    just retried with the latest version from git (I used the zip download) with the following result:

    - the #if defined error is gone (as shown in the checkin comments)

    - all flite libraries are incompatible

    - osgviewer is missing

    I removed flite via yast. As there is no way to reinstall it for Suse13.1 I tried to install

    freeswitch-asrtts-flite instead but still no luck. I still get the following linker errors:

    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_cmu_us_kal
    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_usenglish
    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_cmulex
    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite
    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -losgViewer

    Where did you install flite from? Did you add a special repository?

    Kind regards Harald

  • Hi My Linux fellows. I have a question. I have never used the QT toolchain. I run Debian and I love checkinstall. Checkinstall is a replacement of "make install" which will generate a .deb file. This makes it much easier to uninstall/upgrade self compiled packages.

    Is there a possibility to run "make install" -or checkinstall in my case- from the command line without using QT Creator?

    Thanks for advice and cheers,


  • Hello Harald Finster,

    I have just compiled latest versions of both qgroundcontrol and apmplanner (from git code) and both have been compiled without problems.

    Kind regards,

  • Hello

    Thanks for your feedback, Miguel!

    Yes, I double checked that the libraries are there, but I will triple check ;-)

    I suspect that some of them ore out of date.

    BTW1: apologies for my previous messed up posting. For some reason the code formatting did not work as I expected.

    BTW2: a happy and "crahless" new year to all of you!

    Kind regards



  • Hello,

    I have found the same problem with 

    #if defined (Q_OS_MAC)||(Q_OS_LINUX)

    compiling the last version of APM Planner some days a go.

    I found the workaround 

    #if defined Q_OS_LINUX

    I haven't had any problem with linking the object. Have you installed the packages that I specified in my post? 


  • This is what I just tried to get this running with openSuSE 13.1(x64)

    cd apm_planner-master



    this fails with a syntax error:

    src/ui/configuration/ error: missing expression between '(' and ')'
     #if defined (Q_OS_MAC)||(Q_OS_LINUX)

    as this expression should be true for my system, I simply removed the line and the closing #endif

    Everything compiled but finally failed with the following link errors:

    /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_cmu_us_kal.a when searching for -lflite_cmu_us_kal/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_cmu_us_kal.a when searching for -lflite_cmu_us_kal/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_cmu_us_kal/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_usenglish.a when searching for -lflite_usenglish/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_usenglish.a when searching for -lflite_usenglish/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_usenglish/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_cmulex.a when searching for -lflite_cmulex/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite_cmulex.a when searching for -lflite_cmulex/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite_cmulex/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite.a when searching for -lflite/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libflite.a when searching for -lflite/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lflite/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -losgViewercollect2: error: ld returned 1 exit status

  • Hello

    could you please give a more detailed description or a specific link which describes how you managed to build/compile this application?

    I spent hours attempting to compile different versions of qgroundcontrol and the branch mentioned above without success. Missing libraries, missing headers...) under suse 13.1. I double checked that the dependencies listed above are satisfied.

    qgroundcontrol did work with suse 12.x but after upgrading to 13.1 some of the libraries are no longer compatible.

    Thanks for any feedback and help!

    Kind regards


This reply was deleted.