I've got wxGTK2 like in subject. When I want to compile I've got the error:
Linking executable devel/codeblocks.exe...
/usr/bin/ld: cannot find -lwx_gtk2_xrc-2.4
I've install wxGTK2-xrc package. I didn't recompile all wxGTK( is the problem??).
What should I do??
BTW. U made GREAT job with creating this app. Good luck guys :)
I haven't got any wx_* files in /usr/lib . The wxGTK2-xrc package has got little diffrent filenames:
/usr/lib/libwx_gtk2_xrc-2.4.so.0
/usr/lib/libwx_gtk2_xrc-2.4.so.0.1.1
I download the package for my Linux - FC4.
So I tried to change Makefile.unix
LIB_WXXRC=wx_gtk2_xrc-2.4
LIB_WXSTC=wx_gtk2_stc-2.4
to
LIB_WXXRC=libwx_gtk2_xrc-2.4
LIB_WXSTC=libwx_gtk2_stc-2.4
But it didn't work... :( I run ldconfig after installing this package but still nothing...
It worked... but :( now I have this kind of problem:
Linking executable devel/codeblocks.exe...
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWindow::sm_classwxWindow'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWindow::Clear()'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxTheClipboard'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `vtable for wxEventTableEntry'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxFlexGridSizer::AddGrowableRow(unsigned int)'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxListView::sm_classwxListView'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxButton::sm_classwxButton'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWindow::ApplyWidgetStyle()'
devel/libcodeblocks.so: undefined reference to `wxStyledTextCtrl::DoGetBestSize() const'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxFlexGridSizer::AddGrowableCol(unsigned int)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxObject::sm_classwxObject'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxPanel::sm_classwxPanel'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxListItem::sm_classwxListItem'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxTextCtrlBase::~wxTextCtrlBase()'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxSizer::sm_classwxSizer'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxString::ConcatSelf(int, char const*)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWindowBase::FindWindow(wxString const&)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxMenuBar::sm_classwxMenuBar'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWizard::Create(wxWindow*, int, wxString const&, wxBitmap const&, wxPoint const&)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxControl::sm_classwxControl'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxEVT_SCROLL_ENDSCROLL'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxTimer::sm_classwxTimer'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxSystemSettingsNative::GetMetric(wxSystemMetric)'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxRect::wxRect(wxPoint const&, wxSize const&)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxDialog::sm_classwxDialog'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxMenu::sm_classwxMenu'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxScrollBar::sm_classwxScrollBar'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxWizardPage::sm_classwxWizardPage'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxString::CopyBeforeWrite()'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxFrame::sm_classwxFrame'
/usr/lib/libwx_gtk2_stc-2.4.so: undefined reference to `wxFile::Read(void*, long long)'
/usr/lib/libwx_gtk2_xrc-2.4.so: undefined reference to `wxButton::ApplyWidgetStyle()'
collect2: ld returned 1 exit status
make: *** [devel/codeblocks.exe] Błąd 1
BTW. Does anybody made a package of C::B..??
I compiled wxGTK step by step like is in wiki............................... and..........................
Linking executable devel/codeblocks.exe...
.objs/src/app.o(.gnu.linkonce.t._ZN13CodeBlocksAppC1Ev[CodeBlocksApp::CodeBlocksApp()]+0x16): In function `CodeBlocksApp::CodeBlocksApp()':
src/app.cpp:79: undefined reference to `vtable for CodeBlocksApp'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
collect2: ld returned 1 exit status
make: *** [devel/codeblocks.exe] Błąd 1
:? :? :? :? :? :? :? :? :? :? :? :? :? :? :? :x :x :x :x :x :x :x :x :x :x :x :x :x :x :x :x