"llvm-g ++: command not found" when creating BitCoin

I followed this guide:

When I ran:

make -f makefile.osx USE_UPNP=-

here is what i got in the terminal:

/bin/sh ../share/genbuild.sh obj/build.h
fatal: bad default revision 'HEAD'
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6 -DUSE_UPNP=- -DHAVE_BUILD_INFO -I"/Users/Bob/mycoin/src" -I"/Users/Bob/mycoin/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/version.d -o obj/version.o version.cpp
/bin/sh: llvm-g++: command not found
make: *** [obj/version.o] Error 127
+4
source share
1 answer

Since Xcode 5 no longer comes with llvm-g++, you need to install it manually. One possible way is to install command line tools.

Another option - simply install CXXin g++to makefile.osx.

+2
source

All Articles