News:

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

Main Menu

OS 10.9.5 Can't Build

Started by truegold, September 21, 2015, 06:52:33 PM

Previous topic - Next topic

truegold

Hi All,

New to building/compiling. XCode 6.2 installed. CommandLineTools installed (Library->Developer...)

Created a simple "Hello World" project, immediately selected Build and...


-------------- Build: Debug in test (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g -std=c++0x  -c /Users/JJF/Documents/CodeBlocks_/test/main.cpp -o obj/Debug/main.o
xcrun: error: active developer path ("/Volumes/HD-iMac_1TB/Macintosh HD/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change

Looks like it's pointing to a directory that's on a portable drive. Didn;t realize xCode was not installed locally when I installed CodeBlocks.

Where is the "active developer path" set? HOW do I set this path correctly? I can't find it???

Thanks,
John...

truegold

Hi All,

for those who run into this in the future. I found a link to reset the active developer using this command line in Terminal:

sudo xcode-select -switch /Applications/Xcode.app

Type in your password and then restart CodeBlocks.

I think it worked although I didn't see anything.

So...

Thanks,
John...