News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

CodeBlocks 12.11release8629 does not compile with wxWidgets 2.8.12

Started by Linux_dWiebe, December 08, 2012, 04:54:24 AM

Previous topic - Next topic

Linux_dWiebe

Another compile problem, on the same computer. This time I am using the official releases of both wx and cb. Here is the error:

/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../codeblocks-12.11release8629/src/sdk -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../../../codeblocks-12.11release8629/src/include -I../../../../../codeblocks-12.11release8629/src/sdk/wxscintilla/include -I../../../../../codeblocks-12.11release8629/src/sdk/wxpropgrid/include -I../../../../../codeblocks-12.11release8629/src/include/tinyxml -I../../../../../codeblocks-12.11release8629/src/include/scripting/include -I../../../../../codeblocks-12.11release8629/src/include/scripting/bindings -I../../../../../codeblocks-12.11release8629/src/include/scripting/sqplus -I../../../../../codeblocks-12.11release8629/src/include/mozilla_chardet  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF  -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT macrosmanager.lo -MD -MP -MF .deps/macrosmanager.Tpo -c -o macrosmanager.lo ../../../../../codeblocks-12.11release8629/src/sdk/macrosmanager.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../../codeblocks-12.11release8629/src/sdk -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../../../codeblocks-12.11release8629/src/include -I../../../../../codeblocks-12.11release8629/src/sdk/wxscintilla/include -I../../../../../codeblocks-12.11release8629/src/sdk/wxpropgrid/include -I../../../../../codeblocks-12.11release8629/src/include/tinyxml -I../../../../../codeblocks-12.11release8629/src/include/scripting/include -I../../../../../codeblocks-12.11release8629/src/include/scripting/bindings -I../../../../../codeblocks-12.11release8629/src/include/scripting/sqplus -I../../../../../codeblocks-12.11release8629/src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT macrosmanager.lo -MD -MP -MF .deps/macrosmanager.Tpo -c ../../../../../codeblocks-12.11release8629/src/sdk/macrosmanager.cpp  -fPIC -DPIC -o .libs/macrosmanager.o
../../../../../codeblocks-12.11release8629/src/sdk/macrosmanager.cpp: In member function 'void MacrosManager::Reset()':
../../../../../codeblocks-12.11release8629/src/sdk/macrosmanager.cpp:91:33: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [macrosmanager.lo] Error 1
make[3]: Leaving directory `/usr/src/build/stable/cb/src/sdk'


I seem to remember getting this error with a different version, but I cannot remember how I fixed it.

Thanks in advance.

oBFusCATed

You need to enable the built in regex parser library for wx, also I think you're using ansi, but you have to use the unicode version.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]