Hi, I've been trying for 1 and a half hours to set code blocks up, I've tried various downloads, and i've searched on the internet for a while but could not understand the material. I am getting the following error messages 'can't find compiler executable in your search path(GNU GCC compiler)' I downloaded the version of codeblocks that came bundled with minGW, so I thought that it would have came with a compiler? I have very little knowledge about compilers, codeblocks, or operating systems. I am using Windows 7.
CodeBlocks is an open-source, cross-platform (Windows, Linux, MacOS), and free C/C++ IDE. It supports many compilers, such as GNU GCC (MinGW. Mar 9, 2019 - Code::Blocks is a free, open-source, cross-platform C, C++ and Fortran IDE. For instance, compiling and debugging functionality is already.
I downloaded the 3rd download on this page:. I had the same problem, and now i'm good to go. Download this That's the compiler that isn't actually there, you need to have it installed in order to use it. When installing i checked the c option for when i eventually learn enough to move up to it.
After installation is complete open CodeBlocks. Go to settingsCompilerToolChainExecutables and click the auto-detect button, and it should now detect the compiler you have just installed. Hope this is to some use 'This is all assuming you are using Windows btw' For future readers, When you download codeblocks, the first two options do not download the compiler with it. The third 4th do. I tried the first method suggested (restoring to defaults) and it didn't work. I think this was because there was no gnu gcc exe file. I tried the first method suggested (restoring to defaults) and it didn't work.
I think this was because there was no gnu gcc exe file.