We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
新手容易遇到的错误 首先感谢大佬 fangjun 1.首先,不要对代码进行任何修改, 编译 sherpa-ncnn。使用cmake,如果没有的话可以先装一个。 2.打开mfc下的sln进行编译 3.如果提示ms8041.这个是缺少对应的mfc导致的,经过上网,装了一堆vs2019的兼容,其实是不需要的,需要的是 a.C++ MFC for latest v143 build tools (x86 & x64) b.C++ MFC for latest v143 build tools (x86..... c.C++ Modules for v143 build tools (x86/x64 d.C++/CLl support for v143 build tools 一般情况下,以上安装即可,记得,一定是要又c,c++。 4.编译的时候会出现c-api头文件错误,缺少头文件,此时可将源码中的绝对路径删掉,将sherpa-ncnn\c-api 文件夹加入包含 5.最最最后,一定要检查,是release编译,不能使用debug方式,会报缺乏lib的问题。更不要像我一样,在debug下自以为聪明的将生成的几个lib加入工程内,不然会爆出351个莫名err。 ps: 生成后的exe记得添加模型,不然还是跑不起来...... 非常感谢此项目 tear
The text was updated successfully, but these errors were encountered:
No branches or pull requests
新手容易遇到的错误
首先感谢大佬 fangjun
1.首先,不要对代码进行任何修改, 编译 sherpa-ncnn。使用cmake,如果没有的话可以先装一个。
2.打开mfc下的sln进行编译
3.如果提示ms8041.这个是缺少对应的mfc导致的,经过上网,装了一堆vs2019的兼容,其实是不需要的,需要的是
a.C++ MFC for latest v143 build tools (x86 & x64)
b.C++ MFC for latest v143 build tools (x86.....
c.C++ Modules for v143 build tools (x86/x64
d.C++/CLl support for v143 build tools
一般情况下,以上安装即可,记得,一定是要又c,c++。
4.编译的时候会出现c-api头文件错误,缺少头文件,此时可将源码中的绝对路径删掉,将sherpa-ncnn\c-api 文件夹加入包含
5.最最最后,一定要检查,是release编译,不能使用debug方式,会报缺乏lib的问题。更不要像我一样,在debug下自以为聪明的将生成的几个lib加入工程内,不然会爆出351个莫名err。
ps:
生成后的exe记得添加模型,不然还是跑不起来......
非常感谢此项目
tear
The text was updated successfully, but these errors were encountered: