在c++大Sur上的conda环境中编译MacOS项目时,可能会出现错误ld: unsupported tapi file type '!tapi-tbd' in YAML file
。怎么继续?
发布于 2021-09-18 08:08:48
在Big上,命令行工具附带的SDK太新了。需要下载并使用旧版本的:
tar xf MacOSX10.10.sdk.tar.xz -C /opt
~/.condarc
中添加以下行conda_build:
config_file: ~/.conda/conda_build_config.yaml
~/.conda/conda_build_config.yaml
不存在,则创建它,并添加:CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.10.sdk # [osx]
非常感谢ihnorton
在这个线程上。
https://stackoverflow.com/questions/69236331
复制相似问题