1

I'm trying to compile my code with g++

g++ practice.cpp

I have xcode command line tools installed, but I get this error. What should I do?

sh: line 1:  1258 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -find g++ 2> /dev/null
g++: error: unable to find utility "g++", not a developer tool or in PATH
Katerina
  • 11
  • 4

0 Answers0