..:: PCSX2 Forums ::..

Full Version: PCSX2 for Debian/Ubuntu
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 36
hello , I am trying to set up the emulator in the unstable version of Debian sid , just not appear
the sound plugin .
I accidentally broke Debian's sound stack in unstable. It's unstable after all.

I you want to fix it downgrade to the libsoundtouch0:i386 and/or ibsoundtouch0:amd64 from stretch. You can rebuild PCSX2 and it will work again but it's easier to just get the library from stretch.
HI

This is what I get when I do make inside the pcsx2 folder. Any idea what's up? (debian testing 64 bit)

Thanks

make
Scanning dependencies of target translations_pcsx2_Iconized
[ 1%] Generating ../nb_NO__pcsx2_Iconized.gmo
[ 2%] Generating ../ru_RU__pcsx2_Iconized.gmo
[ 3%] Generating ../ja_JP__pcsx2_Iconized.gmo
[ 3%] Generating ../ca_ES__pcsx2_Iconized.gmo
[ 4%] Generating ../it_IT__pcsx2_Iconized.gmo
[ 5%] Generating ../zh_CN__pcsx2_Iconized.gmo
[ 6%] Generating ../ar_SA__pcsx2_Iconized.gmo
[ 7%] Generating ../zh_TW__pcsx2_Iconized.gmo
[ 8%] Generating ../cs_CZ__pcsx2_Iconized.gmo
[ 9%] Generating ../th_TH__pcsx2_Iconized.gmo
[ 10%] Generating ../sv_SE__pcsx2_Iconized.gmo
[ 10%] Generating ../id_ID__pcsx2_Iconized.gmo
[ 11%] Generating ../hu_HU__pcsx2_Iconized.gmo
[ 12%] Generating ../fr_FR__pcsx2_Iconized.gmo
[ 13%] Generating ../ms_MY__pcsx2_Iconized.gmo
[ 14%] Generating ../ko_KR__pcsx2_Iconized.gmo
[ 15%] Generating ../de_DE__pcsx2_Iconized.gmo
[ 16%] Generating ../pt_BR__pcsx2_Iconized.gmo
[ 16%] Generating ../es_ES__pcsx2_Iconized.gmo
[ 17%] Generating ../fi_FI__pcsx2_Iconized.gmo
[ 18%] Generating ../tr_TR__pcsx2_Iconized.gmo
[ 19%] Generating ../hr_HR__pcsx2_Iconized.gmo
[ 20%] Generating ../pl_PL__pcsx2_Iconized.gmo
[ 20%] Built target translations_pcsx2_Iconized
Scanning dependencies of target translations_pcsx2_Main
[ 21%] Generating ../nb_NO__pcsx2_Main.gmo
[ 22%] Generating ../ru_RU__pcsx2_Main.gmo
[ 23%] Generating ../ja_JP__pcsx2_Main.gmo
[ 23%] Generating ../ca_ES__pcsx2_Main.gmo
[ 24%] Generating ../it_IT__pcsx2_Main.gmo
[ 25%] Generating ../zh_CN__pcsx2_Main.gmo
[ 26%] Generating ../ar_SA__pcsx2_Main.gmo
[ 27%] Generating ../zh_TW__pcsx2_Main.gmo
[ 28%] Generating ../cs_CZ__pcsx2_Main.gmo
[ 29%] Generating ../th_TH__pcsx2_Main.gmo
[ 30%] Generating ../sv_SE__pcsx2_Main.gmo
[ 30%] Generating ../id_ID__pcsx2_Main.gmo
[ 31%] Generating ../hu_HU__pcsx2_Main.gmo
[ 32%] Generating ../fr_FR__pcsx2_Main.gmo
[ 33%] Generating ../ms_MY__pcsx2_Main.gmo
[ 34%] Generating ../ko_KR__pcsx2_Main.gmo
[ 35%] Generating ../de_DE__pcsx2_Main.gmo
[ 36%] Generating ../pt_BR__pcsx2_Main.gmo
[ 36%] Generating ../es_ES__pcsx2_Main.gmo
[ 37%] Generating ../fi_FI__pcsx2_Main.gmo
[ 38%] Generating ../tr_TR__pcsx2_Main.gmo
[ 39%] Generating ../hr_HR__pcsx2_Main.gmo
[ 40%] Generating ../pl_PL__pcsx2_Main.gmo
[ 40%] Built target translations_pcsx2_Main
Scanning dependencies of target Utilities
[ 40%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/AlignedMalloc.cpp.o
[ 41%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/CheckedStaticBox.cpp.o
[ 42%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/Console.cpp.o
[ 43%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/EventSource.cpp.o
[ 44%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/Exceptions.cpp.o
[ 45%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/FastFormatString.cpp.o
[ 46%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/HashTools.cpp.o
[ 46%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o
In file included from /home/akira/pcsx2/common/include/Utilities/Path.h:18:0,
from /home/akira/pcsx2/common/include/Utilities/IniInterface.h:18,
from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:17:
/usr/include/wx-3.0/wx/filename.h: In static member function ‘static wxUniChar wxFileName::GetPathSeparator(wxPathFormat)’:
/usr/include/wx-3.0/wx/filename.h:473:43: error: ambiguous overload for ‘operator[]’ (operand types are ‘wxString’ and ‘unsigned int’)
{ return GetPathSeparators(format)[0u]; }
^
/usr/include/wx-3.0/wx/filename.h:473:43: note: candidates are:
/usr/include/wx-3.0/wx/filename.h:473:43: note: operator[](const char*, long int) <built-in>
/usr/include/wx-3.0/wx/filename.h:473:43: note: operator[](const wchar_t*, long int) <built-in>
In file included from /home/akira/pcsx2/common/include/Utilities/Dependencies.h:182:0,
from /home/akira/pcsx2/common/src/Utilities/PrecompiledHeader.h:21,
from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:16:
/usr/include/wx-3.0/wx/string.h:1544:15: note: wxUniChar wxString::operator[](int) const
wxUniChar operator[](int n) const
^
/usr/include/wx-3.0/wx/string.h:1546:15: note: wxUniChar wxString::operator[](long int) const
wxUniChar operator[](long n) const
^
/usr/include/wx-3.0/wx/string.h:1548:15: note: wxUniChar wxString::operator[](size_t) const
wxUniChar operator[](size_t n) const
^
/usr/include/wx-3.0/wx/string.h:1556:18: note: wxUniCharRef wxString::operator[](int)
wxUniCharRef operator[](int n)
^
/usr/include/wx-3.0/wx/string.h:1558:18: note: wxUniCharRef wxString::operator[](long int)
wxUniCharRef operator[](long n)
^
/usr/include/wx-3.0/wx/string.h:1560:18: note: wxUniCharRef wxString::operator[](size_t)
wxUniCharRef operator[](size_t n)
^
In file included from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:25:0:
/home/akira/pcsx2/common/include/Utilities/FixedPointTypes.inl: In instantiation of ‘wxString FixedInt<Precision>::ToString() const [with int Precision = 100]’:
/home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:26:17: required from here
/home/akira/pcsx2/common/include/Utilities/FixedPointTypes.inl:160:66: warning: assuming signed overflow does not occur when simplifying division [-Wstrict-overflow]
return wxsFormat( L"%d.%02d", GetWhole(), (GetFraction() * 100) / Precision );
^
common/src/Utilities/CMakeFiles/Utilities.dir/build.make:215: recipe for target 'common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o' failed
make[2]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o] Error 1
CMakeFiles/Makefile2:164: recipe for target 'common/src/Utilities/CMakeFiles/Utilities.dir/all' failed
make[1]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
akira@debfleb:~/pcsx2$ sudo make
[ 20%] Built target translations_pcsx2_Iconized
[ 40%] Built target translations_pcsx2_Main
[ 40%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o
In file included from /home/akira/pcsx2/common/include/Utilities/Path.h:18:0,
from /home/akira/pcsx2/common/include/Utilities/IniInterface.h:18,
from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:17:
/usr/include/wx-3.0/wx/filename.h: In static member function ‘static wxUniChar wxFileName::GetPathSeparator(wxPathFormat)’:
/usr/include/wx-3.0/wx/filename.h:473:43: error: ambiguous overload for ‘operator[]’ (operand types are ‘wxString’ and ‘unsigned int’)
{ return GetPathSeparators(format)[0u]; }
^
/usr/include/wx-3.0/wx/filename.h:473:43: note: candidates are:
/usr/include/wx-3.0/wx/filename.h:473:43: note: operator[](const char*, long int) <built-in>
/usr/include/wx-3.0/wx/filename.h:473:43: note: operator[](const wchar_t*, long int) <built-in>
In file included from /home/akira/pcsx2/common/include/Utilities/Dependencies.h:182:0,
from /home/akira/pcsx2/common/src/Utilities/PrecompiledHeader.h:21,
from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:16:
/usr/include/wx-3.0/wx/string.h:1544:15: note: wxUniChar wxString::operator[](int) const
wxUniChar operator[](int n) const
^
/usr/include/wx-3.0/wx/string.h:1546:15: note: wxUniChar wxString::operator[](long int) const
wxUniChar operator[](long n) const
^
/usr/include/wx-3.0/wx/string.h:1548:15: note: wxUniChar wxString::operator[](size_t) const
wxUniChar operator[](size_t n) const
^
/usr/include/wx-3.0/wx/string.h:1556:18: note: wxUniCharRef wxString::operator[](int)
wxUniCharRef operator[](int n)
^
/usr/include/wx-3.0/wx/string.h:1558:18: note: wxUniCharRef wxString::operator[](long int)
wxUniCharRef operator[](long n)
^
/usr/include/wx-3.0/wx/string.h:1560:18: note: wxUniCharRef wxString::operator[](size_t)
wxUniCharRef operator[](size_t n)
^
In file included from /home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:25:0:
/home/akira/pcsx2/common/include/Utilities/FixedPointTypes.inl: In instantiation of ‘wxString FixedInt<Precision>::ToString() const [with int Precision = 100]’:
/home/akira/pcsx2/common/src/Utilities/IniInterface.cpp:26:17: required from here
/home/akira/pcsx2/common/include/Utilities/FixedPointTypes.inl:160:66: warning: assuming signed overflow does not occur when simplifying division [-Wstrict-overflow]
return wxsFormat( L"%d.%02d", GetWhole(), (GetFraction() * 100) / Precision );
^
common/src/Utilities/CMakeFiles/Utilities.dir/build.make:215: recipe for target 'common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o' failed
make[2]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/IniInterface.cpp.o] Error 1
CMakeFiles/Makefile2:164: recipe for target 'common/src/Utilities/CMakeFiles/Utilities.dir/all' failed
make[1]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Thank worked perfectly.
Can't really say since it's missing the log from the cmake that happens before the make. I could make a wild guess but that does not help.

I'm going to say that cross compiling it in Debian is going to be an uphill battle. It's better to just use a i386 chroot/jail to build it. Also you can just do:

Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install pcsx2

It's really close to git master. If you REALLY want to build it then try this to see if you have all the build dependencies:
Code:
apt-get source pcsx2
cd pcsx2-*
# Check the missing dependencies
dpkg-checkbuilddeps -a i386

Here is the uphill battle you will want to make sure all the dependencies listed by that last command are installed and they have to be the i386 version. The current dependencies are listed below and that line MUST succeed and install all those packages. It currently fails in unstable due to at least the gdk breakage. 

Code:
sudo apt-get install build-essential cmake debhelper libaio-dev:i386 libasound2-dev:i386 libgl1-mesa-dev:i386 libgtk2.0-dev:i386 liblzma-dev:i386 libpng++-dev:i386 libpng-dev:i386 libsdl1.2-dev:i386 libsoundtouch-dev:i386 libwxbase3.0-dev:i386 libwxgtk3.0-dev:i386 libx11-dev:i386 portaudio19-dev:i386 zlib1g-dev:i386
 
If you are lucky everything install on the 1st try. If you are unlucky it will ask to remove packages which is usually a bad thing. At this point you should really consider a chroot.

Now you can just use:
./build.sh --release --cross-multilib

You can also do it in more of a Debian way:
Copy the debian folder that was downloaded by apt-get source to where your git sources are (I'm assuming you wanted to compile git master) and then do:

Code:
dpkg-buildpackage -ai386

That should compile it fine and generate the deb. I have not tested cross compilation in a while since I'm on sid and the dependencies always want to remove my desktop environment which is a no go.
hmmmm when I do

sudo apt-get install pcsx2

I get

E: Unable to locate package pcsx2

This is my sources.list file. How come apt-get is seeing the pcsx2 package?

deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie main contrib non-free

deb http://ftp.uk.debian.org/ jessie/updates main contrib non-free
deb-src http://ftp.uk.debian.org/ jessie/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
You said you were using testing/stretch but you are actually in stable/jessie that is why. There is no PCSX2 in stable.
You have to change your repos from jessie to stretch for the audio plugins and to sid for the dependencies
(09-20-2015, 02:42 PM)micove Wrote: [ -> ]You said you were using testing/stretch but you are actually in stable/jessie that is why. There is no PCSX2 in stable.

Cheers. That was a ridiculously easy fix. Should really follow debian news more as I hadn't realised Jessie was now stable..
Quote:/usr/include/wx-3.0/wx/filename.h:473:43: error: ambiguous overload for ‘operator[]’ (operand types are ‘wxString’ and ‘unsigned int’)
{ return GetPathSeparators(format)[0u]; }/usr/include/wx-3.0/wx/filename.h:473:43: error: ambiguous overload for ‘operator[]’ (operand types are ‘wxString’ and ‘unsigned int’)
{ return GetPathSeparators(format)[0u]; }
It is typically a wrong wx setup. You need to select wx3.0/gtk2/unicode/32 bits. You can do it with update-alternatives.
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 36