User forums > Using Code::Blocks
Building CodeBlock
puneet_m:
After building the codeblock successfully, I execute it. Then I try to open a .cbp file using the new executable. It says "Deactivating the compiler plugin is most unwise. If you intend to open a project, you have to re-activate the compiler plugin first".
I also tried enable compiler from Plugins->Manage Plugins. But it does not show me any options for enabling compiler. Please suggest me something to fix this.
thomas:
Compile the plugins, too, not just the application. And then run update.bat.
You should do that anyway, or it will crash soon enough when you open a dialog.
puneet_m:
I am building the whole project. What do you mean by compile plugins too? Isnt the plugins included in CodeBlock.cbp?
I am running update.bat too.
This is the build log
WARNING: Can't read file's timestamp: C:\codeblocks-1.0svn4360.tar\src\plugins\compilergcc\depslib\src\main.c
Linking static library: plugins\compilergcc\depslib\libdepslib.a
ar.exe: .objs\plugins\compilergcc\depslib\src\main.o: No such file or directory
Process terminated with status 1 (0 minutes, 4 seconds)
0 errors, 0 warnings
Is the error because of the above warning that is generated?
TDragon:
The "Can't read file's timestamp" error occurs when the depslib component of the C::B executable that you're currently running was built with -O2 optimization under GCC 4.2. When building C::B with GCC 4.2, add "-fno-strict-aliasing" to fix this problem. Otherwise, wait for the next 4.2 release in which this compiler bug was fixed.
puneet_m:
How do I compile the plugins separately? I have built the CodeBlocks.cbp file. But when I execute the executable, there is just one plugin installed i.e. AyStyle. I cannot see any other plugin installed. Also when I click Help->About, it shows SVN 0. Why is that the case?
Navigation
[0] Message Index
[#] Next page
Go to full version