User forums > Help

Building C::B

<< < (2/2)

Auria:

--- Quote from: MortenMacFly on February 22, 2007, 05:48:32 pm ---Well... what does wx-config --cxxflags give you???
With regards, Morten.

--- End quote ---

wx-config --cppflags
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA

This is what i find weird :/ there were files included from wx-2.8, yet all flags point to wx-2.6


--- Quote ---You probably should add "--with-wx-config=wx-config-2.6" as option when invoking the configure-script. Wink
--- End quote ---

Thanks that's what i was looking for :D


--- Quote ---/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::DoCentre(int)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::GetWindowBorderSize() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `vtable for wxColourBase'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::GTKProcessEvent(wxEvent&) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::IsShownOnScreen() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::GetLayoutDirection() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::ScrollPages(int)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxStaticText::GTKWidgetNeedsMnemonic() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::DoIsExposed(int, int, int, int) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::DoIsExposed(int, int) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::GetHelpTextAtPoint(wxPoint const&, wxHelpEvent::Origin) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::AdjustForLayoutDirection(int, int, int) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::ScrollLines(int)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::SetWindowStyleFlag(long)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxStockGDI::GetColour(wxStockGDI::Item)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::GTKWidgetDoSetMnemonic(_GtkWidget*)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::IsDoubleBuffered() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::SetInitialSize(wxSize const&)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxControlBase::DoUpdateWindowUI(wxUpdateUIEvent&)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::SetLayoutDirection(wxLayoutDirection)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::GTKWidgetNeedsMnemonic() const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxDateTime::GetTmNow(tm*)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindowBase::DoGetScreenPosition(int*, int*) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxXmlResourceHandler::IsOfClass(wxXmlNode*, wxString const&)'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxControl::OnInternalIdle()'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxWindow::GTKGetWindow(wxArrayGdkWindows&) const'
/home/mmg/Desktop/CodeBlocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxStaticText::GTKWidgetDoSetMnemonic(_GtkWidget*)'

--- End quote ---

:( What can that mean?

-L/usr/local/lib -pthread   -lwx_gtk2_xrc-2.6 -lwx_gtk2_qa-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6

MortenMacFly:

--- Quote from: Auria on February 22, 2007, 10:36:51 pm ---:( What can that mean?

--- End quote ---
It could mean that some files were compiled using the wx280 headers and still present, for example pre-compiled headers (did you do a full "make clean-zipfiles; make clean-bin; make clean"?). Try a full clean checkout and  compilation (including bootstrap and stuff...). The best would be to completely remove your old sandbox.
With regards, Morten.

Auria:

--- Quote from: MortenMacFly on February 23, 2007, 11:13:15 am ---
--- Quote from: Auria on February 22, 2007, 10:36:51 pm ---:( What can that mean?

--- End quote ---
It could mean that some files were compiled using the wx280 headers and still present, for example pre-compiled headers (did you do a full "make clean-zipfiles; make clean-bin; make clean"?). Try a full clean checkout and  compilation (including bootstrap and stuff...). The best would be to completely remove your old sandbox.
With regards, Morten.

--- End quote ---

woot it worked!!! Had been trying for a very long time to get codeblocks working! many thanks to you all

Navigation

[0] Message Index

[*] Previous page

Go to full version