System : Debian Unstable (GNU Linux)
wx-Version : wxWidgets 2.61 (unicode) (and yes, wx-common IS installed ;-))
g++ Version : 4.0.3
CB-Version : SVN HEAD (rev. 1542)
Hi,
I encounter a linker-Error while trying to compile the current Code::Blocks SVN HEAD :
trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxScintilla::FindText(int, int, wxString const&, int, int*)'
collect2: ld returned 1 exit status
Does anyone know how to solve this error !?
Thank's in advance
DanDanger
PS :
There is also a error in
"trunk/src/sdk/confimanager.h" (Line 201)
if(TiXmlNode *n = ph.FirstChild(key).FirstChild("objmap").Node())
must be changed to :
if(TiXmlNode *n = ph.FirstChild(key.ToAscii()).FirstChild("objmap").Node()) // <-- key.ToAscii()
Otherwise, TinyXML is not able to compile in Unicode-Mode.
Greetings
DanDanger
Hi,
Yes, manually delete sdk/sdk.h.gch. The precompiled header holds an older signature of this function.
unfortunately, this doesn't work ;-(
Every time I type 'make', the Pre-Compiled Header will be generated new.
So, i edited the Makefile in "src/sdk/Makefile"
"src/sdk/Makefile" (Line 268)
Changed :
#BUILT_SOURCES =
BUILT_SOURCES = $(srcdir)/sdk.h.gch
to :
BUILT_SOURCES =
#BUILT_SOURCES = $(srcdir)/sdk.h.gch
(apparently, i am not the only one with this Problem ;-) )
So, I typed 'make clean" and recompiled everything.
The "sdk.h.gch"-File is gone, however, the same linker-error is still there ;-(
I could not find any other Pre-Compiled headers in the "src/"-Directory, so i wonder
if something is wrong with the Makefiles... ?
Any suggestions ?
Greetings
DanDanger