forums.PPSSPP.org
Help with compiling git source on Linux - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Builds, releases and ports (/forumdisplay.php?fid=4)
+--- Thread: Help with compiling git source on Linux (/showthread.php?tid=21901)



Help with compiling git source on Linux - ciaccom - 11-06-2016 05:37 AM

Hi, i'm trying to get one of the latest git master branch source running, because of the new "SDL controller DB" included last month. I have problems with my xbox 360 controller, that's the reason - it's not working at all with ppsspp (as discribed in genereal discussion forum).

I'm getting following error, if i compile ppsspp on an ubuntu 14.04/trusty system:

Code:
.
.
Linking CXX executable PPSSPPSDL
/usr/bin/ld: cannot find -lswresample
collect2: error: ld returned 1 exit status
make[2]: *** [PPSSPPSDL] Fehler 1
make[1]: *** [CMakeFiles/PPSSPPSDL.dir/all] Fehler 2
make: *** [all] Fehler 2

I did following command to get the prerequesites (ext .. Libs) after git cloning the source before.

Code:
git submodule update --init

the swresample libs should be there under the ppsspp source tree:

Code:
/usr/local/src/ppsspp/ffmpeg/linux/x86/include/libswresample
/usr/local/src/ppsspp/ffmpeg/linux/x86/include/libswresample/swresample.h
/usr/local/src/ppsspp/ffmpeg/linux/x86/include/libswresample/version.h
/usr/local/src/ppsspp/ffmpeg/linux/x86/lib/libswresample.a
/usr/local/src/ppsspp/ffmpeg/linux/x86_64/include/libswresample
/usr/local/src/ppsspp/ffmpeg/linux/x86_64/include/libswresample/swresample.h
/usr/local/src/ppsspp/ffmpeg/linux/x86_64/include/libswresample/version.h
/usr/local/src/ppsspp/ffmpeg/linux/x86_64/lib/libswresample.a

before compiling i followed these instructions (README.txt): github.com/hrydgard/ppsspp/tree/master/SDL

Any help?

Thanks!


RE: Help with compiling git source on Linux - ciaccom - 11-07-2016 08:15 AM

i just saw following thread, which seems to handle the same problem: http://forums.ppsspp.org/showthread.php?tid=6576