-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
如何在提供编译build-onnxruntime-vs2019.bat 添加onnxruntime -T v140 #424
Comments
看了一下build.py,这样添加是否正确。 |
看onnxruntime源代码,第517行 只支持这些选项 再看官方的说明文档 The default Windows CMake Generator is Visual Studio 2017, but you can also use the newer Visual Studio 2019 by passing --cmake_generator "Visual Studio 16 2019" to .\build.bat 所以结论是不支持2015 |
如果想用vs2015编译 ocrlite项目,那就动态链接onnxruntime的dll,不要静态链接它。 |
@benjaminwan 谢谢解惑。build.py 有一个-T 选项,以为时可以增加。 |
做成dll调用,当然可以 |
请问:如何在提供编译build-onnxruntime-vs2019.bat 添加 -T v140,让编译出来的库支持vs2015
The text was updated successfully, but these errors were encountered: