PCSX2 Linux Development
(07-13-2014, 01:09 AM)Urisma Wrote: pcsx2-dbg, not pcsx2-gdb Tongue

hahahahahahahaha

There is no pcsx2-dbg either, though
"I know now why you cry... but it is something I can never do."
-Emotion Engine
Reply

Sponsored links

If you build with
Code:
./build.sh --clean --debug

from the pcsx2 root directory it should output pcsx2-dbg in the bin subfolder. You might have to add
Code:
-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8'

to the flags string in build.sh. That's what I had to do so pcsx2 would build, otherwise it was getting skipped over. That should fix it for you, since we both run Arch64.
Reply
Quote:That should fix it for you, since we both run Arch64.

My brother in Arch Tongue

Yeah it worked. Thanks for the help.
"I know now why you cry... but it is something I can never do."
-Emotion Engine
Reply
Any other tips you guys can give me when debugging PCSX2? Like things to look for?
"I know now why you cry... but it is something I can never do."
-Emotion Engine
Reply
ASAN_OPTION is an environment variable. You can either set permanentely in the current terminal with "export" or "setenv" (depends on shell). The one line syntax allow to set the value for a single run.

Cmake output different pcsx2 binary based on compilation option. TBH it is annoying but sometines it is useful Wink

Tips: read your code again and again. You will surely find some bugs.

Now you need to dig&search Wink
Reply
Just letting everyone know that I'm not dead! I'm still chipping away at the project when I have the time. And also, I have a question regarding multilib applications. Does anyone run both Dolphin and PCSX2 on their machine? When I try to install Dolphin, I get a message that gcc and gcc-multilib are in conflict, but gcc-multilib should be able to work for both 32 and 64-bit apps, correct?
"I know now why you cry... but it is something I can never do."
-Emotion Engine
Reply
On my system:
Quote:21:10 gregory ~/tmp/prime % list multilib
ii g++-4.8-multilib 4.8.3-13 amd64 GNU C++ compiler (multilib files)
ii g++-4.9-multilib 4.9.1-16 amd64 GNU C++ compiler (multilib files)
ii g++-multilib 4:4.9.1-5 amd64 GNU C++ compiler (multilib files)
ii gcc-4.8-multilib 4.8.3-13 amd64 GNU C compiler (multilib files)
ii gcc-4.9-multilib 4.9.1-16 amd64 GNU C compiler (multilib files)
ii gcc-multilib 4:4.9.1-5 amd64 GNU C compiler (multilib files)
So yes you can install both (64bits)
Reply
Hi, I'm sucessfully built latest pcsx2 on Ubuntu 14.10 but I now have problems installing it : "make install" would install it right within build dir, though cmake seems to have "CMAKE_INSTALL_PREFIXTongueATH=/usr/local" in CMakeCache.txt.
OS : Windows 8 64bits / Ubuntu 13.04 64 bits / Arch Linux
CPU : Intel Core i5 3570k @ Stock 3.40 Ghz
Motherboard : GA-Z77-DS3H
GPU : Nvidia GTX 660Ti
RAM : 16 Go DDR3 @ 1600 mhz
Reply
By default make install will install in bin
Reply
I have another question - when I add a new source file in the GSdx folder, will the make script pick it up automatically?
"I know now why you cry... but it is something I can never do."
-Emotion Engine
Reply




Users browsing this thread: 3 Guest(s)