Author Topic: Installation Problems  (Read 3643 times)

Offline John Hoyle

  • Single posting newcomer
  • *
  • Posts: 2
Installation Problems
« 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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: Installation Problems
« Reply #1 on: November 17, 2022, 07:54:37 am »
Did you install a compiler?. Where is it?.

See this link to setup manually the compiler.

Offline John Hoyle

  • Single posting newcomer
  • *
  • Posts: 2
Re: Installation Problems
« Reply #2 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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: Installation Problems
« Reply #3 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"

Offline wittmeba

  • Single posting newcomer
  • *
  • Posts: 2
Re: Installation Problems
« Reply #4 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.
« Last Edit: November 20, 2022, 05:01:31 pm by wittmeba »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Installation Problems
« Reply #5 on: November 20, 2022, 06:42:47 pm »
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

Quote from 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

Tim S.
« Last Edit: November 23, 2022, 10:08:44 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wittmeba

  • Single posting newcomer
  • *
  • Posts: 2
Re: Installation Problems
« Reply #6 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.