07-25-2012, 03:15 PM
(This post was last modified: 07-26-2012, 12:23 PM by Dragonlord.)
Tried to get JPCSP running on my Linux box but without luck. The distribution is broken and needs fixing. The build is jpcsp-2643-linux-amd64.7z .
If you try to run it you get this error:
The error happens because liblwjgl.so does not exist in lib/linux-amd64 . What does exist though is liblwjgl64.so . A symlink fixes the problem:
The correct fix is to strip 64 from the library name as the emulator seems to expect it without 64 suffix.
This is unfortunately not enough.
This is a bug in lwjgl looking in the wrong place for the libs. A temporary fix is adding this before the java line in start-linux-amd64.sh :
Replace the path with the one of your java vm. This is only a temporary hack. The real fix is to use the non-broken lwjgl jar that fixed this problem.
Once these fixes are in place the emulator starts.
EDIT: Sound problem vanished. A dead process kept the device open.
EDIT: In the control window the combo box at the top is empty or shows two times the GamePad whereas the first entry seems to be the keyboard. If the list is empty saving causes a NullPointer exception.
If you try to run it you get this error:
Code:
Exception in thread "GUI" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
(... snip ... )
Code:
ln -sf liblwjgl64.so liblwjgl.so
This is unfortunately not enough.
Code:
Exception in thread "GUI" java.lang.UnsatisfiedLinkError: /opt/games/emulation/jpcsp/lib/linux-amd64/liblwjgl64.so: libjawt.so: cannot open shared object file: No
such file or directory
(... snip ... )
Code:
export LD_LIBRARY_PATH=/usr/lib/icedtea7/jre/lib/amd64:${LD_LIBRARY_PATH}
Once these fixes are in place the emulator starts.
EDIT: Sound problem vanished. A dead process kept the device open.
EDIT: In the control window the combo box at the top is empty or shows two times the GamePad whereas the first entry seems to be the keyboard. If the list is empty saving causes a NullPointer exception.