M芯片 mac配置Vulkan环境报错 Xcode

  1. 报错:
    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)
    解决:
  2. 重新安装brew reinstall glfw(检查是不是arm64)
  3. Library Search Paths /usr/local/lib改成/opt/homebrew/lib
  4. header Search Paths /usr/local/include改成/opt/homebrew/include
  5. Link Binary With Libraries记得也替换成arm64的glfw
  6. copy file也记得改
相关推荐
humiaor3 小时前
Xcode报错:No exact matches in reference to static method ‘buildExpression‘
swiftui·xcode
GEEKVIP3 小时前
如何在没有备份的情况下恢复 Mac 上丢失的数据
经验分享·笔记·安全·macos·电脑·笔记本电脑·改行学it
yanling20233 小时前
黑神话悟空mac可以玩吗
macos·ios·crossove·crossove24
归辞...5 小时前
「iOS」viewController的生命周期
ios·cocoa·xcode
Vzhangs6 小时前
MacOS Sonoma(14.x) 大写模式或中文输入法下的英文模式,光标下方永远会出现的CapsLock箭头Icon的去除办法
macos
crasowas10 小时前
Flutter问题记录 - 适配Xcode 16和iOS 18
flutter·ios·xcode
2401_8524035510 小时前
Mac导入iPhone的照片怎么删除?快速方法讲解
macos·ios·iphone
Vzhangs1 天前
MacOS Safari浏览器按ESC就退出全屏模式的去除办法
macos·safari
htt7891 天前
ARP:IP到MAC地址转换
服务器·tcp/ip·macos
蒙娜丽宁1 天前
Go语言错误处理详解
ios·golang·go·xcode·go1.19