Forums

OverviewV-Play Installationundefined reference to libpng12 on ubuntu 13.04 64bit › Reply To: undefined reference to libpng12 on ubuntu 13.04 64bit

OverviewV-Play Installationundefined reference to libpng12 on ubuntu 13.04 64bit › Reply To: undefined reference to libpng12 on ubuntu 13.04 64bit
#5485

Martin

Hey Alex,

Yes, the library does exist at that path but this problem somehow disappeared. I probably mixed up something the last time with using some v-play.prf project instead of v-play_daily.prf and the former does not include checks for linux-g++-64. Now, when building a daily project it seems that the library path is set incorrectly (lib instead of lib64)

16:32:22: Running steps for project MultiSceneMultiLevel...
16:32:22: Starting: "/home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/bin/qmake" /home/eigel/libs/V-PlaySDK/Examples/V-PlaySDK/daily/MultiSceneMultiLevel/MultiSceneMultiLevel.pro -r -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug
Project MESSAGE: V-Play 3rdparty library path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/lib/third_party
Project MESSAGE: V-Play SDK path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily
Project MESSAGE: V-Play target path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily
Project MESSAGE: V-Play library path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/lib
Project MESSAGE: V-Play qml path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/qml
Project MESSAGE: V-Play include path: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/include
Project MESSAGE: VPlayPluginsGenericPath: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/plugins/generic
Project MESSAGE: VPlayPluginsPlatformPath: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/plugins/linux
Project MESSAGE: QML_IMPORT_PATH: /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/qml /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/plugins/linux /home/eigel/libs/V-PlaySDK/Desktop/Qt/4.8.1/gcc/../../../V-PlaySDK/daily/plugins/generic
Project MESSAGE: MAINPROFILEPWD: /home/eigel/libs/V-PlaySDK/Examples/V-PlaySDK/daily/MultiSceneMultiLevel

As a test, I moved lib64 to lib which results in a seemingly successful build. Note that I also moved the LIBS+=… entry from the project file to v-play_daily.prf. Unfortunately, all built apps immediately quit without any hint regarding the error :(

VPlayApplication: now set contentScaleFactor valid for all items... 
VPlayApplication: contentScaleFactor was set valid for all items 
VPlayApplication: displayFpsEnabled in root element GameWindow is set to: true 
______________VPlayApplication: cocosWrapper initialized, load QML tree______________ 
initial contentX: 0 , contentY: 0 true QDeclarativeFlickable (this = 0x143c790 , parent = 0x143ea10 , geometry = QRectF(0,0 200x200) , z = 0 ) 
VPlayApplication: loadQmlfile() is finished 
The program has unexpectedly finished.
/home/eigel/libs/V-PlaySDK/Examples/V-PlaySDK/daily/build-GUIElementsTest-Desktop_V_Play-Debug/GUIElementsTest exited with code 0

Would be great if you could investigate.

Cheers, Martin

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