Ok, so I figured it may because I am building static libraries that this isn't running. I tried to build shared libaries of wxWidgets instead and then rebuild codelite. I am running into a new issue when trying to compile.
I don't think it can find the library libwx_gtk2u_html-3.1.so.0. I checked my build and make sure it was there (I had to pass -enable-html to ./configure). I am guessing that this library is not loaded in the CMakeLists.txt file. Is there any way to pass that in?
Code: Select all
[ 68%] Building CXX object LLDBDebugger/CMakeFiles/LLDBDebugger.dir/FolderMappingDlg.cpp.o
Linking CXX executable ../bin/codelite-make
/usr/bin/ld: warning: libwx_gtk2u_html-3.1.so.0, needed by //usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0, not found (try using -rpath or -rpath-link)
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnInternalIdle()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshAll()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLBackgroundImage(wxBitmap const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLBackgroundColour(wxColour const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetSelectedTextColour(wxColour const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLWindowTitle(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxSimpleHtmlListBox::ms_classInfo@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnHTMLLinkClicked(wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::~wxHtmlListBox()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::OnHTMLLinkClicked(wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLBackgroundColour() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::OnCellClicked(wxHtmlCell*, int, int, wxMouseEvent const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshAll()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::wxHtmlListBox()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::Init()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxHtmlWindowMouseHelper@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundColour(wxColour const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLWindowTitle(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxHtmlWindow@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLStatusText(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetClassInfo() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::ms_classInfo@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundImage(wxBitmap const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnLinkClicked(unsigned long, wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnMeasureItem(unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxSimpleHtmlListBox::Create(wxWindow*, int, wxPoint const&, wxSize const&, wxArrayString const&, long, wxValidator const&, wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnDrawBackground(wxDC&, wxRect const&, unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshRow(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshRows(unsigned long, unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `typeinfo for wxHtmlListBox@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxSimpleHtmlListBox@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshRows(unsigned long, unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetEventTable() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetItemCount(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshRow(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLBackgroundColour() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetEventHashTable() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLWindow()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetSelectedTextBgColour(wxColour const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::OnCellMouseHover(wxHtmlCell*, int, int)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLWindow()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnGetItemMarkup(unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnDrawItem(wxDC&, wxRect const&, unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::wxHtmlWindowMouseHelper(wxHtmlWindowInterface*)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLStatusText(wxString const&)@WXU_3.1'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/codelite-make] Error 1
make[1]: *** [codelite_make/CMakeFiles/codelite-make.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Edit:
I checked the CMakeCache.txt file and noticed that lwx_gtk2u_html-3.1 was listed. Now I'm not sure what the problem is. Also, I tried this with 3.0 and 3.1 libraries and had the same result.