It’s important to also include LLVM’s normal include path because this is where it should search first. This can be done by setting the CPLUS_INCLUDE_PATH env variable. The C++ compiler needs to be told to look at this root path instead of /usr/include. ![]() ![]() To get the correct path for your system you can run the xcrun -show-sdk-path command. They will be installed in /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk or a similar directory. This will install the C++ header files and libraries, albeit, in a different directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |