My favorites | Sign in
Logo
                
Search
for
Updated Nov 24, 2009 by nakeee
Labels: Build
Linux_dependencies  
How to build dolphin on Linux

Introduction

Dolphin 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.

Instructions

Just 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 scons

Since 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.

Details

Required packages:


Comment by prismsub7, Jul 24, 2008

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'

Comment by hrydgard, Jul 25, 2008

Awesome work guys. Keep truckin' :)

I'll port the JIT to linux as soon as I can.

Comment by ccna.syl, Jul 26, 2008

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

Comment by hrydgard, Jul 27, 2008

CG is used only to compile shaders.

Comment by hrydgard, Jul 30, 2008

yeah yeah patience, I will fix the jit in linux someday, probably fairly soon :P

Comment by skarmiglione.sk4r, Jul 30, 2008

yeah!! great work, so much thanks. are we waiting :P.

Comment by skarmiglione.sk4r, Aug 03, 2008

(0) : fatal error C9999: exception during compilation Cg compiler terminated due to fatal error when start zelda great work are the best modernemu

Comment by ande...@gmail.com, Aug 11, 2008

same errors happen here as well, revision 179

Comment by gnuraziel, Aug 12, 2008

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 ?

Comment by ande...@gmail.com, Aug 13, 2008

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 :)

Comment by skarmiglione.sk4r, Aug 14, 2008

http://www.khronos.org/opengl/ new version of opengl v3.0

Comment by marihuanalegal, Aug 15, 2008

i edited the dolphin.ini and doesnt work.

Comment by knuckles500, Aug 21, 2008

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. :)

Comment by knuckles500, Aug 21, 2008

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.

Comment by gnuraziel, Aug 21, 2008

R254 to 256 do not build under GNU/Linux X86_64, here the error part of R256 :

http://pastebin.com/f58aa56e3

Comment by gnuraziel, Aug 21, 2008

May I add that even with default CC flags (in SConstruct) it do not build, not ralated to my CC tweak.

Comment by gnuraziel, Aug 22, 2008

R267 to 272 still do not build under GNU/Linux X86_64, here the error log of R272 :

http://pastebin.com/f16a85552

Comment by gnuraziel, Aug 23, 2008

Thx to Sonicadvance1 we're back with R280 :)

Comment by gnuraziel, Aug 27, 2008

You miss libjpeg, check if you have it by doing this :

locate libjpeg.so | head -n 3

Comment by knuckles500, Aug 27, 2008

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

Comment by gnuraziel, Aug 28, 2008

To XTra.KrazzY :

YES, it break build under Linux :

http://pastebin.com/f2b6e7309

Comment by gnuraziel, Aug 28, 2008

To XTra.KrazzY :

Still broken, R371 :

http://pastebin.com/f66b5bdf3

Comment by gnuraziel, Aug 28, 2008

Build fixed with R372 ^^

Comment by R.Shargh, Sep 19, 2008

I compiled it, but there ist noch GFX-Plugin to choose. Can anyone help me?

Comment by tatsh2dx, Sep 23, 2008

Builds but it I get the same error as above, programme can still run. Have not tried any games yet.

Comment by serralessandro, Oct 02, 2008

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

Comment by mikedep333, Oct 11, 2008

Revision 840 compiles, starts up a rom, and runs pretty well.

Comment by liuzerus87, Nov 08, 2008

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).

Comment by nakeee, Nov 19, 2008

You also needs to have libGL installed..

Comment by olejl77, Nov 20, 2008

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

Comment by Djhg2000, Dec 03, 2008

I get the same error here on r1387...

Comment by Djhg2000, Dec 04, 2008

Just updated to r1402, error remains.

Comment by Djhg2000, Dec 05, 2008

Update to r1406 did not help either. Anyone knows what to do?

Edit: BTW I'm on openSUSE 11.0 w/KDE3 & latest patches.

Comment by Djhg2000, Dec 06, 2008

r1418 same problem.

I realize I should stop spamming this thread and just post when something changes. Untill then, no more updates.

Comment by brokenfinity, Dec 06, 2008

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.

Comment by serralessandro, Dec 09, 2008

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?

Comment by Djhg2000, Dec 09, 2008

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?

Comment by hemengenator, Dec 20, 2008

How do install Dolphin with Fedora 10?

Comment by p0st...@gmail.com, Dec 28, 2008

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 ;)

Comment by cristiano.prescinato, Jan 01, 2009

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.

Comment by Dioxies, Jan 12, 2009

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 = [

'-fno-exceptions', '-fno-strict-aliasing', '-msse2', '-fvisibility=hidden',
  1. -fomit-frame-pointer'
]

to:

compileFlags = [

'-fno-exceptions', '-fno-strict-aliasing', '-msse2', '-march=i486', '-fvisibility=hidden',
  1. -fomit-frame-pointer'
]

-march=i486 basically sets arch (Architecture) to i486, so gcc will be able to compile without errors.

Comment by ans...@bezkitu.com, Feb 08, 2009

On 64-bit linux JIT doesn't work with gcc-4.1. It works fine with gcc-4.3. See  issue 555  for details.

Comment by hickop, Feb 08, 2009

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.

Comment by gomisensei, Feb 14, 2009

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.

Comment by je.zamorax, Feb 26, 2009

How do install Dolphin on YDL 6.1 ?

Comment by knuckles500, Mar 22, 2009

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.

Comment by diegovazquez, Apr 16, 2009

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

Comment by erikdebruijn1, May 09, 2009

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.

Comment by andreas....@googlemail.com, May 26, 2009

Linking Binary/Linux-i686/dsptool /usr/lib/libcairo.so.2: undefined reference to `xcb_screen_next'

Got this in my current build (Revision: 3286)

Comment by apsinghbal83, May 26, 2009

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

Comment by windypo...@gmail.com, May 27, 2009

I get this error message with r3290:

scons: Building targets ...
scons: building associated VariantDir targets: Build/Linux-x86_64-release
scons: *** [Build/Linux-x86_64-release/Source/Core/Core/Src/HW/BBA-Tap/TAP_Unix.o] Source `Source/Core/Core/Src/HW/BBA-Tap/TAP_Unix.cpp' not found, needed by target `Build/Linux-x86_64-release/Source/Core/Core/Src/HW/BBA-Tap/TAP_Unix.o'.
scons: building terminated because of errors

Yet the file Source/Core/Core/Src/HW/BBA-Tap/TAP_Unix.cpp is there and does exist.

Comment by alex112283, Jun 13, 2009

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.

Comment by DarkLinkxxxx, Jul 04, 2009

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??

Comment by scottywz, Jul 04, 2009

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.

Comment by JennieCop, Jul 09, 2009

look... where's the IL version?

Comment by marc...@cox.net, Jul 10, 2009

--flavor=Release_JITIL (at least I think that's how)

Comment by j4ck.fr0st, Jul 10, 2009

Thats win32, I think SCons needs flavor=Release jittest=true

Comment by marc...@cox.net, Jul 11, 2009

sorry...I'm on windows most of the time...

Comment by XTra.KrazzY, Jul 12, 2009

probably some missing include...

Comment by kostile, Jul 12, 2009

Any ideas when keyboard will be supported for wii games?

Comment by XTra.KrazzY, Jul 12, 2009

nope

Comment by JennieCop, Jul 27, 2009

flavor=Release jittest=true

but... its just type:

"scons flavor=Release jittest=true"

right?

and then I'll have IL version ?

Comment by JennieCop, Jul 27, 2009

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

Comment by JennieCop, Jul 27, 2009

ok thanks it worked now! IL

but nJoy0.3 still can't detect my gamepad...

Comment by JennieCop, Jul 27, 2009

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

Comment by JennieCop, Jul 27, 2009

it happens when the graphics start...

2 seconds in hall and close with these message

Comment by JennieCop, Jul 27, 2009

I run it better in wine 1.1.26 0.o

Comment by skarmiglione.sk4r, Jul 29, 2009

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.

Comment by skarmiglione.sk4r, Jul 29, 2009

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

Comment by JennieCop, Jul 29, 2009

it happens to me too

Comment by JennieCop, Jul 31, 2009

I NEED NJOY 0.4 SOMEONE CAN HELP ME HOW TO BUILD WITH NJOY 0.4!?!?

Comment by sl1nk3.s, Jul 31, 2009

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

Comment by godisgovernment, Jul 31, 2009

^_^

Comment by christop...@gmail.com, Aug 01, 2009

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 += [

Comment by brothercarioca23a, Aug 09, 2009

"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?

Comment by j4ck.fr0st, Aug 10, 2009

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.

Comment by phibbs8...@yahoo.com, Aug 10, 2009

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.

Comment by mad.soft, Aug 28, 2009

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

Comment by j4ck.fr0st, Aug 28, 2009

Just move line 1126 into the #ifdef WIN32 block.

Comment by strycore, Aug 29, 2009

In R4098, in Source/Core/Common/Src/ConsoleListener?.cpp, line 224 it's Text, not text

Comment by strycore, Aug 29, 2009

still in R4098, watch for the capital P in WatchPoint? in directory Source/Core/DebuggerWX/Src

Comment by benignflux, Aug 29, 2009

WatchPoint??

I found the error in ConsoleListener?.cpp but where is that one?

Comment by benignflux, Aug 29, 2009

nvm found it. in the file BreakpointDlg?.cpp change BreakPointDlg? to have a lower case p

Comment by benignflux, Aug 29, 2009

also also BreakPointWindow? and BreakPointDlg? changed to a lower case p

Comment by strycore, Aug 29, 2009

Source/Core/DolphinWX/Src/FrameTools?.cpp , line 1145 if(GetConsoleWindow()) Console->Open(); should come after #ifdef WIN32

Comment by rjtm03, Aug 30, 2009

scons: Build/Linux-i686-release/Source/Core/Common/Src/ConsoleListener.o? Error 1 scons: building terminated because of errors.

Comment by nicknick44, Sep 01, 2009

Thank you. Its downloading now. Its a little slower but thanks.

Comment by xsubmerged, Sep 02, 2009

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

Comment by jaime.nunez.ornelas, Sep 02, 2009

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

Comment by jfbucas, Sep 08, 2009

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.

Comment by jim64kk, Sep 11, 2009

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

Comment by mat.rowlands, Sep 12, 2009

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

Comment by unmacaque, Sep 12, 2009

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

Comment by kain.vaevictus, Sep 12, 2009

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)

Comment by Ning28, Sep 16, 2009

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

Comment by dschwen, Oct 14, 2009

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

deb http://www.vollstreckernet.de/debian/ testing wx

to your /etc/apt/sources.list (if you are running Debian)

Comment by davidbarreda, Oct 21, 2009

lets wait for new WX on karmic koala :(

Comment by lagrange...@gmail.com, Oct 25, 2009

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;

:)

Comment by 05gash, Nov 02, 2009

I get: 58:09:195 WCOMMON?: IsDirectory?: stat failed on ./User/Wii/title/00000001/00000002/content: Segmentation fault

when starting up Dolpin. :\

Comment by odarma, Nov 02, 2009

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

Comment by the.dead.16.12, Nov 02, 2009

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

Comment by theevilenginerer, Nov 04, 2009

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

Comment by Info1PakoB7, Nov 06, 2009

The same problem to mee to. Have we wait a new SVN? How i can download a old svn?

Comment by nakeee, Nov 08, 2009

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.

Comment by roman.re...@musicnerd.at, Nov 17, 2009

I got that error in ubuntu 9.10: error: readline/history.h: No such file or directory Installing libreadline5-dev solved my problem!

Comment by las...@hotmail.com, Nov 21, 2009

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

Comment by gnuyen, Nov 21, 2009

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

Comment by las...@hotmail.com, Nov 21, 2009

yeah that works, they updated the svn for this problem :)

Comment by dl.zerocool, Nov 24, 2009

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.

Comment by kubex75, Nov 25, 2009

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

Comment by not.nmn, Nov 26, 2009

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.

Comment by tomman, Nov 27, 2009

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!

Comment by tomman, Nov 27, 2009

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!

Comment by compnerd, Dec 02, 2009

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.

Comment by hextremist, Dec 05 (4 days ago)

On Fedora 12 you should add readline-devel to the list of required packages...

Comment by ryankuba, Dec 05 (4 days ago)

Please someone make a PPA for this, would definitely increase adoption for ubuntu.

Comment by corwin7, Today (12 hours ago)

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.


Sign in to add a comment
Hosted by Google Code