Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1 mac下编译项目报与opencv相关的错 #3

Open
lianjianjie opened this issue Nov 6, 2021 · 3 comments
Open

M1 mac下编译项目报与opencv相关的错 #3

lianjianjie opened this issue Nov 6, 2021 · 3 comments

Comments

@lianjianjie
Copy link

报错信息:
building for iOS Simulator, but linking in object file built for iOS, file '/Users/XX/Documents/iosProject/MagicCamera/Pods/OpenCV/opencv2.framework/opencv2' for architecture arm64
麻烦看下我是哪里没配置吗?

@william0wang
Copy link
Owner

报错信息: building for iOS Simulator, but linking in object file built for iOS, file '/Users/XX/Documents/iosProject/MagicCamera/Pods/OpenCV/opencv2.framework/opencv2' for architecture arm64 麻烦看下我是哪里没配置吗?

我用的是老款 Intel macbook,没在M1下测试过。你可以试试删除当前的依赖,重新安装opencv库

@cikichen
Copy link

我是M1,可以用的,主要是模型要放对地方,主要问题是为什么实际效果和这个参考图差别这么大

@william0wang
Copy link
Owner

我是M1,可以用的,主要是模型要放对地方,主要问题是为什么实际效果和这个参考图差别这么大

参考图就是用App生成的,只不过拍照的话因为光线背景等等原因确实效果不稳定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants