User forums > Help

Code::Blocks not recognizing compiler

<< < (2/6) > >>

stahta01:
Simple thing that needs checked. What compiler is the project using?

From memory, "Project" -> "Build Options" and verify it is using the correct compiler.

Tim S

jon14:

--- Quote from: stahta01 on June 21, 2007, 05:07:02 am ---Simple thing that needs checked. What compiler is the project using?

From memory, "Project" -> "Build Options" and verify it is using the correct compiler.

Tim S


--- End quote ---

Yes, it seems to be using the right one. The default compiler is set to GNU GCC.
Here's the menu:


There also seem to be 2 other compilers that share the GNU name. GNU ARM and GNU AVR. I tried switching to both, but it still gives me the same error.

stahta01:
What OS are you using? XP or Vista?

Have you verified that C:\MinGW contains an bin sub-folder?

Tim S

jon14:

--- Quote from: stahta01 on June 21, 2007, 04:05:59 pm ---What OS are you using? XP or Vista?

Have you verified that C:\MinGW contains an bin sub-folder?

Tim S

--- End quote ---

I'm running Vista. And yes, My MinGW file does have a bin folder.

darthdespotism:
I worked it out a few weeks ago.

First search for your cc1plus.exe and add this Directory to your %PATH% - Environment - variable.

The try to compile the Hello World example with -v and try to reconstruct the Directorys told as "not found" at the beginning of the output. Add these via -I directly to the MinGW-Settings in Codeblocks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version