Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP on Ubuntu
#91
How do i compile ffmpeg?

I did it, but can i not get that A3+ plugin for sound?
Reply
#92
I though I had all the dependencies but I keep getting this:

/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavformat.a when searching for -lavformat
/usr/bin/ld: cannot find -lavformat
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavcodec.a when searching for -lavcodec
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavutil.a when searching for -lavutil
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libswresample.a when searching for -lswresample
/usr/bin/ld: cannot find -lswresample
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libswscale.a when searching for -lswscale
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavformat.a when searching for -lavformat
/usr/bin/ld: cannot find -lavformat
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavcodec.a when searching for -lavcodec
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libavutil.a when searching for -lavutil
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libswresample.a when searching for -lswresample
/usr/bin/ld: cannot find -lswresample
/usr/bin/ld: skipping incompatible /home/x/ppsspp/ffmpeg/linux/x86_64/lib/libswscale.a when searching for -lswscale
collect2: error: ld returned 1 exit status
make[2]: *** [PPSSPPSDL] Error 1
make[1]: *** [CMakeFiles/PPSSPPSDL.dir/all] Error 2
make: *** [all] Error 2

The Qt build is telling me that it can't find QFile:

make -f Makefile.Native
make[1]: Entering directory `/home/x/ppsspp/Qt'
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -fPIC -Wall -W -D_REENTRANT -DUSING_QT_UI -DUSE_FFMPEG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../ext/zlib -I../native/ext/glew -I../Common -I../ffmpeg/linux/x86_64/include -I../native/ext/rg_etc1 -I../native/ext/cityhash -I../native/ext/jpge -I../native/ext/vjson -I../native/ext/stb_image -I../native/ext/stb_vorbis -I../ext/snappy -I../native -I/usr/X11R6/include -I. -o zim_load.o ../native/image/zim_load.cpp
../native/image/zim_load.cpp:6:17: fatal error: QFile: No such file or directory
compilation terminated.
make[1]: *** [zim_load.o] Error 1
make[1]: Leaving directory `/home/x/ppsspp/Qt'
make: *** [sub-Native-pro-make_default-ordered] Error 2

And the following files are found on the Linux build tar/zip:

assets/
assets/ui_atlas.zim
assets/ppge_atlas.zim
Karen_angelXwind/
Karen_angelXwind/Version.txt

I guess it's missing some files...
Reply
#93
You are missing ffmpeg, try update:

git submodule update -i
Reply
#94
Submodule 'ffmpeg' () registered for path 'ffmpeg'

Seems like to be there.
Reply
#95
"skipping incompatible" might mean that version is outdated.

Delete all previous ppsspp source code folder. Try download fresh again from git.

git clone git://github.com/hrydgard/ppsspp.git && cd ppsspp
git submodule update -i
Reply
#96
Quote:"skipping incompatible" might mean that version is outdated.
But it seems there's only x86_64 compiled version of the libraries (which of course won't work on x86 host)
Reply
#97
Sadly I just gave up on trying to compile it and just ran it through Wine.

Best of wishes to everyone.
Reply
#98
Quote:Sadly I just gave up on trying to compile it and just ran it through Wine.
Want mine? I compile ffmpeg myself to get the x86 version of the required libraries. Just need a little adjustment in the cmake file.
Reply
#99
I have tried compiling ppsspp with Qt and I get this.

mainwindow.h: In constructor ‘MainWindow::MainWindow(QWidget*)’:
mainwindow.h:152:22: warning: ‘MainWindow::memoryTexWindow’ will be initialized after [-Wreorder]
mainwindow.h:145:9: warning: ‘QTimer MainWindow::timer’ [-Wreorder]
mainwindow.cpp:26:1: warning: when initialized here [-Wreorder]
mainwindow.h:153:24: warning: ‘MainWindow::displaylistWindow’ will be initialized after [-Wreorder]
mainwindow.h:148:16: warning: ‘GlobalUIState MainWindow::lastUIState’ [-Wreorder]
mainwindow.cpp:26:1: warning: when initialized here [-Wreorder]
mainwindow.cpp:50:22: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp: In member function ‘void MainWindow::UpdateMenus()’:
mainwindow.cpp:134:46: error: ‘struct Config’ has no member named ‘bAntiAliasing’
mainwindow.cpp:136:56: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp:137:56: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp:138:56: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp:139:56: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp: In member function ‘void MainWindow::on_action_Simple_2xAA_triggered()’:
mainwindow.cpp:488:11: error: ‘struct Config’ has no member named ‘bAntiAliasing’
mainwindow.cpp:488:37: error: ‘struct Config’ has no member named ‘bAntiAliasing’
mainwindow.cpp: In member function ‘void MainWindow::on_action_OptionsFullScreen_triggered()’:
mainwindow.cpp:555:20: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp:578:16: error: ‘struct Config’ has no member named ‘bAntiAliasing’
mainwindow.cpp: In member function ‘void MainWindow::SetZoom(float)’:
mainwindow.cpp:703:12: error: ‘struct Config’ has no member named ‘iWindowZoom’
mainwindow.cpp:725:15: error: ‘struct Config’ has no member named ‘bAntiAliasing’
make[1]: *** [mainwindow.o] Error 1
make[1]: Leaving directory `/home/woody/ppsspp/Qt'
make: *** [sub-PPSSPP-pro-make_default-ordered] Error 2
Reply
https://github.com/hrydgard/ppsspp/issues/3737

-[Unknown]
Reply
(09-17-2013, 01:38 AM)[Unknown] Wrote: https://github.com/hrydgard/ppsspp/issues/3737

-[Unknown]

Thanks for the reply, guess I will have to wait at least sdl works.
Reply
Muy bueno
Reply
Hey guys. I tried building the ppsspp on my ubuntu 13.04. Gone past the libgl and thingys, but my build fails at:
Code:
[ 94%] Built target Core make[2]: *** No rule to make target `/usr/lib/i386-linux-gnu/libGLU.so', needed by `PPSSPPSDL'. Stop. make[1]: *** [CMakeFiles/PPSSPPSDL.dir/all] Error 2 make: *** [all] Error 2

However I am sure I have opengl on, I played a lot of steam games. Also "locate libglu.so" turns out:
Code:
/home/prosty/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/nvidia-cg-toolkit/examples/Tools/trace/libGL.so.1.gz /home/prosty/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/nvidia-cg-toolkit/examples/Tools/trace/libGL.so.1.gz /home/prosty/Documents/Intel922/libs/x86/libGL.so /home/prosty/Documents/Intel922/libs/x86/libGL.so.1 /home/prosty/Documents/Intel922/libs/x86_64/libGL.so /home/prosty/Documents/Intel922/libs/x86_64/libGL.so.1 /usr/lib/libGL.so /usr/lib/i386-linux-gnu/mesa/libGL.so

What am I supposed to do now?
Reply


Forum Jump: