User forums > Using Code::Blocks

codeblocks ! help

(1/2) > >>

guizlan:
hello


i have a problem with codeblocks 8.02 when i do "build" ,an error appear :


Compiling: main.c
cc1.exe: error: unrecognized command line option "-Wfatal-errors"
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings.


plaise help me , what can i do ?


thank you so much .

MortenMacFly:

--- Quote from: guizlan on December 28, 2009, 04:04:19 pm ---cc1.exe: error: unrecognized command line option "-Wfatal-errors"
plaise help me , what can i do ?

--- End quote ---
The compiler you are using (which you did not tell) does not support that switch. So the solution is pretty simple: Don't use it! Disable the appropriate switch in the compiler options.

guizlan:
thank you

i do what you told me but an other error appear :


Compiling: C:\Program Files\Notepad++\pow.c
Execution of 'mingw32-g++.exe    -c "C:\Program Files\Notepad++\pow.c" -o "C:\Program Files\Notepad++\pow.o"' in 'C:\Documents and Settings\Administrateur\Menu Démarrer\Programmes\CodeBlocks' failed.
Nothing to be done.


here  :shock: i don't knew what can i do ?

thanks for your help

MortenMacFly:

--- Quote from: guizlan on December 28, 2009, 07:26:20 pm ---Execution of 'mingw32-g++.exe    -c "C:\Program Files\Notepad++\pow.c" -o "C:\Program Files\Notepad++\pow.o"' [...]

--- End quote ---
That means exactly what's written in the message: C::B cannot find the mingw32-g++.exe executable (the MinGW C++ compiler). So either you did not install the compiler, or you did not setup the compiler directory correctly o your compiler setup somehow is screwed up.

What *exactly* did you install (which bundle)? What platform/OS are you using, what compiler did you install, what compiler version?

guizlan:
i install  MinGW 5.1.6 but the installation was not completed successfully  with an error :"failure reading from tarball".

i use platform windows xp and the os tiny-tux.



Navigation

[0] Message Index

[#] Next page

Go to full version