Author Topic: Code Blocks possibly installed incorrectly.  (Read 863 times)

Offline confused_pelican

  • Single posting newcomer
  • *
  • Posts: 1
Code Blocks possibly installed incorrectly.
« on: March 06, 2018, 04:23:11 pm »
When trying to run a simple Hello World program, my code blocks IDE displays this error message:
"xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun"
Which suggests to me that something has not installed correctly. This is on a Mac if that helps. Thanks in advance

Online Commaster

  • Multiple posting newcomer
  • *
  • Posts: 85
Re: Code Blocks possibly installed incorrectly.
« Reply #1 on: March 06, 2018, 05:53:11 pm »
Google says you haven't installed XCode command line tools. Completely unrelated to Code::Blocks.

Something like
Code: [Select]
xcode-select --install

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: Code Blocks possibly installed incorrectly.
« Reply #2 on: March 06, 2018, 05:57:50 pm »
Also: what does
Quote
When trying to run a simple Hello World program, my code blocks IDE displays this error message
mean?
You try to run it with Project->run?
You try to run it with double click on the program icon?
You try to compile it?
Where does the error message pops up?
How do you have codeblocks installed?

Please provide exact steps and build logs....