本文主要是介绍M芯片 mac配置Vulkan环境报错 Xcode,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
- 报错:
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也记得改
这篇关于M芯片 mac配置Vulkan环境报错 Xcode的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!