Hello I am trying to compile Code::Blocks Build 7251 and I receive the following error:
||=== Code::Blocks, src ===|
.objs\src\main.o:C:\codeblocks_head\trunk\src\src\main.cpp|1072|undefined reference to `_imp__cbEVT_PLUGIN_LOADING_COMPLETE'|
||=== Build finished: 1 errors, 0 warnings (2 minutes, 55 seconds) ===|
Using:
tdm-gcc ver. 4.5.2
wxWidgets-2.8.12
Quote from: ice031 on June 24, 2011, 06:59:40 AM
||=== Code::Blocks, src ===|
.objs\src\main.o:C:\codeblocks_head\trunk\src\src\main.cpp|1072|undefined reference to `_imp__cbEVT_PLUGIN_LOADING_COMPLETE'|
||=== Build finished: 1 errors, 0 warnings (2 minutes, 55 seconds) ===|
We had this discussion already. Make sure you do a full "
clean" (especially take care of the PCH files) before
re-build. If unsure, do a clean, new SVN checkout, having
deleted the old one before.
no, don't do that.
Just delete the devel folder in the base directory and rebuild.
outh: the pch (gch in fact) are not in the devel directory, but in the include directory! So your advice is incomplete.
the pch files are not the problem, it's trying to link to an old library that doesn't get cleaned in the devel directory. I already went through this myself.
which is actually in the /src directory not the base one, my bad.
also, rebuilding runs a clean which auto deletes the pch files in the include directory.
Quote from: ouch on June 24, 2011, 05:37:35 PM
also, rebuilding runs a clean which auto deletes the pch files in the include directory.
Have you verified the above; because I think it does not happen.
(At least on windows)
Tim S.
I can verify the pch files (gch) do get deleted on a clean in win7 64bit svn version 7249 of codeblocks using tdm mingw 4.5.2. (just did it to make sure)