News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

CAN'T FIND bin FILE FOR GCC

Started by GH3OHIO, February 06, 2016, 05:42:47 PM

Previous topic - Next topic

GH3OHIO

I can't find the bin file for gcc!
I'm trying to run gcc under windows 10. I followed your video of Nov 21, 2015 and got as far as the point where the narrator showed his path to the CodeBlocks folder:
C:\Program Files(x86)\CodeBlocks
I got the same path when I did it on my computer. But then when he opened his CodeBlocks folder, it contained two subfolders (MinGW and share) and a bunch of exe and dll files. When I opened mine, the MinGW folder was missing. Furthermore, I couldn't find anything in the CodeBlocks path that looked like MinGW or bin.
When I tried to build a project to run the hello world program, I got error messages telling me that the IDE couldn't find the compiler. When I tracked the toolchain, I found out that the IDE was expecting to find the missing file directly in the C: disk. It was expecting C:\MinGW, which does not exist. What do I try next?
GH3OHIO

MortenMacFly

If you carefully read the C::B download page, then you'd figure out that we provide different versions of Code::Blocks. Versions with and without compiler. Pick the one you need.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

jphturtle

 :-[ I have a similar error. But I read the web page, and downloaded the code blocks version with compiler, still get the same error.  :P