Hi everybody,
I’m using linux (opensuse 11.4), and have a problem compiling the editor and the player using cmake. cmake finds the dependences well, and generates de make file, but after compile I have this:
.
.
.
[ 98%] Building CXX object CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/dlgMusic.cpp.o
[ 99%] Building CXX object CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/dlgEvtCmdHP.cpp.o
[ 99%] Building CXX object CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/dlgEvtCmdExperience.cpp.o
[ 99%] Building CXX object CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/dlgEvtCmdWait.cpp.o
[100%] Building CXX object CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/dlgEvtCmdInn.cpp.o
Linking CXX executable EasyRPG_Editor
CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/appEditor.cpp.o: In function `appEditor::OnInit()':
appEditor.cpp:(.text+0x1e3): undefined reference to `wxSplashScreen::wxSplashScreen(wxBitmap const&, long, int, wxWindow*, int, wxPoint const&, wxSize const&, long)'
CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/gui_editor.cpp.o: In function `dlgAbout_Base::dlgAbout_Base(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)':
gui_editor.cpp:(.text+0x12b89): undefined reference to `wxHyperlinkCtrlNameStr'
CMakeFiles/EasyRPG_Editor.dir/home/AlfaLyr/programas/trunk/editor/src/gui_editor.cpp.o: In function `wxHyperlinkCtrl::wxHyperlinkCtrl(wxWindow*, int, wxString const&, wxString const&, wxPoint const&, wxSize const&, long, wxString const&)':
gui_editor.cpp:(.text._ZN15wxHyperlinkCtrlC2EP8wxWindowiRK8wxStringS4_RK7wxPointRK6wxSizelS4_[_ZN15wxHyperlinkCtrlC5EP8wxWindowiRK8wxStringS4_RK7wxPointRK6wxSizelS4_]+0x33): undefined reference to `vtable for wxHyperlinkCtrl'
gui_editor.cpp:(.text._ZN15wxHyperlinkCtrlC2EP8wxWindowiRK8wxStringS4_RK7wxPointRK6wxSizelS4_[_ZN15wxHyperlinkCtrlC5EP8wxWindowiRK8wxStringS4_RK7wxPointRK6wxSizelS4_]+0xbd): undefined reference to `wxHyperlinkCtrl::Create(wxWindow*, int, wxString const&, wxString const&, wxPoint const&, wxSize const&, long, wxString const&)'
collect2: ld returned 1 exit status
make[2]: *** [EasyRPG_Editor] Error 1
make[1]: *** [CMakeFiles/EasyRPG_Editor.dir/all] Error 2
make: *** [all] Error 2
The headers are all included, and the functions are declared, but some wxwidgets functions are undefined. May be the wxwidgets libs I have installed (from opensuse repositories) are dynamic, and easyrpg needs it static?
When I try to compile with codelite, I have the same error that Luft (Hey there, stuff doesn't compile)
sorry for my english > <