Message Boards

 Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - EricxDu

Pages: [1]
1

Technical Support / Re: Odamex 0.7.0 build error

« on: September 26, 2014, 02:32:58 »
Thank you both. I remember having some trouble with wxwidgets before this error. Seems I need several packages updated before I can build certain apps.
2

Technical Support / Odamex 0.7.0 build error

« on: September 21, 2014, 18:19:22 »
I'm trying to build Odamex on ~Ubuntu 12.04 but it fails while building odalaunch. Below is the relevant output of make. Help or advice would be much appreciated.

Code: [Select]
[ 93%] Building CXX object odalaunch/CMakeFiles/odalaunch.dir/src/dlg_main.cpp.o
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp: In constructor ‘dlgMain::dlgMain(wxWindow*, wxWindowID)’:
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:216:25: error: invalid static_cast from type ‘wxWindow*’ to type ‘const wxPanel*’
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:261:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp: In member function ‘void dlgMain::OnShowServerFilter(wxCommandEvent&)’:
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:375:22: error: invalid use of incomplete type ‘struct wxPanel’
/usr/include/wx-2.8/wx/xrc/xmlres.h:35:28: error: forward declaration of ‘struct wxPanel’
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp: In member function ‘void dlgMain::OnManualConnect(wxCommandEvent&)’:
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:415:16: warning: enumeration value ‘_oda_iav_MIN’ not handled in switch [-Wswitch]
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:415:16: warning: enumeration value ‘_oda_iav_NUMERR’ not handled in switch [-Wswitch]
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:415:16: warning: enumeration value ‘_oda_iav_MAX’ not handled in switch [-Wswitch]
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp: In member function ‘bool dlgMain::MainThrPostEvent(dlgMain::mtcs_t, wxInt32, wxInt32)’:
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:520:31: error: ‘class dlgMain’ has no member named ‘CreateThread’
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp: In member function ‘_oda_iav_err_t dlgMain::IsAddressValid(wxString, wxString&, long int&)’:
/usr/local/src/odamex-src-0.7.0/odalaunch/src/dlg_main.cpp:1197:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[2]: *** [odalaunch/CMakeFiles/odalaunch.dir/src/dlg_main.cpp.o] Error 1
make[1]: *** [odalaunch/CMakeFiles/odalaunch.dir/all] Error 2
make: *** [all] Error 2
Pages: [1]