• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 174 175 176 177 178 ... 367 Next »

Dolphin fails to compile on linux
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin fails to compile on linux
01-31-2013, 01:28 AM
#1
killown Offline
Member
***
Posts: 72
Threads: 26
Joined: Apr 2011
Lightbulb 
I am using archlinux x86_64 and I have build thousands of dolphin revisions before, but the last one is returning this error:



[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/WxUtils.cpp.o
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/GLInterface/GLX.cpp.o
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/GLInterface/X11_Util.cpp.o
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/X11Utils.cpp.o
Linking CXX executable ../../../Binaries/dolphin-emu
../AudioCommon/libaudiocommon.a(PulseAudioStream.cpp.o): In function `PulseAudio::SoundLoop()':
PulseAudioStream.cppSad.text+0x91): undefined reference to `pa_simple_new'
PulseAudioStream.cppSad.text+0x102): undefined reference to `pa_simple_write'
PulseAudioStream.cppSad.text+0x145): undefined reference to `pa_simple_free'
../AudioCommon/libaudiocommon.a(PulseAudioStream.cpp.o): In function `PulseAudio:TongueulseInit()':
PulseAudioStream.cppSad.text+0x466): undefined reference to `pa_simple_new'
../AudioCommon/libaudiocommon.a(PulseAudioStream.cpp.o): In function `PulseAudio::Write(void const*, unsigned long)':
PulseAudioStream.cppSad.text+0x4fc): undefined reference to `pa_simple_write'
../AudioCommon/libaudiocommon.a(PulseAudioStream.cpp.o): In function `PulseAudio:TongueulseShutdown()':
PulseAudioStream.cppSad.text+0x4e5): undefined reference to `pa_simple_free'
collect2: error: ld returned 1 exit status
make[2]: ** [Binaries/dolphin-emu] Erro 1
make[1]: ** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Erro 2
make: ** [all] Erro 2

how to fix that?
AMD FX™-6300 Six-Core Processor OC 4.5 GHZ
Gtx580LE 3GB RAM
System RAM 18GB
Dolphin 4.0-1843
OS Archlinux x86_64
Website Find
Reply
01-31-2013, 01:35 AM
#2
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Delete your build directory and rebuild from scratch. CMake is probably confused.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
01-31-2013, 01:39 AM
#3
killown Offline
Member
***
Posts: 72
Threads: 26
Joined: Apr 2011
(01-31-2013, 01:35 AM)delroth Wrote: Delete your build directory and rebuild from scratch. CMake is probably confused.
thank you, I will do that
AMD FX™-6300 Six-Core Processor OC 4.5 GHZ
Gtx580LE 3GB RAM
System RAM 18GB
Dolphin 4.0-1843
OS Archlinux x86_64
Website Find
Reply
03-03-2013, 07:26 AM
#4
AndroSynth
Unregistered
 
Currently running Arch64 as well and getting the same error.

A handful of errors in PulseAudioStream.cpp that are undefined references.

I'm assuming it has to do with Pulse Audio. However on my system I'm only using ALSA at the moment and didn't have any trouble building previous versions of Dolphin the same as Killown.

When I run "cmake .." as per the instructions on google code it says it found pulseaudio on my system, hence it tries to compile with pulseaudio enabled?

I fiddled a little with CmakeLists and tried to disable pulseaudio by default to no avail.

Is pulseaudio required to build Dolphin? If so I assume I should install pulseaudio to fix dependencies?
If not is there a way I can build Dolphin without using Pulseaudio?

Thanks in advance.
Reply
03-03-2013, 08:04 AM
#5
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
(01-31-2013, 01:35 AM)delroth Wrote: Delete your build directory and rebuild from scratch. CMake is probably confused.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode