User forums > Help
Code::Blocks 10.05
(1/1)
lolsee2:
even though Code::Blocks 10.05 has jus been release, but i still gt this error.... i can't run the build and run the program. the default compiler is GNU GCC compiler.
[attachment deleted by admin]
MortenMacFly:
--- Quote from: lolsee2 on June 02, 2010, 05:02:18 pm ---but i still gt this error.... i can't run the build and run the program. the default compiler is GNU GCC compiler.
--- End quote ---
Well - the error message is pretty clear and originating from YOUR system. The directory you are trying to use is either set read-only, not accessible or you don't have sufficient rights to write into it. Check your access rights and output folder settings of the project. If you are developing a virus, your AV software might also cause this.
Next time please also accept our forum rules by posting what OS / OS version you are using. Also enabling the full compiler log might help.
franzl:
I still have the problem with wrong default compiler settings for intel compiler on linux, as I posted in nightlys forum
--- Quote from: franzl on March 20, 2010, 12:48:15 pm ---When I create a new project with the current nightly on Linux with the Intel C++ Compiler the default compiler settings are not correct. Codeblocks uses the windows compiler settings, but they differ from those which are needed under Linux.
http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/index.htm
Creating a C/C++ project the defaults are:
- general: /EHs (enable synchronous C++ exception handling model)
- Debug: /Zi (generate full debugging information in the object file)
- Release: /O2 (enable optimizations for speed)
Correct ones would be:
- general: (not existing under Linux)
- Debug: -g
- Release: -O2
--- End quote ---
these flags are not global settings, but can be found here: projects build options -> compiler settings -> other options. Of course every time I create a new project I can fix this manually. But is there a user setting to remove these default settings generally?
kind regards
Franzl
Navigation
[0] Message Index
Go to full version