Author Topic: Problems with compiling the CVS version of Code::Blocks in Linux  (Read 4240 times)

mdevens

  • Guest
Problems with compiling the CVS version of Code::Blocks in Linux
« on: November 01, 2005, 05:41:30 pm »
I'm having a problem compiling the CVS version, I get this message when I make:

g++ -g -O2 -O2 -ffast-math -I/opt/wxWidgets/wxWidgets-2.6.2/lib/wx/include/gtk2-ansi-release-2.6 -I/opt/wxWidgets/wxWidgets-2.6.2/include -I/opt/wxWidgets/wxWidgets-2.6.2/contrib/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -o codeblocks app.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o impexpconfig.o main.o prefix.o printdlg.o startherepage.o -pthread -Wl,-rpath -Wl,/opt/wxWidgets/wxWidgets-2.6.2/lib -pthread -Wl,-rpath -Wl,/opt/wxWidgets/wxWidgets-2.6.2/lib  -L/opt/wxWidgets/wxWidgets-2.6.2/lib -L/usr/X11R6/lib -L/opt/codeblocks/cvs/codeblocks/src/src/wxDockit /opt/codeblocks/cvs/codeblocks/src/src/wxDockit/.libs/libwxdockit.a -lm -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -lgcc_s -lc -L/opt/codeblocks/cvs/codeblocks/src/sdk /usr/lib/libcodeblocks.so /usr/lib/libwxscintilla.so -lwx_gtk2-2.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so -lpthread -ldl -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 -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6
/usr/lib/libcodeblocks.so: undefined reference to `wxXmlResourceHandler::GetSize(wxString const&)'
/usr/lib/libcodeblocks.so: undefined reference to `wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*)'
collect2: ld returned 1 exit status
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src'
make: *** [all-recursive] Error 1


Thank you for any help...

mdevens

  • Guest
Re: Problems with compiling the CVS version of Code::Blocks in Linux
« Reply #1 on: November 02, 2005, 04:09:19 pm »
Well, i've reinstalled wxWidets using 'emerge' from Gentoo, and updated the source from cvs, and my problem changed...
I'm now getting this:

 g++ -DHAVE_CONFIG_H -I. -I. -I. -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 -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -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 -g -O2 -O2 -ffast-math -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 -MT editpathdlg.lo -MD -MP -MF .deps/editpathdlg.Tpo -c editpathdlg.cpp  -fPIC -DPIC -o .libs/editpathdlg.o
editpathdlg.cpp: In member function `void
   EditPathDlg::OnBrowse(wxCommandEvent&)':
editpathdlg.cpp:70: error: `Manager' undeclared (first use this function)
editpathdlg.cpp:70: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
editpathdlg.cpp:70: error: syntax error before `::' token
make[4]: *** [editpathdlg.lo] Error 1
make[4]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src/sdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/codeblocks/cvs/codeblocks/src'
make: *** [all-recursive] Error 1

:-( not sure what to do...thank you for any help...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Problems with compiling the CVS version of Code::Blocks in Linux
« Reply #2 on: November 02, 2005, 05:52:42 pm »
Fixed in CVS. Thanks for spotting this.
Unfortunately, anonymous cvs lags 4-6 hours so you 'll have to wait to get the updates...
Be patient!
This bug will be fixed soon...