Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling pcsx2 in Linux Mint 17
#1
How do you compile pcsx2 in Linux mint 17 64 bit? I have looked at the guides but they are old and I think there needs to be an updated guide.
I use the ppa but it hasn't been updated since July and I would like to be able to compile on my own or does anyone have a script?
Can anyone help with with a step by step way to compile pcsx2?

P.S It's funny I figured out how to compile ppsspp just fine and a lot of people have trouble with that but I can't figure out how to compile pcsx2.
Reply

Sponsored links

#2
Best way is to make a Virtualbox of Mint 32 bit and compile inside there. Then transfer the finished product back to your 64 bit build. This will decrease some of the active dependencies required to run the game (far less needed than to compile).

If all else fails, Mint uses a PAE kernel so 32 bit should work just fine. Makes compiling a lot easier, since Ubuntu/Mint multiarch sometimes wants to uninstall half your system to add one lib. Sad
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#3
Ok I have Virtualbox running and I have cloned pcsx2. should I use ./build.sh --release? Or how would I build it so I can compress it to transfer it over to my main Linux?

I got it to compile and put it on my 64 bit linux but my plugin won't load.

PCSX2 1.3.0-20141028103610 - compiled on Nov 1 2014
Savestate version: 0x9a0a0000

Host Machine Init:
Operating System = Linux 3.17.0-031700-generic x86_64
Physical RAM = 7883 MB
CPU name = AMD FX™-8320 Eight-Core Processor
Vendor/Model = AuthenticAMD (stepping 00)
CPU speed = 4.210 ghz (8 logical threads)
x86PType = Standard OEM
x86Flags = 178bfbff 3e98320b
x86EFlags = 2fd3fbff

x86 Features Detected:
SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. FMA
MMX2 .. SSE4a

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
Binding GS: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libGSdx-0.1.16.so
Binding PAD: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libonepad-1.1.0.so
Binding SPU2: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libspu2x-2.0.0.so
Binding CDVD: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libCDVDnull.so
Binding USB: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libUSBnull-0.7.0.so
Binding FW: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libFWnull-0.7.0.so
Binding DEV9: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9653 games on record (loaded in 205ms)
HLE Notice: ELF does not have a path.


Initializing plugins...
Init GS
Init PAD
Init SPU2
Init CDVD
Init USB
Init FW
Init DEV9
Plugins initialized successfully.

Opening plugins...
Opening GS
Closing plugins...
Closing GS
Plugins closed successfully.
Shutting down plugins...
(pxActionEvent) GS plugin failed to open!(thread:MTGS)(thread:EE Core)
Plugins shutdown successfully.
User-canceled plugin configuration after plugin initialization failure. Plugins unloaded.
Reply
#4
I would do it the long way with cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=Release , then make, then make install. Therefore you get an easier view of missing dependencies. To transfer over to main 64 bit Linux, just use a shared folder set up in Virtualbox.
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#5
I keep getting this error when I run pcsx2 with gsdx plugin, (pxActionEvent) GS plugin failed to open!(thread:MTGS)(thread:EE Core)
Reply
#6
Need the ldd to path/to/libGSdx-0.1.16.so
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#7
ok what is ldd? zz ogl works fine and it shows all plugins load successfully.

Loading plugins...
Binding GS: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libGSdx-0.1.16.so
Binding PAD: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libonepad-1.1.0.so
Binding SPU2: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libspu2x-2.0.0.so
Binding CDVD: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libCDVDnull.so
Binding USB: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libUSBnull-0.7.0.so
Binding FW: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libFWnull-0.7.0.so
Binding DEV9: /home/woody/Downloads/PCSX2 1.3.0-20141028103610/plugins/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9653 games on record (loaded in 196ms)
HLE Notice: ELF does not have a path.


Initializing plugins...
Init GS
Init PAD
Init SPU2
Init CDVD
Init USB
Init FW
Init DEV9
Plugins initialized successfully.

Opening plugins...
Opening GS
Closing plugins...
Closing GS
Plugins closed successfully.
Shutting down plugins...
(pxActionEvent) GS plugin failed to open!(thread:MTGS)(thread:EE Core)
Plugins shutdown successfully.
User-canceled plugin configuration after plugin initialization failure. Plugins unloaded.
Nevermind, I changed my video drivers nvidia 340 and it works now.
Reply
#8
Glad it's working for you now. For future reference, ldd (LDD, must use lowercase) is a terminal command that shows dependencies met and unmet for a particular app.
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#9
SOLVED: as always Nvidia driver fail AngryAngryAngryAngryAngry

Reinstall and working SmileSmileSmileSmileSmileSmile

------------------------------------------------


I have the same proble:

Ubuntu 32 bits virtualbox

Donwload and compiled the las version without problems.

Errors log:

Code:
Opening plugins...
    Opening GS
Closing plugins...
    Closing GS
Plugins closed successfully.
Shutting down plugins...
(pxActionEvent) GS plugin failed to open!(thread:MTGS)(thread:EE Core)
Plugins shutdown successfully.
User-canceled plugin configuration after plugin initialization failure.  Plugins unloaded.

Results of ldd libGSdx

Code:
    linux-gate.so.1 =>  (0xb77b8000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6f8d000)
    libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xb6f2d000)
    libEGL.so.1 => /usr/lib/i386-linux-gnu/mesa-egl/libEGL.so.1 (0xb6f06000)
    libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xb6a97000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xb6a74000)
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6a22000)
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb6916000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb690c000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb68c6000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb67dd000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb67c0000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb67a4000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb65f4000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb65d2000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb65cd000)
    libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xb65b5000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb65a2000)
    libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb659d000)
    libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb6597000)
    libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xb6594000)
    libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xb657c000)
    libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xb6576000)
    libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xb6571000)
    libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xb656d000)
    libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xb6566000)
    libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xb6563000)
    libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb655d000)
    libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xb654f000)
    libxcb-xfixes.so.0 => /usr/lib/i386-linux-gnu/libxcb-xfixes.so.0 (0xb6547000)
    libwayland-client.so.0 => /usr/lib/i386-linux-gnu/libwayland-client.so.0 (0xb653b000)
    libwayland-server.so.0 => /usr/lib/i386-linux-gnu/libwayland-server.so.0 (0xb652c000)
    libgbm.so.1 => /usr/lib/i386-linux-gnu/libgbm.so.1 (0xb6524000)
    libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xb6474000)
    libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb646f000)
    libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xb6462000)
    libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb6441000)
    libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xb631e000)
    libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb619c000)
    libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xb6186000)
    libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xb6139000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb60fe000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb60f7000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb60b8000)
    /lib/ld-linux.so.2 (0xb77b9000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb60b4000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb60ad000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb60a2000)
    libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb609d000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb608c000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb6081000)
    libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb6076000)
    libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xb6072000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb5fd1000)
    libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xb5f27000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb5eff000)
    libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb5efb000)
    libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xb5ef1000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb5ed6000)
    libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb5eb3000)
    libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb5e9b000)
    libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xb5e45000)
    libthai.so.0 => /usr/lib/i386-linux-gnu/libthai.so.0 (0xb5e3b000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb5e11000)
    libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xb5df5000)
    libdatrie.so.1 => /usr/lib/i386-linux-gnu/libdatrie.so.1 (0xb5dec000)
Reply
#10
What is your expected driver? Mesa or Nvidia/Amd? GSdx is trying to use mesa.
Reply




Users browsing this thread: 1 Guest(s)