Environment Error in CodeBlocks(problems in compiler) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Environment Error in CodeBlocks(problems in compiler)

I downloaded the codeblocks 20.03 mingw version ...when i am opening the codeblocks its shows Environment error and some compiler error. But its a version with compiler . I tried to reset defaults at global compiler setting but its saying "Could not auto detect installation path of GNU GCC compiler ". . What should i do now ? My OS is = Windows 10 pro 64bit CodeBlocks downloaded on = codeblocks-20.3mingw-setup.exe

31st Mar 2020, 5:55 AM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar
5 Answers
+ 1
I mean, you can certainly try, I just don't understand why it shouldn't work. I am using 20.03 myself and had no problem with my custom MinGW distribution. If you double-checked that the paths to your bin folder in the top bar as well as the executables are correct and it says nothing else, then I don't think I can help you. Troubleshooting is a bit hard like this, sorry. Maybe someone else stumbling across this has an idea.
31st Mar 2020, 8:18 PM
Shadow
Shadow - avatar
+ 1
Have you already tried setting all the toolchain executables by hand instead of running the auto-detection? You can find them in the bin folder of your MinGW distribution, which is part of your codeblocks folder.
31st Mar 2020, 10:38 AM
Shadow
Shadow - avatar
0
I tried .but its not working .
31st Mar 2020, 5:49 PM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar
0
Should i try VS for coding ?
31st Mar 2020, 5:50 PM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar
0
I also had this problem in my laptop(codeblock) ,actually after installing the codeblock when i opened it first time, i got a popup of 4 options one of them was 1.leave as it is . I clicked another one i don't remember what was that so i did again install then next time i slect leave as it is then i got codeblock workable so you can check this also.
8th Jul 2020, 11:39 AM
Arpit Katiyar