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也记得改
相关推荐
LAOning1113 小时前
xcode 各版本真机调试包下载
ide·macos·xcode
安和昂14 小时前
【iOS】ARC 与 Autorelease
macos·ios·cocoa
豪冷啊16 小时前
iOS UIActivityViewController 组头处理
ios·objective-c·xcode
数据知道1 天前
Mac电脑上本地安装 MySQL并配置开启自启完整流程
mysql·macos
Cynthia-石头1 天前
Mac 双系统
macos
解压专家6661 天前
Mac/iOS 如何解压 RAR 格式压缩包:常用工具与详细操作步骤
macos·ios
用户098880217931 天前
Topaz Photo AI人工智能图像降噪 安装教程(Mac)
macos·mac·图像识别
白总Server1 天前
Golang 依赖注入:构建松耦合架构的关键技术
linux·运维·服务器·macos·架构·golang·xcode
awp2581 天前
Mac 芯片系列 安装cocoapod 教程
macos
海尔辛1 天前
Unity Mac 笔记本操作入门
macos·unity·游戏引擎