First time here? Checkout the FAQ!
x
0 votes
by (17.5k points)

You might into the problem that CMake complains about not finding libclang_rt when trying to compile under macOS:

library not found for -lLIB_clang_rt.osx-NOTFOUND

1 Answer

+2 votes
by (17.5k points)
You can provide the path to this library manually, e.g. my running ccmake instead of cmake. It should be found in a path similar to this one depending on the XCode version you've installed:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a
by (570 points)
I've found one in:

`/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/lib/darwin/libclang_rt.osx.a`
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...