Dolphin, the GameCube and Wii emulator - Forums
-+- LINUX build -+- Way to fix errors and warning - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: -+- LINUX build -+- Way to fix errors and warning (/Thread-linux-build-way-to-fix-errors-and-warning)



-+- LINUX build -+- Way to fix errors and warning - cbz - 09-04-2009

Use this thread for post solution for fix errors and warning in Linux build


For a Debian Etch use this packages
* subversion 1.5.1dfsg1-4 Etch
* scons 1.2.0-2 Testing
* g++ 4:4.3.2-2 Etch
* wx2.8-headers 2.8.10.1-0 wxWidgets Etch
* libwxbase2.8-0 2.8.10.1-0 wxWidgets Etch
* libwxbase2.8-dbg (optional) 2.8.10.1-0 wxWidgets Etch
* libwxbase2.8-dev 2.8.10.1-0 wxWidgets Etch
* libwxgtk2.8-0 2.8.10.1-0 wxWidgets Etch
* libwxgtk2.8-dbg (optional) 2.8.10.1-0 wxWidgets Etch
* libwxgtk2.8-dev 2.8.10.1-0 wxWidgets Etch
* libsdl1.2-dev
* nvidia-cg-toolkit
* libbluetooth-dev (optional)
* libxxf86vm1-dbg (optional)
* libxxf86vm-dev
* libxext6-dbg
* libxext-dev (optional)
* libglew1.5-dev
* libcairo2-dbg
* libcairo2-dev (optional)
* libao2
* libao-dev


RE: -+- LINUX build -+- Way to fix errors and warning - cbz - 09-05-2009

[RESOLVED in r4178]

Hello

I found some errors in compiling r4174 on a Lenny with DolphinWX/Src/LogWindow.cpp

Source/Core/DolphinWX/Src/LogWindow.cpp:280: warning: 'virtual bool wxSizer::Remove(wxWindow*)' is deprecated (declared at /usr/include/wx-2.8/wx/sizer.h:513)

line 280 :
sRight->Remove(m_Log);
see to replace by :
sRight->Detach(m_Log);
source : wxSizer Class Reference

Source/Core/DolphinWX/Src/LogWindow.cpp:75: error: 'class wxRadioBox' has no member named 'SetButtonFont'

line 75 :
m_verbosity->SetButtonFont(wxFont(7, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL));
see to replace by :
m_verbosity->SetFont(wxFont(7, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL));
source : wxWindows 2 Change Log