User forums > General (but related to Code::Blocks)
codeblocks environment error
John Voelkel:
CodeBlocks I am 84 new to all this. Please help I hope I am posting at the correct spot.
When I installed CodeBlocks over a month ago it worked good. Then it suddenly began to give trouble and I did not work. The program started up but I get a note that says:
"Envioument error, Can't find compiler executable in your configured search path for GNU GCC"
When I go to Settings>compiler>toolchain
I see selected compiler: GNU GCC compiler
compiler installation directory C:\MinGW
Could not auto-detct compiler GNU GCC
NOTE: All programs must exist in the "bin" sub-directory of this path or any of the "additional" paths
I have uninstalled CodeBlocks 16.-01 and installed it again hoping to help but I still get the same message about the above "Environment error".
I am trying to get ready for an online C++ course that begins January 18
I am not very computer savy and at 84 am trying to keep my brain active. I need step by step help. I have tried the segustions for my Google search. Please help
stahta01:
Install a Compiler!
Or install Code::Blocks IDE that ships with a Compiler. It has mingw in its filename.
Tim S.
John Voelkel:
Thanks for the reply. I thought I did install CodeBlocks with the compiler GNU GCC.
When I go to settings>compiler it shows GNU GCC as the compiler. Uninstalling and reinstalling has hot changed things. What surprises me is that my original install worked for a while and I was able
to compile files shown in the book I bought "Teach Yourself C++" from Sams. The things for me to
repair are things I don't know where to begin.
oBFusCATed:
Goto the toolchain executables tab of this GCC compiler and see what executables and where C::B tries to execute.
Then go to this folder and see if the executables are still there.
stahta01:
Do you know what a filename is?
If yes, what was the filename of the CB exe you installed?
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version