if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT configmanager-revision.lo -MD -MP -MF ".deps/configmanager-revision.Tpo" -c -o configmanager-revision.lo configmanager-revision.cpp; \
then mv -f ".deps/configmanager-revision.Tpo" ".deps/configmanager-revision.Plo"; else rm -f ".deps/configmanager-revision.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c configmanager-revision.cpp -fPIC -DPIC -o .libs/configmanager-revision.o
autorevision.h:14: error: 'SVN_REV' was not declared in this scope
make[4]: *** [configmanager-revision.lo] Error 1
make[4]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/killerbot/Documents/CodeBlocksDev/trunk/src'
make: *** [all-recursive] Error 1
g++-4.0 -Ldevel -Lsrc/wxAUI -Lsdk/tinyxml -o devel/codeblocks .objs/src/app.o .objs/src/appglobals.o .objs/src/compilersettingsdlg.o .objs/src/crashhandler.o .objs/src/dlgabout.o .objs/src/dlgaboutplugin.o .objs/src/environmentsettingsdlg.o .objs/src/main.o .objs/src/prefix.o .objs/src/printdlg.o .objs/src/scriptconsole.o .objs/src/scriptingsettingsdlg.o .objs/src/splashscreen.o .objs/src/startherepage.o `wx-config --libs` -lcodeblocks -lwxaui -lwxscintilla
devel/libcodeblocks.so: undefined reference to `ScriptBindings::Register_UtilDialogs()'
collect2: ld returned 1 exit status
Process terminated with status 1 (16 minutes, 43 seconds)
1 errors, 11 warnings
@pecan, did you try a full rebuild ?
g++-4.0 -Ldevel -Lsrc/wxAUI -Lsdk/tinyxml -o devel/codeblocks .objs/src/app.o .objs/src/appglobals.o .objs/src/compilersettingsdlg.o .objs/src/crashhandler.o .objs/src/dlgabout.o .objs/src/dlgaboutplugin.o .objs/src/environmentsettingsdlg.o .objs/src/main.o .objs/src/prefix.o .objs/src/printdlg.o .objs/src/scriptconsole.o .objs/src/scriptingsettingsdlg.o .objs/src/splashscreen.o .objs/src/startherepage.o `wx-config --libs` -lcodeblocks -lwxaui -lwxscintilla
devel/libcodeblocks.so: undefined reference to `ScriptBindings::Register_UtilDialogs()'
collect2: ld returned 1 exit status
Process terminated with status 1 (16 minutes, 43 seconds)
1 errors, 11 warnings
it is defined in sc_util_dialogs.cpp, when searching your build log it seems that file has not been compiled. Check your project tree, it belongs to sdk\scripting\bindings.
I would say your are not using the latest cbp file !!!
...I'm getting the exact same error with C::B revision3545, on gentoo ~amd64. I don't use Codebocks-unix.cbp but an ebuild. The last successful compiling was with revision 3539. It was also fine with the older revs, too.
autorevision.h:14: error: 'SVN_REV' was not declared in this scope
...
...I'm getting the exact same error with C::B revision3545, on gentoo ~amd64. I don't use Codebocks-unix.cbp but an ebuild. The last successful compiling was with revision 3539. It was also fine with the older revs, too.
autorevision.h:14: error: 'SVN_REV' was not declared in this scope
...
If the issue is the sc_util_dialogs.cpp file is not being compiled, how do I add it?
Any idea?
Code::Blocks svn 3545
gcc-4.1.1-r3
Gentoo ~amd64
./bootstrap && ./configure --enable-contrib && make clean && makeThanks. I edited the ebuild, now it works as it used to be. I've switched to linux (gentoo) for one month and did not think it would be so easy. Thanks again.