Emulator Issues #28
closedLinux Compiling issues + patch
0%
Description
Trying to compile in Linux requires many changes in the code, so I'm
posting a patch which should allow it to still work under Windows but make
it easier to compile under Linux. Will post more patches as I get further
along.
Updated by hrydgard over 16 years ago
- Status changed from New to Work started
- Issue type changed from Bug to Task
Updated by Sonicadvance1 over 16 years ago
- Relates to usability set to Yes
- Operating system N/A added
Revision 38 makes it so you can compile on Linux right when you check it out...or
should at least on my system. Crazy Taxi got visuals( attached screenshot ).
When trying to run BAM3K or Alien Hominid, it locks up. Below is the last few term
lines that are outputted from BAM3K and then nothing.
3153: 0 EXI ( 800ac824 ) : EXI: Wrote DMAControl, chan 0
3154: 0 OSREPORT ( 800ac824 ) : 0x801c3248: 0xffffffff 0x80003274
3155: 0 EXI ( 800aca18 ) : ExtensionInterface(R): channel: 0 reg: 3
3156: 0 DVD ( 80072aa4 ) : DVD(r): 0xcc006024
3157: 0 EXI ( 800ad2e8 ) : ExtensionInterface(R): channel: 0 reg: 0
3158: 0 EXI ( 800ad2f0 ) : ExtensionInterface(W): 0x00000000 channel: 0 reg: 0
3159: 0 PI ( 800720fc ) : Setting Interrupt INT_CAUSE_VI (set)
I say it's coming a long well ;)
Updated by Sonicadvance1 over 16 years ago
Woops, forgot the picture of Crazy Taxi.
Updated by gladiac over 16 years ago
W00t, nice screenshot! :)
Well, is it really necessary to depend on gcc-4.3? Many current dists (ubuntu 8.04 in
my case) only have version 4.2. Which one do you use?
Updated by Sonicadvance1 over 16 years ago
I use Ubuntu Intrepid which has gcc-4.3 and it usually requires more fixes so I went
with that instead. Guessing anyone using Linux would know how to change it though ;)
Updated by gladiac over 16 years ago
Right. Btw, installing the gcc-snapshot-package in Hardy helps a lot :). Still, I
think I will stick with Intrepid asap alpha3 is out.
Updated by mthuurne over 16 years ago
Here are the changes I had to make to get Dolphin to build on my Linux machine.
There are two reoccurring things:
- the wx-config script on my machine does not know the "--debug" flag
- there were some hardcoded 64-bit features and I'm compiling on a 32-bit machine
Updated by mthuurne over 16 years ago
And here is another patch that makes SVN revision 60 compile. The problem is the
definition of the _T() macro in Common.h, which conflicts with the wxWidget's
definition of _T().
Updated by daco65 over 16 years ago
here is a patch to let it compile in windows. it should compile in windows as well
(if it compiled before the patch)
Updated by gladiac over 16 years ago
For those who were not able to compile dolphin on a ubuntu/debian-based distro -> try
installing all neccessary header-files (and more) as follows:
aptitude install scons nvidia-cg-toolkit libglew1.5-dev libgl-dev libxxf86vm-dev
xserver-xorg-dev libsdl1.2-dev libwxbase2.8-0 libwxbase2.8-dev libwxbase2.8-dbg
libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev python-wxgtk2.8-dbg
Be sure to use sudo for running aptitude on Ubuntu-systems! After that, type "scons"
in the 'dolphin-emu'-directory -> hit enter and pray ;).
Updated by tmator over 16 years ago
Hi,
it not work for me :( it crash when I launch a game,
here a gdb trace :
ATI mobility x600
Linux debian lenny
Centrino 2 ghz and 1Gb ram
Updated by Sonicadvance1 over 16 years ago
- Status changed from Work started to Fixed