I am running Code::Blocks version Code::13.12 on macOS Version 10.14.6
The compiler I use is GNU GCC Compiler
When I try to build and run any code by either clicking Build > Build & Run or just F9, I get the message "It seems that this project has not been built yet. Do you want to build it now?" Then, whether I click "No," "Cancel," or "Yes," the same thing happens: nothing.
For example/dummy code, if I run:
#include <iostream>
using namespace std;
int main()
{
char box = 'z';
cout << box << endl << box << endl;
return 0;
}
that prompt saying "It seems your project has not been built yet" comes up.
The build log after I ran that code is this:
-------------- Build: Debug in Tutorial (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -c /Users/teddyhiggins/Desktop/Folders/Tutorial/main.cpp -o obj/Debug/main.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
All the best, and thank you for any help.