User forums > Help

Compiler Error C::B build 7251 - undefined reference _imp_cb_EVT_

(1/2) > >>

ice031:
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

MortenMacFly:

--- 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) ===|

--- End quote ---
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.

ouch:
no, don't do that.

Just delete the devel folder in the base directory and rebuild.

oBFusCATed:
outh: the pch (gch in fact) are not in the devel directory, but in the include directory! So your advice is incomplete.

ouch:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version