User forums > Using Code::Blocks
Many build project messages!
jiao:
Hi, when I rebuild my project, I press f9, it asks me if I want to build the project, I press yes and it compiles a file and then stops. I press f9 again, and it asks me AGAIN is I want to build the project then it compiles another file and stops. and so on 4-5 times until it finally links the whole file and runs.. Is this normal?
The project consists of 10 files and I use a main header (i.e. every one of my .cpp has the #include "main.h" and only that as an include). How can I make it compile everything at once?
jiao:
Also, after each time it compiles a file, I see in the build log:
mingw32-g++.exe: /Ox: No such file or directory
Biplab:
Remove /Ox compiler option. That is meant for MSVC compilers. :)
jiao:
Thanks! Found it!
Also, I notice this at some point:
Compiling: resource.rc
gcc: and\: No such file or directory
gcc: Settings\Justin\My\: No such file or directory
gcc: Documents\apps\CodeBlocks\MinGW\include: No such file or directory
probably unrelated, and it doesn't cause any problems as it compiles fine now using feb2 nightly.
Biplab:
Goto Project > Build options menu. Then click on Compiler > Other options tab. See if the option is there.
Navigation
[0] Message Index
[#] Next page
Go to full version