Author Topic: code::blocks can't find GNU GCC Compiler  (Read 1338 times)

Offline novice1

  • Single posting newcomer
  • *
  • Posts: 4
code::blocks can't find GNU GCC Compiler
« on: July 30, 2021, 06:42:59 am »
=======================================================
Keyboard shortcuts conflicts
Keyboard shortcut conflicts found.
Use Settings/Editor/KeyboardShortcuts to resolve conflicts.
Conflicting menu items: 'Edit/Previous call tip' & 'File/Print...'
Both using shortcut: 'Ctrl-P' (IDs[658][-31840])

Can't find compiler executable in your configured search path's for GNU GCC Compiler

========================================================

Downloaded and ran codeblocks-20.03 mingw-setup.

I am a complete novice in terms of paths and so on ...

The first time years ago I installed code::blocks the same way and it worked ok except I couldn't figure out how to install graphic libraries to work with it so gave up.  I thought I would try c++ again so maybe the above problems are related to the previous uninstalled code::blocks?

Is there any reason code::blocks is so complicated?  The Arduino IDE downloaded and works great and that uses C++.



Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: code::blocks can't find GNU GCC Compiler
« Reply #1 on: July 30, 2021, 11:27:18 am »
Is the compiler actually installed?
If you go to the toolchain executable page in Settings -> Compiler -> GCC compiler would you see correct path to the compiler?
What happens if you press the auto-detect button?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline novice1

  • Single posting newcomer
  • *
  • Posts: 4
Re: code::blocks can't find GNU GCC Compiler
« Reply #2 on: July 30, 2021, 07:34:07 pm »
@oBFusCATed

Thank you very much for your reply.  While looking in the settings I found a reset button which seemed to fix it!!

It still had references to the SDL library which I tried to use in the code::blocks I uninstalled some time ago so maybe it wasn't properly uninstalled by windows.

When I started up code::blocks again from the desktop icon the task bar icon does some weird flashing about but settles down and the code::block program seems to fire up ok.
« Last Edit: July 30, 2021, 07:36:41 pm by novice1 »