tho*_*efe 6 c++ ld conda macos-big-sur
在 MacOS Big Sur 上的 conda 环境中编译 c++ 项目时,
ld: unsupported tapi file type '!tapi-tbd' in YAML file可能会出现该错误。如何进行?
在 Big Sur 上,命令行工具附带的 SDK 太新了。需要下载并使用较旧的版本:
tar xf MacOSX10.10.sdk.tar.xz -C /opt~/.condarc:conda_build:
config_file: ~/.conda/conda_build_config.yaml
Run Code Online (Sandbox Code Playgroud)
~/.conda/conda_build_config.yaml如果不存在则创建并添加:CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.10.sdk # [osx]
Run Code Online (Sandbox Code Playgroud)
非常感谢ihnorton这个线程。
| 归档时间: |
|
| 查看次数: |
2528 次 |
| 最近记录: |