Code::Blocks Forums

User forums => Help => Topic started by: John Hoyle on November 17, 2022, 06:13:20 am

Title: Installation Problems
Post by: John Hoyle on November 17, 2022, 06:13:20 am
When i try to run CodeBlocks I get this message, "Can't find compiler executable in your configured search path".  I reinstalled twice and got the same result.
Title: Re: Installation Problems
Post by: Miguel Gimenez on November 17, 2022, 07:54:37 am
Did you install a compiler?. Where is it?.

See this link (https://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps) to setup manually the compiler.
Title: Re: Installation Problems
Post by: John Hoyle on November 19, 2022, 06:02:44 am
I thought everything I needed would be installed with everything else. I didn't realize i had to manually install the compiler.
I tried the manual method and I can't make it work either.
Title: Re: Installation Problems
Post by: Miguel Gimenez on November 19, 2022, 09:25:53 am
There are two versions of the installer (on Windows), one with a bundled compiler and other without it. You did not say your OS or the installer used.

Assuming it was the one with the bundled compiler and you are on Windows, the compiler's bin directory is in the Code::Blocks folder under "Program Files"
Title: Re: Installation Problems
Post by: wittmeba on November 20, 2022, 04:56:50 pm
New guy here too.
I too am having difficulties with the installation.  I have installed several versions of Code::Blocks, MinGW, Min GCC.
The page referenced for this:  MinGW GCC C/C++ Free Compiler, including GFortran  -  I get a blank page in my Firefox browser.  In chrome it offers a 30 day trial.
One of the Code::Blocks and/or MinGCC downloads indicates the compiler is included and installed automatically.  I don't find it.
My installation was on a different drive than Windows 10 but that should not matter.  There is no compiler I can find to put in the path of my environment.
Title: Re: Installation Problems
Post by: stahta01 on November 20, 2022, 06:42:47 pm
https://wiki.codeblocks.org/index.php/Installing_Code::Blocks (https://wiki.codeblocks.org/index.php/Installing_Code::Blocks)

https://wiki.codeblocks.org/index.php/Installing_the_latest_official_version_of_Code::Blocks_on_Windows (https://wiki.codeblocks.org/index.php/Installing_the_latest_official_version_of_Code::Blocks_on_Windows)

Quote from http://www.codeblocks.org/downloads/binaries/ (http://www.codeblocks.org/downloads/binaries/)
Quote
NOTE: The codeblocks-20.03mingw-setup.exe file includes additionally the GCC/G++/GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH).

Edit: Add link to FAQs
https://wiki.codeblocks.org/index.php/FAQ (https://wiki.codeblocks.org/index.php/FAQ)

Tim S.
Title: Re: Installation Problems
Post by: wittmeba on November 23, 2022, 09:26:26 pm
I did finally get my programs to compile using this filename from Code::Blocks:  codeblocks-20.03mingw-setup.exe

I wish the developers of Code::Blocks would take the main.c out of the set of files.  Obviously it causes problems for beginners getting started expecially with older code that one may know works but always get the main.c program.

I do hope to make some contribution to this forum.  Thanks.