Open isomorphisms opened 9 years ago
If I read your issue title correctly, you are assuming that the build failure is the result of HOME
pointing to the nonexistent directory /Users/josh/Documents/code/knotkit/
.
However, the actual error line is /usr/bin/ld: cannot find -lc++
, that is, libc++ is not installed on your machine. Most likely, this means that you are building on a Linux system (where the C++ standard library is traditionally libstdc++
, not libc++
) which does not provide that library.
You might be able to fix this by changing --stdlib=libc++
to --stdlib=libstdc++
in the Makefile, or by installing libc++ (e.g. via sudo apt-get install libc++-dev
on Ubuntu).
I was going to say exactly what @addaleax did. @isomorphisms, did installing libc++ fix you problem? If so, I'd like to close the issue.