User forums > Help

Need help with getting compiler

(1/1)

ghyng_11:
I tired downloading the suggested codeblocks-8.02mingw-setup.exe which i thought would also give me GNU GCC Compiler but it says that i dont  have it and when i try to run a project it says invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].

ollydbg:

--- Quote from: ghyng_11 on April 01, 2009, 06:07:18 am ---I tired downloading the suggested codeblocks-8.02mingw-setup.exe which i thought would also give me GNU GCC Compiler but it says that i dont  have it and when i try to run a project it says invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].

--- End quote ---
codeblocks-8.02mingw-setup.exe has a mingw package bundled. As far I can remember, it was located in your codeblocks installed folder/Mingw/XXX.

If you have more than one mingw package in your system, it it prone to have  compiler problems. So uninstall the other ones, and keep only one MinGW.

Jenna:

--- Quote from: ghyng_11 on April 01, 2009, 06:07:18 am ---I tired downloading the suggested codeblocks-8.02mingw-setup.exe which i thought would also give me GNU GCC Compiler but it says that i dont  have it and when i try to run a project it says invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].

--- End quote ---

Make sure there is a MinGW subfolder in your codeblocks install directory.

If it is not there (you might have accidently unchecked to install MinGW compiler suite), reinstall C::B.
If it is there open "Settings... -> Compiler and debugger... -> Global compiler settings -> GNU GCC Compiler -> Toolchain executables" and try to run the autodetection.

If it does not find the correct directory, try to add it manually, add only the base folder of gcc, the one including the bin directory, not the bin-directory itself.

ghyng_11:
I got it to auto detect thx for the help!!!!

Navigation

[0] Message Index

Go to full version