Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: truegold on September 21, 2015, 06:52:33 pm
-
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...
-
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...