# Hi! I can't compile

**URL:** <https://community.easyrpg.org/t/hi-i-cant-compile/76>\
**Category:** Presentations and Farewells\
**Created:** [March 29, 2011, 2:11pm UTC](https://community.easyrpg.org/t/hi-i-cant-compile/76 "2011-03-29T14:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlfaLyr](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/a/ed8c4c/32.png) [@AlfaLyr](https://community.easyrpg.org/u/AlfaLyr)\
**Post date:** [March 29, 2011, 2:11pm UTC](https://community.easyrpg.org/t/hi-i-cant-compile/76/1 "2011-03-29T14:11:08Z")

</div>

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](https://community.easyrpg.org/t/hey-there-stuff-doesnt-compile/75/1))

* * *

sorry for my english \> \<

---

<div class="post-metadata">

**Author:** ![take\_cheeze](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/t/ea5d25/32.png) [@take\_cheeze](https://community.easyrpg.org/u/take_cheeze)\
**Post date:** [April 1, 2011, 5:33pm UTC](https://community.easyrpg.org/t/hi-i-cant-compile/76/2 "2011-04-01T17:33:09Z")

</div>

[http://easyrpg.svn.sourceforge.net/viewvc/easyrpg?revision=1458&view=revision](http://easyrpg.svn.sourceforge.net/viewvc/easyrpg?revision=1458&view=revision)  
Fixed on my environment(Linux 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux).

---

<div class="post-metadata">

**Author:** ![AlfaLyr](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/a/ed8c4c/32.png) [@AlfaLyr](https://community.easyrpg.org/u/AlfaLyr)\
**Post date:** [April 1, 2011, 9:28pm UTC](https://community.easyrpg.org/t/hi-i-cant-compile/76/3 "2011-04-01T21:28:10Z")

</div>

thanks ^^!  
it was so easy…
