User forums > Help

Environment error

(1/2) > >>

Code.14:
When I open my codeblocks apear this error message "Environment error-can't find compiler executable in your configured search path's for GNU GCC compiler". What this mean?

stahta01:

--- Quote from: Code.14 on March 22, 2020, 11:42:39 am ---When I open my codeblocks apear this error message "Environment error-can't find compiler executable in your configured search path's for GNU GCC compiler". What this mean?

--- End quote ---

That you need to install a compiler or configure CB to use an already installed compiler.

Please read http://wiki.codeblocks.org/index.php/FAQ-General#Q:_What_Code::Blocks_is_not.3F

Tim S.

Eboy:
the thing is, https://www.fosshub.com/Code-Blocks.html?dwl=codeblocks-20.03mingw-setup.exe This doesn't come with the mingw compiler suite. It says it does, but it's hard for us windows users to find the compiler. The article on the download page says it comes with mingw, but actually doesn't. A work around is to download strawberry perl, but the pathing may mess up the computer IDK for sure to be honest about strawberry perl. Eitherway, it does seem that there's an issue with the installer itself when I click on the full installer and we still can't seem to find the GCC compiler on windows. Pathing may help, but I didn't get any compiler identified when configuring codeblocks fort the first time.

Also, the wiki is quite old, it's still saying the stable version is from 2016 : http://wiki.codeblocks.org/index.php/Main_Page

EDIT : The gcc.exe file is there, but the program can't find the compiler for some weird reason.

MortenMacFly:
Ok, I downloaded the setup, installed it an ran C::B. The compiler that is included and was installed also was detected properly. So I cannot reproduce.

What are the exact steps you did? Did you unselect something during installation? How big is the executable? Is there a "MinGW" sub- folder in the folder where you installed C::B to? What is that folder?

Eboy:
I think the issue is that it could be detecting a 32bit system on a 64bit system, not entirely sure, and yes, I will make a video if you would prefer on the install process. I gave you a link to the install I chose, which does encompass the mingw/gcc suite. I did select the full install so it should have encompassed the compiler itself.

EDIT : Sent via Private Message the link to the video mortymacfly.

EDIT 2 : https://drive.google.com/file/d/1PxLsIwLDUzidctBlrfRYpqiZMSbzdwoM/view?usp=sharing

EDIT 3 : found out how to solve this.

Navigation

[0] Message Index

[#] Next page

Go to full version