Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo Installation › Demo projects do not build

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4558

    arkan1313

    Hello Guys,

    I’m having problems trying to run the Demo projects, they don’t build. This is my configuration

    Fedora 18 x86_64

    gcc 4.7.2

    I used the default configuration to install the SDK so I’m using the Qt that was downloaded, when I try to build this is the output.

     

    09:28:18: Running build steps for project ChickenOutbreak…

    09:28:18: Configuration unchanged, skipping qmake step.

    09:28:18: Starting: “/usr/bin/make” -w

    make: Entering directory `/home/arkan/workspace/FelgoSDK/Demos/FelgoSDK/ChickenOutbreak’

    g++-4.6 -c -pipe -O2 -Wall -W -D_REENTRANT -DPLATFORM_LINUX -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../Desktop/Qt/4.8.1/gcc/mkspecs/linux-g++ -I. -I../../../Desktop/Qt/4.8.1/gcc/include/QtCore -I../../../Desktop/Qt/4.8.1/gcc/include/QtGui -I../../../Desktop/Qt/4.8.1/gcc/include/QtDeclarative -I../../../Desktop/Qt/4.8.1/gcc/include -I../../../Desktop/FelgoSDK/include -I../shared/qmlapplicationviewer -I. -o main.o main.cpp

    make: g++-4.6: Command not found

    make: *** [main.o] Error 127

    so I changed the gcc version from the project configuration and I got some problems related to missing libraries, then I added them

    LIBS += -lz -lpng -lfontconfig

    Now the problem that I don’t know how to solve is

    `.text._ZN12FpsQMLViewerD2Ev' referenced in section `.text._ZN12FpsQMLViewerD1Ev[_ZN12FpsQMLViewerD1Ev]' of /home/arkan/workspace/FelgoSDK/Desktop/Qt/4.8.1/gcc/../../../FelgoSDK/lib/lib64/libVPlay.a(moc_fpsqmlviewer.o): defined in discarded section `.text._ZN12FpsQMLViewerD2Ev[_ZN12FpsQMLViewerD5Ev]' of /home/arkan/workspace/FelgoSDK/Desktop/Qt/4.8.1/gcc/../../../FelgoSDK/lib/lib64/libVPlay.a(moc_fpsqmlviewer.o)

     

    any idea?

     

     

    #4577

    Alex
    Felgo Team

    Hi,

    unfortunately Felgo libraries are only compatible with gcc-4.6, this is the reason why we hard-coded the dependency in the project file. As described in our installation guide (http://felgo.com/doc/vplay-installation.html#linux) you therefore have to install the gcc-4.6 suite on your system too.

    Cheers,

    Alex

    #4591

    arkan1313

    Hello again,

     

    Thank you for the quick answer, I compiled gcc-4.6 and the issue disappeared, however I had to modified my libpng version to use the 1.2 instead of the 1.5, not a big deal, anyway Thank you so much for the help, this is a great product.

     

    Arkan.

    #4595

    Alex
    Felgo Team

    Thanks for the hint Arkan, we’ll check that and add it to our installation guide.

    Cheers,

    Alex

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.