我正在尝试在Mac OS上运行一个适用于Ubuntu的项目,但在进行“make”时出现以下错误:
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [consumer] Error 1
make[1]: *** [CMakeFiles/consumer.dir/all] Error 2
make: *** [all] Error 2
我在该项目中找不到任何名字为thole的库。
有人能解释一下这是什么,并且如何解决吗?
-lrt
。 - Konrad Rudolph