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?