Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Pimptech on October 07, 2012, 09:26:27 am
-
Hello guys!
I have a little problem to compile my project in C.
I already have the MingW installed and configured on my C::B...
But when i press CTRL+SHIFT+F9...
On "Build Log" tab shows...
"Nothing to be done."
Just it.. i've already checked the Toolchain configuration, but nothing works.
by the way, I compiled it by the CMD.exe with gcc, but i want to compile directly on C::B.
Any ideas ?
[]'s
-
Yes, read this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
-
Any ideas ?
Well if you really compiled it before on the command line and the target is up-to-date therefore, C::B is telling you the truth: Nothing to be done.
Try to re-build your project if you really want to do a build from scratch.
For an explanation: C::B tries to minimise the build effort by checking the file's date stamps before compilation. If an application is newer than all source files that belong to this application the build is omitted. This is by design and very helpful for large scale projects. To overcome this feature, you have to use re-build which forces C::B to ignore the date stamps of the files.
-
Any ideas ?
Well if you really compiled it before on the command line and the target is up-to-date therefore, C::B is telling you the truth: Nothing to be done.
Try to re-build your project if you really want to do a build from scratch.
For an explanation: C::B tries to minimise the build effort by checking the file's date stamps before compilation. If an application is newer than all source files that belong to this application the build is omitted. This is by design and very helpful for large scale projects. To overcome this feature, you have to use re-build which forces C::B to ignore the date stamps of the files.
Exactly that.. the default GNU compiler was using mingw-gcc what forces the use of libgcc.dll (it isn't this name, but is something like that).. so i've changed the ming-gcc by gcc now it's doing compiling and running without any problems with DLL reference.
Thanks MortenMacFly!