0
我想在MacOS Sierra上安装一个开源软件(AB3P)。当我发出命令make
时,出现此错误:ld: library not found for -lops
。发出错误之前发出的make命令是:g++ -g -o make_wordSet make_wordSet.o -L./Library -lops -D_POSIX_C_SOURCE=199506L -lpthread
在MacOS Sierra上编译一个用C++编写的开源软件的问题Sierra
我拥有最新版本的MacOS Sierra和Xcode + Xcode命令行开发人员工具(撰写本文时)。此外gcc
安装,命令gcc --version
回报:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
我不知道如何来解决这个问题,有什么建议?
您发布的行与该项目的makefile中的任何内容都不相似。 – molbdnilo