- 报错:
Ignoring file ‘/usr/local/Cellar/glfw/3.3.4/lib/libglfw.3.3.dylib’: found architecture ‘x86_64’, required architecture ‘arm64’
Undefined symbols:
Linker command failed with exit code 1 (use -v to see invocation)
解决: - 重新安装brew reinstall glfw(检查是不是arm64)
- Library Search Paths /usr/local/lib改成/opt/homebrew/lib
- header Search Paths /usr/local/include改成/opt/homebrew/include
- Link Binary With Libraries记得也替换成arm64的glfw
- copy file也记得改
文章来源地址https://www.toymoban.com/news/detail-844102.html
文章来源:https://www.toymoban.com/news/detail-844102.html
到了这里,关于M芯片 mac配置Vulkan环境报错 Xcode的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!