The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Qt build for Linux
08-23-2013, 03:34 PM
Post: #1
Qt build for Linux
I think half a year ago I tried to build Qt version of ppsspp but I didn't manage so I decided to leave this idea till better times. Because current version of ppsspp is fairly good now (ffmpeg video, atrac3plus - though both of them I have to compile separately), I decided to give it one more try to build Qt version. I installed Qt (4.8.5 with QtCreator 2.8.0) but just like before, there are some issues.
Right now, there is an issue with ffmpeg:

Code:
g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.5/lib -o PPSSPPQt QtMain.o ControlMappingScreen.o EmuScreen.o GameScreen.o GameSettingsScreen.o MainScreen.o PluginScreen.o MiscScreens.o GamepadEmu.o GameInfoCache.o OnScreenDisplay.o UIShader.o TestRunner.o controls.o ctrldisasmview.o ctrlmemview.o ctrlregisterlist.o ctrlvfpuview.o debugger_disasm.o debugger_displaylist.o debugger_memory.o debugger_memorytex.o debugger_vfpu.o EmuThread.o mainwindow.o qkeyedit.o qtemugl.o QtHost.o ui_atlas.o moc_QtMain.o moc_controls.o moc_ctrldisasmview.o moc_ctrlmemview.o moc_ctrlregisterlist.o moc_ctrlvfpuview.o moc_debugger_disasm.o moc_debugger_displaylist.o moc_debugger_memory.o moc_debugger_memorytex.o moc_debugger_vfpu.o moc_mainwindow.o moc_qkeyedit.o moc_qtemugl.o moc_QtHost.o qrc_resources.o qrc_assets.o    -L/usr/local/Trolltech/Qt-4.8.5/lib -L/usr/X11R6/lib -L. -lCore -lCommon -lNative -ldl -lz ../ffmpeg/linux/x86_64/lib/libavformat.a ../ffmpeg/linux/x86_64/lib/libavcodec.a ../ffmpeg/linux/x86_64/lib/libavutil.a ../ffmpeg/linux/x86_64/lib/libswresample.a ../ffmpeg/linux/x86_64/lib/libswscale.a -lSDL -lQtMultimedia -L/usr/local/Trolltech/Qt-4.8.5/lib -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread

/usr/bin/ld: ../ffmpeg/linux/x86_64/lib/libavformat.a(id3v2.o): undefined reference to symbol 'uncompress'

/usr/bin/ld: note: 'uncompress' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libz.so so try adding it to the linker command line

/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libz.so: could not read symbols: Invalid operation

collect2: ld returned 1 exit status

make[1]: Leaving directory

If it matters, SDL version compiles fine and works as planned, and I use Linux Mint 13 (32-bit). But Qt building is still tough to deal with as before.
Can anyone give some advice about it?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Qt build for Linux - necrotek - 08-23-2013 03:34 PM
RE: Qt build for Linux - xsacha - 08-23-2013, 10:13 PM
RE: Qt build for Linux - necrotek - 08-23-2013, 10:55 PM
RE: Qt build for Linux - necrotek - 08-24-2013, 06:25 AM
RE: Qt build for Linux - veeableful - 08-24-2013, 02:12 PM
RE: Qt build for Linux - necrotek - 08-24-2013, 03:52 PM
RE: Qt build for Linux - TheDax - 08-24-2013, 06:12 PM
RE: Qt build for Linux - necrotek - 08-24-2013, 06:43 PM
RE: Qt build for Linux - TheDax - 08-24-2013, 06:58 PM
RE: Qt build for Linux - necrotek - 08-24-2013, 07:02 PM
RE: Qt build for Linux - TheDax - 08-24-2013, 07:09 PM

Forum Jump: