Forums

OverviewV-Play Installation › Demo applications runs w/o graphics

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5062

    Vlad

    Hi

     

    Application built quite ok, but when running, most of the graphics doesnt appears

    in console output I’ve got:

     

    file:///home/vladest/V-PlaySDK/Demos/V-PlaySDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/Level.qml:32:5: QML Image: Error decoding: file:///home/vladest/V-PlaySDK/Demos/V-PlaySDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/img/playground.jpg: Unsupported image format

    libpng warning: Application was compiled with png.h from libpng-1.2.44

    libpng warning: Application is running with png.c from libpng-1.4.8

    libpng warning: Incompatible libpng version in application and library

    file:///home/vladest/V-PlaySDK/Demos/V-PlaySDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/Level.qml:20:5: QML Image: Error decoding: file:///home/vladest/V-PlaySDK/Demos/V-PlaySDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/img/asphalt_background.png: Unable to read image data

    libpng warning: Application was compiled with png.h from libpng-1.2.44

    libpng warning: Application is running with png.c from libpng-1.4.8

    libpng warning: Incompatible libpng version in application and library

     

    etc

    by ldd

    I’ve got

    libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fc698c28000)

     

    which is weird, because I’ve added to the projectinclude.pri file:

    LIBS += $$THIRDPARTY_LIBRARY_PATH/libpng.a

    which should compile your statically built libpng 1.4

     

    can you help me with this?

     

    Thanks

     

    #5084

    Alex
    V-Play Team

    Hi,

    thanks for pointing this out! Our development team is currently only testing (and officially supporting) 32- or 64-bit Linux Ubuntu 12.04 and 12.10. We however got our demo games (and therefore all other V-Play powered games) running on 13.04 too by adding the following line right after including the third-party libraries in the corresponding project file:

    LIBS += -lpng12 -lz -lfontconfig

    You may need to install additional packages in case the linker fails:

    sudo apt-get install libfontconfig1-dev libpng12-dev

    Please keep us updated if this works out for your development environment too. We will then add 13.04 support to our next stable release.

    Thanks,

    Alex

    #5085

    Vlad

    Thank you, now all works

Viewing 3 posts - 1 through 3 (of 3 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