-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
编译MNN出错 #186
Comments
same problem. “MNN_generated.h”: No such file or directory. @li-qing |
chmod 777 schema/generate.sh
chmod 777 tools/converter/generate_schema.sh
./schema/generate.sh then run start to cmake and make. |
I have tried to run the ./schema/generate.sh script. But error occurs as following: windows10 + vs2019 + cmake3.14 |
�If you are are installing on windows, �you should use nmake. Read the install_cn.md for details. |
我就是按照install_cn.md里面执行的,在nmake的时候总是报找不到MNN_generated.h头文件,请问是缺少其他必要的步骤吗? |
可以看一下这个帖子https://github.com/alibaba/MNN/issues/156#issuecomment-510958784,你应该遇到了同样的问题。./schema/generate.ps1并没有执行成功,需要先正确安装flatc.exe. |
@woodrocky @li-qing 谢谢回答,我按照上面帖子里的编CPU顺利编过了,但是我想编支持VULKAN加速的库,我执行 |
It seems GPU acceleration is not well supported on Windows. At least OPENCL is not supported on Windows now. But I am not sure about the VULKAN. Maybe you need to check the DOCS or ask the |
目前vulkan还未在windows,linux验证过,看编译log,判断是一些语言特性不兼容导致。vulkan近期会做windows适配。 |
仍然无效,打开了脚本权限,然后执行出现
|
/wuxl/MNN/source/core/Backend.cpp:12:27: fatal error: MNN_generated.h: No such file or directory
请问大佬怎么解决
@ @nihui @llhe @intheway @li-qing @80945
The text was updated successfully, but these errors were encountered: