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

Can I use it on the windows platform, such as windows 10? #11

Closed
791136190 opened this issue May 7, 2019 · 12 comments
Closed

Can I use it on the windows platform, such as windows 10? #11

791136190 opened this issue May 7, 2019 · 12 comments

Comments

@791136190
Copy link

Can I use it on the windows platform, such as windows 10?

@li-qing
Copy link
Contributor

li-qing commented May 8, 2019

haven't compiled it on windows yet. is there any problem?

@791136190
Copy link
Author

#define MNN_PUBLIC attribute((visibility("default"))) in windows maybe not the correct way to write like this.And can't get MNN_generated.h.And autotime.cpp get many linux key words....

@anlongstory
Copy link

@li-qing 请问一下,已经在 Ubuntu 16.04 上编译成功了,已经完成模型转化成 .mnn 文件了,请问是不是可以直接使用一些官方接口或者有没有相关例程可以直接在 ubuntu 下直接调用 .mnn 的模型来测试转化后的模型,实现在 CPU/GPU 上的加速?

@li-qing
Copy link
Contributor

li-qing commented May 9, 2019

@li-qing 请问一下,已经在 Ubuntu 16.04 上编译成功了,已经完成模型转化成 .mnn 文件了,请问是不是可以直接使用一些官方接口或者有没有相关例程可以直接在 ubuntu 下直接调用 .mnn 的模型来测试转化后的模型,实现在 CPU/GPU 上的加速?

可以参考demo/exec目录下的示例。

@li-qing
Copy link
Contributor

li-qing commented May 10, 2019

#define MNN_PUBLIC attribute((visibility("default"))) in windows maybe not the correct way to write like this.And can't get MNN_generated.h.And autotime.cpp get many linux key words....

have you tried https://github.com/microsoft/Terminal with Linux subsystem including ?

@791136190
Copy link
Author

have you tried https://github.com/microsoft/Terminal with Linux subsystem including ?

not yet,i will try it maybe.thank you.

@li-qing
Copy link
Contributor

li-qing commented Jun 10, 2019

windows is now supported. check doc/install.md.

@li-qing li-qing closed this as completed Jun 10, 2019
@aa12356jm
Copy link

aa12356jm commented Jul 3, 2019

按照官方文档使用cmake编译时,出现错误:
CMake Error at CMakeLists.txt:270 (install):
install Library TARGETS given no DESTINATION!

@aa12356jm
Copy link

在win10下面使用cmake编译时,在CMakeLists.txt的270行应该修改install(TARGETS MNN LIBRARY DESTINATION lib)为install(TARGETS MNN RUNTIME DESTINATION lib)

@li-qing li-qing reopened this Jul 4, 2019
@yutianhang
Copy link

按照官方文档使用cmake编译时,出现错误:
CMake Error at CMakeLists.txt:270 (install):
install Library TARGETS given no DESTINATION!

我这边在windows 10 下使用cmake 3.14.5 (maintained and supported by Kitware)未能复现,请提供你的cmake版本。(cmake --version)

@aa12356jm
Copy link

按照官方文档使用cmake编译时,出现错误:
CMake Error at CMakeLists.txt:270 (install):
install Library TARGETS given no DESTINATION!

我这边在windows 10 下使用cmake 3.14.5 (maintained and supported by Kitware)未能复现,请提供你的cmake版本。(cmake --version)

win10 cmake 版本 3.10.0.rc5

@yutianhang
Copy link

fixed, update to latest MNN please

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

5 participants