..:: PCSX2 Forums ::..

Full Version: Linux - Compile Guide and Support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Quote:pcsx2$ ldd pcsx2
linux-gate.so.1 => (0xf76f0000)
this only which one pcsx2 can't find,
i acctually can't find em to....


Quote:find /usr/lib32 -iname "libwx*"
/usr/lib32/libwx_gtk2u_aui-2.8.so.0.6.0
/usr/lib32/libwx_gtk2u_aui-2.8.so.0
/usr/lib32/libwx_gtk2u_core-2.8.so.0.6.0
/usr/lib32/libwx_gtk2u_xr.............
.........FULL_LIST_OF_WX..........
.........................................e-2.8.so.0
/usr/lib32/libwx_gtk2u_media-2.8.so.0
/usr/lib32/libwx_gtk2u_ogl-2.8.so.0.6.0
/usr/lib32/libwx_gtk2u_gizmos_xrc-2.8.so.0
/usr/lib32/libwx_gtk2u_adv-2.8.so
/usr/lib32/libwx_gtk2u_xrc-2.8.so.0.6.0

with wx libs everything fine, but
Quote:/usr/lib/gio/modules/libgvfsdbus.so: неправильный класс ELF: ELFCLASS64
/usr/lib/gio/modules/libgioremote-volume-monitor.so: неправильный класс ELF: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgvfsdbus.so: неправильный класс ELF: ELFCLASS64
/usr/lib/gio/modules/libgioremote-volume-monitor.so: неправильный класс ELF: ELFCLASS64

this ia32-libs, and it also have lib32 and lib64 files, but pcsx look only ib /usr/lib64 (actualy /usr/lib ) I affraid to change such important libraries with 32 bit version here, but with some another libraries it's work fine!

but everything this strange, a already launch a lot of 32-bit applications her, and even install it (for EXAMPLE I forced up installing of adobe flashplayer When there was no other version except 32 bit), and change some libraries from 64 to 32 bits versions. Forcing to install some packages with important files for me from 32bit version also works fine.

Sorry if annoy someone but this interesting thing ^_^

also be interesting:
Quote:axyz@Vienna-ii:~/pcsx2$ file -b /usr/lib/gio/modules/libgioremote-volume-monitor.so
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
axyz@Vienna-ii:~/pcsx2$ file -b /usr/lib32/gio/modules/libgioremote-volume-monitor.so
ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped

it's mean that with platform everything okay
That strange, libwx 32 bits is not a standard of the distributions. How did you install them ?

The error you see is normal, and it not important. I have the same and it is running fine. The reason is some library have some hardcoded path to /usr/lib (which is 64bits in amd64...).

Note: PCSX2 uses different library than others software. Others software does not emulate a ps2 Wink

If you understand the compilation process is will be possible to build a x86 binary on amd64.

You must use cmake to build PCSX2 on amd64.
1/ It will print a fatal error, just edit the file CMakeLists.txt and delete it Wink
2/ Check that you have /usr/lib32/wx/include otherwise it will include some 64bits wx parameters.
3/ If you see at link stage: can not found -lfoo
a/ Check that you have the library /usr/lib32/libfoo.so.n.n (only the first part is important)
b/ Just create a symlink /usr/lib32/libfoo.so to /usr/lib32/libfoo.so.n.n

Note: you can look at https://launchpad.net/~gregory-hainaut/+...ficial.ppa to find a ia32bits package compliant for nvidia toolkit.
Actually, what stands out to me is that the libraries listed look like wxwidget 2.8.6. Pcsx2 requires wxwidgets 2.8.8 or higher.

That's one reason why I generally went with the official wxwidgets sites install instructions before the ppa was around.

The ones from their repository are more up to date then the repository on some versions of Ubuntu...
r3644 broke compilation again:


Quote:[ 62%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/vtlb.cpp.o
[ 62%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/VU0.cpp.o
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp: In function ‘void vtlb_ReassignHandler(vtlbHandler, mem8_t (*)(u32), mem16_t (*)(u32), mem32_t (*)(u32), void (*)(u32, mem64_t*), void (*)(u32, mem128_t*), void (*)(u32, mem8_t), void (*)(u32, mem16_t), void (*)(u32, mem32_t), void (*)(u32, const mem64_t*), void (*)(u32, const mem128_t*))’:
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:307: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:308: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:309: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:310: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:311: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:313: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:314: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:315: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:316: error: insufficient contextual information to determine type
/home/wingnux/pcsx2-read-only/pcsx2/vtlb.cpp:317: error: insufficient contextual information to determine type
make[2]: *** [pcsx2/CMakeFiles/pcsx2.dir/vtlb.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pcsx2/CMakeFiles/pcsx2.dir/all] Error 2
make: *** [all] Error 2
I was never able read PS2 discs from PCSX2 on linux due to a missing plugin and thanks to this thread http://forums.pcsx2.net/Thread-PS2-DVD-on-Linux I now can, I think the cmake building process should be fixed to include CDVDlinuz (EFP polling CDVD driver) plugin.

Thank in advance!
Hi there, trying to compile r3757.
Code:
[ 86%] Built target SPU2null
[ 86%] Building CXX object plugins/spu2-x/src/CMakeFiles/spu2x.dir/SndOut_Portaudio.cpp.o
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:32: error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with no type
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:32: error: expected ‘,’ or ‘...’ before ‘*’ token
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:74: error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with no type
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:74: error: expected ‘,’ or ‘...’ before ‘*’ token
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In member function ‘virtual s32 Portaudio::Init()’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:113: error: ‘Pa_GetDeviceCount’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:117: error: expected initializer before ‘*’ token
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:119: error: ‘apiinfo’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:146: error: ‘Pa_GetHostApiCount’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:148: error: expected initializer before ‘*’ token
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:149: error: ‘apiinfo’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:175: error: ‘PaStreamParameters’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:175: error: expected ‘;’ before ‘outParams’
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:190: error: ‘outParams’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:158: warning: unused variable ‘infoPtr’
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:210: error: invalid conversion from ‘int (*)(const void*, void*, long unsigned int, int)’ to ‘long unsigned int’
/usr/include/portaudio.h:355: error: too few arguments to function ‘PaError Pa_OpenDefaultStream(PortAudioStream**, int, int, PaSampleFormat, double, long unsigned int, long unsigned int, int (*)(void*, void*, long unsigned int, PaTimestamp, void*), void*)’
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:210: error: at this point in file
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In member function ‘virtual void Portaudio::Close()’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:239: error: ‘Pa_IsStreamActive’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In member function ‘virtual int Portaudio::GetEmptySampleCount()’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:274: error: ‘Pa_GetStreamWriteAvailable’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In member function ‘virtual void Portaudio::ReadSettings()’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:302: error: ‘paInDevelopment’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:303: error: ‘paDirectSound’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:304: error: ‘paMME’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:305: error: ‘paASIO’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:306: error: ‘paSoundManager’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:307: error: ‘paCoreAudio’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:308: error: ‘paOSS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:309: error: ‘paALSA’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:310: error: ‘paAL’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:311: error: ‘paBeOS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:312: error: ‘paWDMKS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:313: error: ‘paJACK’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:314: error: ‘paWASAPI’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:315: error: ‘paAudioScienceHPI’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In member function ‘virtual void Portaudio::WriteSettings() const’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:325: error: ‘paInDevelopment’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:326: error: ‘paDirectSound’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:327: error: ‘paMME’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:328: error: ‘paASIO’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:329: error: ‘paSoundManager’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:330: error: ‘paCoreAudio’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:331: error: ‘paOSS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:332: error: ‘paALSA’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:333: error: ‘paAL’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:334: error: ‘paBeOS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:335: error: ‘paWDMKS’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:336: error: ‘paJACK’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:337: error: ‘paWASAPI’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:338: error: ‘paAudioScienceHPI’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: At global scope:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:353: error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with no type
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:353: error: expected ‘,’ or ‘...’ before ‘*’ token
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp: In function ‘int PaLinuxCallback(const void*, void*, long unsigned int, int)’:
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:357: error: ‘timeInfo’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:357: error: ‘statusFlags’ was not declared in this scope
/home/ceres/Source/pcsx2/plugins/spu2-x/src/SndOut_Portaudio.cpp:357: error: ‘userData’ was not declared in this scope
make[2]: *** [plugins/spu2-x/src/CMakeFiles/spu2x.dir/SndOut_Portaudio.cpp.o] Error 1
make[1]: *** [plugins/spu2-x/src/CMakeFiles/spu2x.dir/all] Error 2
make: *** [all] Error 2

I've tried the pre-compiled public-beta binaries provided first, but there appears to be an issue with plugins.
Code:
[wx] libjpeg.so.7: cannot open shared object file: No such file or directory
An unhandled runtime error has occurred, somewhere in the depths of Pcsx2's cluttered brain-matter.
General file operation error.
File is not a valid dynamic library.
Stream exception: File is not a valid dynamic library.
    File/Object: /home/ceres/Emulation/PS2/pcsx2/plugins/libZeroGSoglr.so.0.96.2
Some kinda plugin failure: /home/ceres/Emulation/PS2/pcsx2/plugins/libZeroGSoglr.so.0.96.2
[wx] /home/ceres/Emulation/PS2/pcsx2/plugins/libCDVDlinuz.so: cannot dynamically load executable
An unhandled runtime error has occurred, somewhere in the depths of Pcsx2's cluttered brain-matter.
General file operation error.
File is not a valid dynamic library.
Stream exception: File is not a valid dynamic library.
    File/Object: /home/ceres/Emulation/PS2/pcsx2/plugins/libCDVDlinuz.so
Some kinda plugin failure: /home/ceres/Emulation/PS2/pcsx2/plugins/libCDVDlinuz.so
[wx] libjpeg.so.7: cannot open shared object file: No such file or directory
An unhandled runtime error has occurred, somewhere in the depths of Pcsx2's cluttered brain-matter.
General file operation error.
File is not a valid dynamic library.
Stream exception: File is not a valid dynamic library.
    File/Object: /home/ceres/Emulation/PS2/pcsx2/plugins/libzzoglpgr.so.0.1.0
Some kinda plugin failure: /home/ceres/Emulation/PS2/pcsx2/plugins/libzzoglpgr.so.0.1.0

Running Debian Squeeze i386, I have installed all the dependencies (I think, not 100% on version numbers.)
Issue with the compilation:
Sound plugins need libsoundtouch 1.5 but unfortunately debian have only 1.3. I made a patch for debian to disable 1.5 specifics bits. You can find it in debian-unstable-upstream/patches/21_use_legacy_soundtouch_13.patch (Use -p1) Note sound quality is better with 1.5 but it is better than nothings.

The pre-compiled version:
You need to install libjpeg8

I've just built the latest rev (3982) and, to my surprise, the menu is gone!

It's not a window manager issue because all my other windows are working fine.
Theme issue or wx version (2.8.11 ?)
Nope, tried it with the default ubuntu theme (and some others) with same effect and I have wx 2.8.11 installed.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35