|
Linux_dependencies
How to build dolphin on Linux
IntroductionDolphin runs on 32 and 64bit linux distributions, provided you have the correct dependencies installed. I used Ubuntu 8.04.1 amd64 to compile, so the following instructions are using apt-get. If you run a distribution without aptitude, see Details for a list of packages you will need to install. InstructionsJust copy and paste this into a terminal, and you should be good to go. If you have problems with scons, see below. sudo apt-get install subversion scons g++ wx2.8-headers libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libsdl1.2-dev nvidia-cg-toolkit libxxf86vm1-dbg libxxf86vm-dev libxext6-dbg libxext-dev libglew1.5-dev libcairo2-dbg libcairo2-dev libao2 libao-dev libbluetooth-dev libreadline5-dev && svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && scons flavor=release You can also use flavor=debug or flavor=debugfast for debug and debugfast builds. To run dolphin do: cd Binary/Linux-* && ./Dolphin When you use Dolphin for the first time, you can select the plugins in the config window. Getting a compatible version of sconsSince r599, scons version >= 0.98 has been required to build dolphin. Some distributions do not yet have this in their repositories, so you'll have to get it yourself: Go to http://sourceforge.net/project/showfiles.php?group_id=30337&package_id=22359 and get the .tar.gz package. In this example, I got scons-1.1.0.tar.gz. tar -xvf scons-1.1.0.tar.gz && cd scons* && sudo python setup.py install now you can go to your dolphin directory and run scons. DetailsRequired packages:
|
Sign in to add a comment
All commando's needed are:
'sudo apt-get install subversion scons g++ wx2.8-headers libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libsdl1.2-dev nvidia-cg-toolkit libxxf86vm1-dbg libxxf86vm-dev libxext6-dbg libxext-dev libglew1.5-dev libcairo2-dbg libcairo2-dev'
'svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only'
'cd dolphin-emu-read-only'
'scons'
Awesome work guys. Keep truckin' :)
I'll port the JIT to linux as soon as I can.
Hello guys
I have got a question. If you use the nvidia-cg-toolkits does this software will works with ati or intel chips ?
Does this dependency is very important because the nvidia-cg-toolkits don t exist on BSD systems that have their own drm driver for graphic card. This software should be interesting for the BSD community :)
Thanks for you response
CG is used only to compile shaders.
yeah yeah patience, I will fix the jit in linux someday, probably fairly soon :P
yeah!! great work, so much thanks. are we waiting :P.
(0) : fatal error C9999: exception during compilation Cg compiler terminated due to fatal error when start zelda great work are the best modernemu
same errors happen here as well, revision 179
Hi,
I tried R179 on Linux x86 system and it compile fine but when i launch a game it crash...The only output is this, not related I think :
(Dolphin:10822): Gtk-WARNING : /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:8547: widget class GtkPizza?' has no property named row-ending-details'
An OpenGL initialisation problem probably, is there a way to fix it ?
Someone on IRC told me how to fix this problem, for now. You need to edit your Dolphin.ini, set OptimizeQuantizers? to False and it should run :)
http://www.khronos.org/opengl/ new version of opengl v3.0
i edited the dolphin.ini and doesnt work.
I got it to compile, and run, but here are the list of problems I noticed for REV253: 1.) There's a sound plugin but it doesn't output sound via ALSA 2.) Keyboard/360 Control plugin doesn't work, but njoy does. However, you need to have a joystick controller plugged in (I recommend the PS2 controller, which seems to work when the Analog light is on) 3.) OpenGL Plugin cannot view 3D models at all, however most 2d screens work. If there are massive amount of 3D (WW, for example) that load for a title screen, Dolphin will crash. 4.) Dual core just ruins everything, don't enable it
That's just a basic run down. So in other words, this isn't worth it yet. However, I hope we can get somebody who can do pure linux work for Dolphin soon. :)
And of course, this is all on amd64 with the same specs as my Windows XP Pro x64 reports. Changing OptimizeQuantizers? to False doesn't make a difference to me.
R254 to 256 do not build under GNU/Linux X86_64, here the error part of R256 :
http://pastebin.com/f58aa56e3
May I add that even with default CC flags (in SConstruct) it do not build, not ralated to my CC tweak.
R267 to 272 still do not build under GNU/Linux X86_64, here the error log of R272 :
http://pastebin.com/f16a85552
Thx to Sonicadvance1 we're back with R280 :)
You miss libjpeg, check if you have it by doing this :
locate libjpeg.so | head -n 3
I have it: /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjpeg.so
To XTra.KrazzY :
YES, it break build under Linux :
http://pastebin.com/f2b6e7309
To XTra.KrazzY :
Still broken, R371 :
http://pastebin.com/f66b5bdf3
Build fixed with R372 ^^
I compiled it, but there ist noch GFX-Plugin to choose. Can anyone help me?
Builds but it I get the same error as above, programme can still run. Have not tried any games yet.
I recompiled the latest svn sources on opensuse 64 bit i tried to run twilight princess and it runs almost perfectly the graphics is fine and quite fast sound does not work at all with any of the plugins tried to change my sound system to oss and alsa, but in both cases no success. and full screen graphics does not work my cpu is an intel core2 duo and my gpu is a nvidia 7300 gt the game will not start if i choose the dual core mode from the options for the time being excellent work keeping on working IMO a great super great option would be if you could remap some controls to the mouse, for instance, allowing the mouse to control the crossair in metroid prime would make it amazing !!! Alessandro
Revision 840 compiles, starts up a rom, and runs pretty well.
Revision 1097 doesn't compile for me. I went back to revision 840, but I have the same issue as diegocampo8 running 32-bit linux (Ubuntu Intrepid).
You also needs to have libGL installed..
FYI. This should take care of things for people running Fedora:
su -c 'yum install subversion scons gcc-c++ wxBase wxGTK wxGTK-gl wxGTK-devel SDL-devel SDL-debuginfo Cg libCg libXxf86vm-devel libXxf86vm-debuginfo libXext-devel libXext-debuginfo glew-devel cairo-devel cairo-debuginfo libao libao-devel bluez-libs-devel' && svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && scons && cd Binary/linux && ./Dolphin
I get the same error here on r1387...
Just updated to r1402, error remains.
Update to r1406 did not help either. Anyone knows what to do?
Edit: BTW I'm on openSUSE 11.0 w/KDE3 & latest patches.
r1418 same problem.
I realize I should stop spamming this thread and just post when something changes. Untill then, no more updates.
I'm just jumping on the GC emulation thing here, and by what I can tell, most of you are having errors b/c you do not have the 64bit version of Linux, and apparently Dolphin works best with 64bit OS's. This is just an educated guess, I haven't teste Dolphin on my Intrepid 64, b/c I just finished compiling it.
I have compiled the latest sources on OpenSuse? 11 64 bit. It compiles fine and it seems to work fine. The only game that I have tried is twilight princess. The only problem is that I have no sound with both plugins. I tried using both alsa and oss as my sound system. Has anybody solved that?
Oh, I'm running on 32bit, though I thought it would work since there's a win32 AND win64 binary.
Would installing 64bit libs solve the problem?
Obvoiusly the parts wich actually use these wouldn't work, but would it be enough for GC emulation?
What does Dolphin use 64bit for anyway?
How do install Dolphin with Fedora 10?
It's compile well in Ubuntu 8.04.1 i386
But I have a Segmentation Fail (Fallo de Segmentación) in GUI mode
But It works in No GUI mode but there are a lot of error an is too sloooow!
Anyway, good work ;)
compilei no ubuntu 8.4 -32b. ele pediu um arquivo chamado masterkey.bin e eu o achei na net e o adicionei na pasta especificada.agora ele não dá mais erro de iso invalida, mas aparece o nome e a bandeirinha japonesa da versão do jogo....só que quando eu clico em iniciar a iso o linux trava tudo e tenho que desligar brutamente.A interface abre normalmente , mas não carrega nenhuma iso.
For those of you installing on 32bit and getting the 'sync_add_and_fetch_4' errors, there's a simple fix.
In the 'SConstruct' file change:
compileFlags = [
to:
compileFlags = [
-march=i486 basically sets arch (Architecture) to i486, so gcc will be able to compile without errors.
On 64-bit linux JIT doesn't work with gcc-4.1. It works fine with gcc-4.3. See issue 555 for details.
Hi, I have this compile error on ubuntu64 8.10 with rev 2160:
In file included from Source/Core/InputCommon?/Src/Configuration.cpp:36: Source/Core/InputCommon?/Src/SDL.h:67: error: ISO C++ forbids declaration of 'SDL_Joystick' with no type Source/Core/InputCommon?/Src/SDL.h:67: error: expected ';' before '' token Source/Core/InputCommon?/Src/SDL.h:96: error: ISO C++ forbids declaration of 'SDL_Joystick' with no type Source/Core/InputCommon?/Src/SDL.h:96: error: expected ';' before '' token scons: Build/Linux-x86_64-release/Source/Core/InputCommon/Src/Configuration.o? Error 1 scons: building terminated because of errors.
Having a compile error, on fedora, with latest svn source...
Compiling Build/Linux-x86_64-release/Source/Core/InputCommon?/Src/EventHandler?.o Source/Core/InputCommon?/Src/EventHandler?.cpp: In static member function 'static void EventHandler?::SFKeyToString(sf::Key::Code, char)': Source/Core/InputCommon?/Src/EventHandler?.cpp:306: error: 'toupper' was not declared in this scope scons: Build/Linux-x86_64-release/Source/Core/InputCommon/Src/EventHandler.o? Error 1 scons: building terminated because of errors.
How do install Dolphin on YDL 6.1 ?
Shouldn't it be Linux-x86_64 or whatever (if you're 64bit) instead of "linux"? Older svn releases created binaries in the "linux" folder. But now it's been 2000 svn releases later and the folder changed to something else.
Unless of course you meant for this as a compile guide for the release svn and not anything in the trunk.
Dolphin Revision 2981 Linux x86_64 is broken. BUG: http://code.google.com/p/dolphin-emu/issues/detail?id=423
You can use a 32bits chroot for run dolphin 32bits: https://help.ubuntu.com/community/BasicChroot
I couldn't build the latest version (currently 3190), but revision 3174 seems to work. Now I still need to rip an ISO before I can play.
Linking Binary/Linux-i686/dsptool /usr/lib/libcairo.so.2: undefined reference to `xcb_screen_next'
Got this in my current build (Revision: 3286)
Nowadays corporate and little communities become very popular. One of the instruments that helps to develop social network is Elgg. Is really one of the best in social network development. We have experience in work with Elgg. And during the recent time we are working on development of social network for medical workers on Elgg framework. Description of this social network you can find at http://www.web100.com.ua/eng/expertise/social-networks/index.html
I get this error message with r3290:
Yet the file Source/Core/Core/Src/HW/BBA-Tap/TAP_Unix.cpp is there and does exist.
I keep getting the below errors trying to compile the latest SVN. I'm on Ubuntu 9.04 32 bit.
Source/Core/Core/Src/HW/EXI_DeviceMemoryCard?.cpp: In function 'void innerFlush(void)': Source/Core/Core/Src/HW/EXI_DeviceMemoryCard?.cpp:124: error: invalid conversion from 'int' to 'void' scons: Build/Linux-i686-release/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.o? Error 1 scons: building terminated because of errors.
For some reason I got the Message
"Hi,
Dolphin requires that your CPU has support for SSE2 extensions. Unfortunately your CPU does not support them, so Dolphin will not run.
Sayonara!" Will this be fixed soon??
DarkLinkxxxx?, this means that your computer's CPU won't work with Dolphin. You'll need to get a new computer or upgrade your CPU if you can.
look... where's the IL version?
--flavor=Release_JITIL (at least I think that's how)
Thats win32, I think SCons needs flavor=Release jittest=true
sorry...I'm on windows most of the time...
probably some missing include...
Any ideas when keyboard will be supported for wii games?
nope
flavor=Release jittest=true
but... its just type:
"scons flavor=Release jittest=true"
right?
and then I'll have IL version ?
please someone...
I can't get my Ps2 usb gamepad in nJoy0.3, it only works on nJoy0.4 but this SVN doesn't have any 0.4 version
and again... I can't compile the IL version like Windows DolphinIL.exe
please someone can help me...
How can I get nJoy0.4 and DolphinIL ???
thank you very much, sorry my english
ok thanks it worked now! IL
but nJoy0.3 still can't detect my gamepad...
45:42:471 NVideo?: GLWin Depth 24 45:42:471 NVideo?: detected direct rendering (0) : fatal error C9999: exception during compilation Cg compiler terminated due to fatal error45:51:020 NBOOT?: Saving Settings to ./User/Config/Dolphin.ini Segmentation Fault spycode@spycode-desktop:~/dolphin-emu-read-only/Binary/Linux-i686$
i'm using 9.04 Ultimate Edition 2.3 Ubuntu
it happens when the graphics start...
2 seconds in hall and close with these message
I run it better in wine 1.1.26 0.o
a bug only in linux version 02:24:502 NVideo?: glX-Version 1.3 02:26:507 NBOOT?: Booting /media/disk/todo lo del otro disco/Juegos/Emulacion linux/GC/tuxcube/mprime.gcm 02:26:774 NOSREPORT?: (PC=81200308) OSReport: Apploader Initialized. $Revision: 29 $. 02:26:774 NOSREPORT?: (PC=81200324) OSReport: This Apploader built Mar 28 2002 02:34:54 02:29:127 NVideo?: GLWin Depth 24 02:29:127 NVideo?: detected direct rendering Dolphin: ../../src/xcb_io.c:242: process_responses: Afirmación `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' fallida. Cancelado
when i check the "enable dual core" that happen with metroid prime 1 please help.
a ok with zelda happen too Dolphin: ../../src/xcb_io.c:242: process_responses: Afirmación `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' fallida. Cancelado
it happens to me too
I NEED NJOY 0.4 SOMEONE CAN HELP ME HOW TO BUILD WITH NJOY 0.4!?!?
why do you need it ? if nJoy 0.3 lacks some important functionality, just file an issue :) otherwise : YOU CANT, ITS BEEN REMOVED AND STOP WRITING IN ALL CAPS YOU DOUCHE
^_^
dolphin-emu-read-only$ scons scons: Reading SConscript files ... Checking for pkg-config version > 0.15.0... yes Checking for sdl lib version > 1.0.0... (cached) yes Checking for bluez... (cached) Using pkg-config for bluez... yes Checking for ao... (cached) Using pkg-config for ao... yes Checking for openal... (cached) Using pkg-config for openal... yes Checking for portaudio... (cached) Using pkg-config for portaudio... no Looking for lib portaudio... no Checking for sfml-network... (cached) Using pkg-config for sfml-network... no Looking for lib sfml-network... no Checking for x11... (cached) Using pkg-config for x11... yes Checking for wxWidgets >= 2.8... (cached) yes NameError?: name 'files' is not defined: File "/home/chris/.Games/dolphin-emu-read-only/SConstruct", line 415: duplicate=0 File "/usr/lib/scons/SCons/Script/SConscript.py", line 612: return apply(method, args, kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 549: return apply(SConscript, self.fs,? + files, subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 259: exec file in call_stack-1?.globals File "/home/chris/.Games/dolphin-emu-read-only/Source/Core/DebuggerUICommon/Src/SConscript", line 7: files += [
"Linking Binary/Linux-i686/Dolphin Linking shared Binary/Linux-i686/Libs/libwiiuse.so Linking shared Binary/Linux-i686/Plugins/libPlugin_DSP_HLE.so Linking shared Binary/Linux-i686/Plugins/libPlugin_DSP_LLE.so Linking shared Binary/Linux-i686/Plugins/libPlugin_PadSimple?.so Linking shared Binary/Linux-i686/Plugins/libPlugin_Wiimote-testing.so Linking shared Binary/Linux-i686/Plugins/libPlugin_Wiimote.so Linking shared Binary/Linux-i686/Plugins/libPlugin_nJoy_SDL.so Linking shared Binary/Linux-i686/Plugins/libPlugin_nJoy_Testing.so Install directory: "Data/Sys" as "Binary/Linux-i686/Sys" Install directory: "Data/User" as "Binary/Linux-i686/User" Linking Binary/Linux-i686/dsptool scons: done building targets."
I do have all the dependencies installed but it still doesn't build the opengl plugin! I'm running Ubuntu 9.04 32bit. Any help?
You need the nvidia-cg-toolkit, even if you had a non-nVidia GFX Card. At least that was the problem with my builds the other day.
well i've tried to use it same error so i downloaded my distro's rpm wxWidgets which are giving me the same error it must find wx becouse it gets passed everything execpt the RegisterView?.cpp it says that it has those undefined references to to wxGridTableBase which is defined in grid.h and grid.cpp in the wx directories which they are there. but it still won't compile even though it has the needed files. it says it passes the wx checks but nothing.
When compile dolphin r4089 in linux have 2 errors in: Source/Core/DebuggerWX/Src/BreakpointDlg?.cpp error: BreakPointDlg?.h: No such file or directory error: BreakPointWindow?.h: No such file or directory
And it's happend because the filename are in lowercase
Also, if you make a copy of these files with this words in uppercase, get an error before: Source/Core/DolphinWX/Src/FrameTools?.cpp:1126: error: 'GetConsoleWindow?' was not declared in this scope
will be fixed in new revision?
PD: Excuse me for my english
Just move line 1126 into the #ifdef WIN32 block.
In R4098, in Source/Core/Common/Src/ConsoleListener?.cpp, line 224 it's Text, not text
still in R4098, watch for the capital P in WatchPoint? in directory Source/Core/DebuggerWX/Src
WatchPoint??
I found the error in ConsoleListener?.cpp but where is that one?
nvm found it. in the file BreakpointDlg?.cpp change BreakPointDlg? to have a lower case p
also also BreakPointWindow? and BreakPointDlg? changed to a lower case p
Source/Core/DolphinWX/Src/FrameTools?.cpp , line 1145 if(GetConsoleWindow()) Console->Open(); should come after #ifdef WIN32
scons: Build/Linux-i686-release/Source/Core/Common/Src/ConsoleListener.o? Error 1 scons: building terminated because of errors.
http://docs.google.com/Doc?docid=0AawnBGfSz_F9ZGZnNXEyZ2hfMmRuZjc0d2du&hl=en
Thank you. Its downloading now. Its a little slower but thanks.
Followed the steps, but I seem to be presented with
ource/Core/DolphinWX/Src/Frame.h:167: warning: 'CFrame::m_LogWindow?' will be initialized after Source/Core/DolphinWX/Src/Frame.h:101: warning: 'wxAuiToolBar CFrame::m_ToolBar?' Source/Core/DolphinWX/Src/Frame.cpp:312: warning: when initialized here Source/Core/DolphinWX/Src/Frame.h:171: warning: 'CFrame::m_bNoDocking' will be initialized after Source/Core/DolphinWX/Src/Frame.h:74: warning: 'bool CFrame::bRenderToMain' Source/Core/DolphinWX/Src/Frame.cpp:312: warning: when initialized here Source/Core/DolphinWX/Src/Frame.cpp:378: error: 'wxAUI_MGR_LIVE_RESIZE' was not declared in this scope Source/Core/DolphinWX/Src/Frame.cpp:381: warning: declaration of 'aNormalFile' shadows a member of 'this' scons: Build/Linux-i686-release/Source/Core/DolphinWX/Src/Frame.o? Error 1 scons: building terminated because of errors.
I am a programmer, albeit unfamiliar with C/C++ but if anyone has some modifications I can make to Frame.h, I am all ears
I have this error when compiling with scons in ubuntu 9.04
Source/Core/DolphinWX/Src/Frame.cpp:379: error: 'wxAUI_MGR_LIVE_RESIZE' was not declared in this scope
http://pastebin.com/m4f630f4c
Ubuntu Jaunty 9.04 Regarding this problem:
Source/Core/DolphinWX/Src/Frame.cpp:379: error: 'wxAUI_MGR_LIVE_RESIZE' was not declared in this scope
Added the line: wxAUI_MGR_LIVE_RESIZE = 1 << 8,
into the enum "wxAuiManagerOption" of file "/usr/include/wx-2.8/wx/aui/framemanager.h" Compile finishes and Dolphin seems to start. Haven't tried any ISO yet.
I get this error when compiling with scons in ubuntu 9.04 64 bits
Source/Core/DolphinWX/Src/NetSockets?.cpp:388: error: no matching function for call to 'sf::SocketUDP::Receive(char&, size_t&, long unsigned int&, sf::IPAddress&, short unsigned int&)'
http://pastebin.com/m3645879d
To fix 'sf::SocketUDP::Receive problem on ubuntu 9.04 add this ppa
https://launchpad.net/~christoph-egger/+archive/ppa
and install newer libsfml from there, 1.5 is needed
I suppose you have to update to a newer version of wxWidgets. Here is a repository for Jaunty:
https://launchpad.net/~festor-deactivatedaccount/+archive/wxwidgets
Thanks unmacaque, i don't use ubuntu, but I'll try to find and compile a newer version for my distro.(Currently I have 2.8.7.1)
Hi, when I was doing compile, I got the following problem. I am using ubuntu 8.10, and got all debs installed. I am using wx-2.8 which is in /usr/include/wx-2.8, how to include this header ?
Source/Core/DebuggerWX/Src/CodeWindow?.h:71: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type Source/Core/DebuggerWX/Src/CodeWindow?.h:71: error: expected ';' before '' token Source/Core/DebuggerWX/Src/CodeWindow?.h:88: error: 'wxAuiToolBar' has not been declared Source/Core/DebuggerWX/Src/CodeWindow?.h:89: error: 'wxAuiToolBar' has not been declared
wxAuiToolbar is new in WX Version 2.8.9. The version in Debian unstable is only 2.8.7 :-(
Either wait until your distribution catches up, compile WX from scratch, or add
to your /etc/apt/sources.list (if you are running Debian)
lets wait for new WX on karmic koala :(
For the last release (4460 I think) it gives an error when compiling, just add "LLU" at the line 93 of Interpreter_FPUtils.h like this : single.i &= 0xFFFFFFFFE0000000LLU;
:)
I get: 58:09:195 WCOMMON?: IsDirectory?: stat failed on ./User/Wii/title/00000001/00000002/content: Segmentation fault
when starting up Dolpin. :\
i get this error when running any game then the game crash. ALSA: underrun, at least 0ms. (0) : fatal error C9999: exception during compilation Cg compiler terminated due to fatal error22:24:054 N: BOOT Saving Settings to ./User/Config/Dolphin.ini Fallo de segmentación
ubuntu 9.04 64bits AMD AthlonX2? 4200+ Nvidia 9400Gt 512MbGib RAM
I have the error: 59:01:255 WCOMMON?: IsDirectory?: stat failed on ./User/Wii/title/00000001/00000002/content: Fallo de segmentación
I went to the location and apparently the folder does not exist. really do not know what will. If you could help me I would appreciate
the linux version of dolphin is slower than the windows version (in the same computer) have my kubuntu installation any problem? or can i make some adjustments to make the emulator faster?
Macbook pro core 2 duo 2,53 Ghz 4 GB RAM 1066 mhz geforce 9600 GTM 512 MB
The same problem to mee to. Have we wait a new SVN? How i can download a old svn?
can you please stop using this page as bug report place? If you have a bug report open a new issue. We generally ignore bug reports here.
I got that error in ubuntu 9.10: error: readline/history.h: No such file or directory Installing libreadline5-dev solved my problem!
I had the same problem of roman on ubuntu 9.10 AMD 64 and intalled libreadline5-dev and it worked fine, thanks! :) But now I have another compiling problem:
Build/Linux-x86_64-release/libs/libcore.a(WII_IPC_HLE_Device_usb_kbd.o): In function `CWII_IPC_HLE_Device_usb_kbd::Update()': WII_IPC_HLE_Device_usb_kbd.cpp:(.text+0x484): undefined reference to `CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesAZERTY' collect2: ld returned 1 exit status.
Any Ideas? Thank you
I added the following at line 344 of /Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp
u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesAZERTY256? = { 0 };
and it compiled
yeah that works, they updated the svn for this problem :)
To be able to build on latest (Ubuntu 9.10 Karmic) you need to do : sudo apt-get install libreadline5-dev
This should be added to dependencies list.
error on bluetooth/bluetooth.h means you need to do: sudo apt-get install libbluetooth-dev this help for me on Ubuntu 9.10 x64
openSuSE 11:
sudo zypper install bluez-devel scons subversion wxWidgets-devel wxGTK wxGTK-devel wxGTK-gl libSDL-devel libCg libCg-devel xorg-x11-libXext-devel xorg-x11-libX11-devel libao libao-devel gcc gcc-c++ readline5-devel readline5 cairo cairo-devel GLEW GLEW-devel && svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && scons flavor=release
That should do it on openSuSE 11.2 and possibly other openSuSE 11.x. If zypper reports any conflicts with readline5, i don't know if you need it or not, i just ignored conflicts and everything seems to have worked. I might be able to get more of these for other distros. for now, cheers, hope this helps someone.
For those that are still stuck on ice-age distros (like me and my Fedora Core 6):
- Build wxWidgets 2.8 from source, from a SRPM or equivalent.
- Build scons 1.2.0 from source, from a SRPM, or equivalent. Yes, Scons 1.2.0 - latest SVN revisions require it.
- Go to nVidia site and grab the CG toolkit. It's available in several flavors, including RPM.
- GLEW may not be available on some distros (like old Fedora), so build from source, or grab from a 3rd party repository.
- The kicker: Dolphin does not like some GCC versions. My FC6 GCC 4.1.2 created binaries that crashed and crashed and crashed... nothing crashes better than those binaries! You WILL need to BUILD GCC FROM SOURCE, and install it into an alternate directory (if you REPLACE your systemwide GCC, bad things will happen... BAD THINGS!), then when calling Scons with 'CC=/path/to/gcc/bin/gcc CXX=/path/to/gcc/bin/g++'.
HOWTO for multiple GCC versions on Fedora: http://www.mjmwired.net/resources/mjm-fedora-gcc.html
As a rule of thumb, when building GCC from source, try to keep the same GCC compile options that were used to build your distro GCC - run 'gcc -v' to see them, and reuse these. This will ensure that any compiled binaries will work nicely with your Frankenstein distro. And don't forget to change the suffix for the binaries with '--program-suffix=GCC_VERSION' to avoid confusions ;)
Running r4618 on an ANCIENT Fedora Core 6 x86_64 Core 2 Duo laptop (with ATi graphics) from late 2006... lovin' it!
Oh, i forgot these:
- Build BlueZ from source. Don't bother with RPMs for this one.
- You may need to run your compiled binaries with LD_LIBRARY_PATH, to force them to use the newer GCC runtimes. For example: LD_LIBRARY_PATH=/opt/gcc43/lib64/ ./Dolphin LD_LIBRARY_PATH=/opt/gcc43/lib64/ ./Dolphin
YMMV, and have lots of fun!
I used the following dependencies for my Fedora 12 machine. I did not use the debug packages and I might have missed an optional package somewhere, but I didn't want them. Add to it if you need.
yum install subversion scons gcc-c++ wxGTK-devel wxBase wxGTK SDL-devel SDL Cg libXxf86vm libXxf86vm-devel libXext libXext-devel glew glew-devel cairo cairo-devel libao libao-devel bluez-devel bluez-libs-devel bluez-libs bluez
Nothing was custom built besides Dolphin itself. All RPMs are from the base/updates Fedora Repos.
On Fedora 12 you should add readline-devel to the list of required packages...
Please someone make a PPA for this, would definitely increase adoption for ubuntu.
Checking for Cg... (cached) Using pkg-config for cg... no Looking for lib Cg... no Plugin_VideoOGL must have cg and cggl to be build
scons:
This is on a amd64 Debian system.