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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 64 65 66 67 68 ... 116 Next »

r6623: Dolphin doesn't compile by using Debug build mode
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
r6623: Dolphin doesn't compile by using Debug build mode
12-20-2010, 10:06 AM
#1
zuargo
Unregistered
 
Exclamation 
Hello all

I am on Archlinux x86, Kernel 2.6.36-2 and cmake 2.8.3-1.

I am trying to build Dolphin-emu setting up Debug build mode, but at the process I get this error:

Code:
[ 70%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/X11Utils.cpp.o
Linking CXX executable ../../../Binaries/dolphin-emu                                          
CMakeFiles/dolphin-emu.dir/Src/AboutDolphin.cpp.o: In function `wxWindowBase::GetName() const':
AboutDolphin.cpp:(.text._ZNK12wxWindowBase7GetNameEv[wxWindowBase::GetName() const]+0x7b): undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/AboutDolphin.cpp.o: In function `wxTopLevelWindowGTK::GetTitle() const':
AboutDolphin.cpp:(.text._ZNK19wxTopLevelWindowGTK8GetTitleEv[wxTopLevelWindowGTK::GetTitle() const]+0x7b): undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/CheatsWindow.cpp.o: In function `wxCheckBoxBase::IsChecked() const':
/usr/include/wx-2.8/wx/checkbox.h:70: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/CheatsWindow.cpp.o: In function `wxStringBase':
/usr/include/wx-2.8/wx/string.h:352: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/CheatsWindow.cpp.o: In function `wxCheckBoxBase::DoGet3StateValue() const':
/usr/include/wx-2.8/wx/checkbox.h:125: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/CheatsWindow.cpp.o:/usr/include/wx-2.8/wx/checkbox.h:121: more undefined references to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)' follow
CMakeFiles/dolphin-emu.dir/Src/Main.cpp.o:(.rodata._ZTV10DolphinApp[vtable for DolphinApp]+0x90): undefined reference to `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/Main.cpp.o:(.rodata._ZTV10DolphinApp[vtable for DolphinApp]+0x94): undefined reference to `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/WiimoteConfigDiag.cpp.o: In function `wxStringBase::at(unsigned int)':
/usr/include/wx-2.8/wx/string.h:433: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
CMakeFiles/dolphin-emu.dir/Src/WiimoteConfigDiag.cpp.o: In function `wxBaseArrayPtrVoid::Item(unsigned int) const':
/usr/include/wx-2.8/wx/dynarray.h:809: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
../DebuggerWX/libdebwx.a(CodeWindowFunctions.cpp.o): In function `wxStringBase':
/usr/include/wx-2.8/wx/string.h:352: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
../DebuggerUICommon/libdebugger_ui_util.a(CodeView.cpp.o): In function `wxStringBase':
/usr/include/wx-2.8/wx/string.h:352: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
/usr/include/wx-2.8/wx/string.h:352: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'
../DebuggerUICommon/libdebugger_ui_util.a(CodeView.cpp.o):/usr/include/wx-2.8/wx/string.h:352: more undefined references to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)' follow
collect2: ld devolvió el estado de salida 1
make[2]: *** [Binaries/dolphin-emu] Error 1
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [all] Error 2
    Aborting...

Is it a problem related to source code of Dolphin? or am I doing something wrong?

Thanks in advance.
Reply
12-20-2010, 11:08 AM
#2
xenofears Offline
Member
***
Posts: 192
Threads: 7
Joined: Nov 2010
Do you have wxWidgets?
Find
Reply
12-22-2010, 03:25 AM
#3
zuargo
Unregistered
 
I have installed wxgtk 2.8.11-2. Is it enough?

Also, I builded wxWidgets but I can't install it becouse has conflict with wxgtk. I tried uninstalling wxgtk but I could not because dolphin-emu needs it to running.
Reply
12-22-2010, 04:19 AM
#4
xenofears Offline
Member
***
Posts: 192
Threads: 7
Joined: Nov 2010
You have the headers, so you should have the libraries, it is probably missing a library during linking. I don't know exactly what the external dependency requirements are on Linux, did you look them up? It's not wxWidgets itself as I can see, but wxBase and a few others you need. See here: http://code.google.com/p/dolphin-emu/wiki/Linux_dependencies

I was on irc, and asked for you, and you can ask yourself IF you still can't figure out what you're missing. Efnet, irc.colosolutions.net:7000 works well, #dolphin-emu.
Find
Reply
02-28-2011, 04:37 AM (This post was last modified: 02-28-2011, 04:37 AM by neobrain.)
#5
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Debug building doesn't work with wxw 2.8 if you haven't compiled wxw from source. Either upgrade to wxw 2.9 or install debug wxw libs.

This is due to wxw being stupid and requiring debug libraries if WE define DEBUG ...

Meh, just looked at the date.. but whatever, at least this is answered PROPERLY now Tongue
My blog
Me on Twitter
My wishlist on Amazon.de
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