Closed theoparis closed 3 months ago
Nevermind, it turns out my custom built clang doesn't pick up Xcode headers and libraries. I added
export LDFLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib"
export CFLAGS="-isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
export CXXFLAGS="-isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
to my .zshrc and it fixed the problem.
After commenting this line out, I get these errors:
and
Not sure what's going on...