Forums

OverviewV-Play 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/V-PlaySDK/Demos/V-PlaySDK/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/V-PlaySDK/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/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/lib/lib64/libVPlay.a(moc_fpsqmlviewer.o): defined in discarded section `.text._ZN12FpsQMLViewerD2Ev[_ZN12FpsQMLViewerD5Ev]' of /home/arkan/workspace/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/lib/lib64/libVPlay.a(moc_fpsqmlviewer.o)

     

    any idea?

     

     

    #4577

    Alex
    V-Play Team

    Hi,

    unfortunately V-Play 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://v-play.net/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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support