Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: guizlan on December 28, 2009, 04:04:19 pm
-
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 .
-
cc1.exe: error: unrecognized command line option "-Wfatal-errors"
plaise help me , what can i do ?
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.
-
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
-
Execution of 'mingw32-g++.exe -c "C:\Program Files\Notepad++\pow.c" -o "C:\Program Files\Notepad++\pow.o"' [...]
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?
-
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.
-
but the installation was not completed successfully with an error :"failure reading from tarball".
"Nice". :| So you did not succeed in installing the compiler and wonder why you get compiler errors...?! Now guess another time why that is... :roll:
Instead of using MinGW 5.1.6 you can try to obtain the packages needed (referenced in our C::B WiKi) from MinGW.org and unpack them yourself using e.g. 7-zip.
-
or get (non official) MinGW from here : http://www.tdragon.net/recentgcc/
-
thank you,
or get (non official) MinGW from here : http://www.tdragon.net/recentgcc/ (http://www.tdragon.net/recentgcc/)
but i don't knew which link i choose on this site http://www.tdragon.net/recentgcc/ (http://www.tdragon.net/recentgcc/).
can you help me , because i don't knew good the language "anglais",forgive-me.
-
http://sourceforge.net/projects/tdm-gcc/files/TDM-MinGW%20Installer/1.908.0/tdm-mingw-1.908.0-4.4.1-2.exe/download
-
thank you so much :D.