Hey there, Im on linux so no UI for looking at libs
However I ran all wx-config examples from the makefiles and found no references to wx_gtk-2.4 from their output
I also grepped the entire tree for "wx_gtk-2.4", and found no result, so this is very confusing.
Finally wrapping g++ seemed to be the last resort....
#!/usr/bin/python
# rename g++ to g++.real
import sys
import os
# print ' '.join(sys.argv)
args = sys.argv
args = [a for a in args if 'wx_gtk-2.4' not in a]
args = [a for a in args if 'DAPP_PREFIX' not in a]
os.system(' '.join(args).replace('g++', 'g++.real'))
APP_PREFIX define's to "\"/usr/local\"" gave a compile error
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/src/wxAUI -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -Ulinux -Uunix -O2 -ffast-math -O2 -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp
appglobals.h:231:1: error: pasting "L" and "/" does not give a valid preprocessing token
In file included from ./sdk_precomp.h:10:
appglobals.h: In member function 'bool CodeBlocksApp::LoadConfig()':
appglobals.h:231: error: 'L' was not declared in this scope
appglobals.h:231: error: 'usr' was not declared in this scope
appglobals.h:231: error: 'local' was not declared in this scope
removing this define with the wrapped g++ worked.
but after that I had linking errors
test -z "/usr/local/share/codeblocks/plugins" || /usr/local/bin/mkdir -p "/usr/local/share/codeblocks/plugins"
/bin/sh ../../../libtool --mode=install /usr/local/bin/ginstall -c 'libdebugger.la' '/usr/local/share/codeblocks/plugins/libdebugger.la'
libtool: install: warning: relinking `libdebugger.la'
(cd /usr/src/codeblocks/src/plugins/debuggergdb; /bin/sh ../../../libtool --tag=CXX --mode=relink g++ -O2 -ffast-math -O2 -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -L/usr/local/lib -L/root/garnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -module -version-info 0:1:0 -shared -no-undefined -avoid-version -o libdebugger.la -rpath /usr/local/share/codeblocks/plugins backtracedlg.lo breakpointsdlg.lo cdb_driver.lo cpuregistersdlg.lo databreakpointdlg.lo debugger_defs.lo debuggerdriver.lo debuggergdb.lo debuggeroptionsdlg.lo debuggeroptionsprjdlg.lo debuggerstate.lo debuggertree.lo disassemblydlg.lo editbreakpointdlg.lo editwatchdlg.lo editwatchesdlg.lo examinememorydlg.lo gdb_driver.lo gdb_tipwindow.lo threadsdlg.lo ../../sdk/libcodeblocks.la -lpthread -ldl )
mv: cannot stat `libdebugger.so': No such file or directory
libtool: install: error: relink `libdebugger.la' with the above command before installing it
make[5]: *** [install-libLTLIBRARIES] Error 1
make[5]: Leaving directory `/usr/src/codeblocks/src/plugins/debuggergdb'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/usr/src/codeblocks/src/plugins/debuggergdb'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/src/codeblocks/src/plugins/debuggergdb'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/src/codeblocks/src/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/codeblocks/src'
make: *** [install-recursive] Error 1
Configuring with these options worked though...
make distclean ; ./configure; make -j3; make install
make distclean ; ./configure --enable-static --disable-shared ; make -j3; make instal
Yes thats right, for some reason the static codeblocks still wants wants libcodeblocks.so, and it only works with the libcodeblocks.so created from a clean build, the clean build however fails with plugins, so doing a static build after that gives a working binary.
phew :/
so, I have codeblocks now

, Im not certain if these problems are on my system or with codeblocks... I can build wine, gimp, blender3d, xorg, linux kernel, qt4.x, mesa, gnome, gcc... on my system so its unusual I have these problems.