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

已经生成exe执行文件了,但是报这个错是什么意思啊 #232

Closed
chenjiachengzzz opened this issue Mar 11, 2022 · 3 comments
Closed

Comments

@chenjiachengzzz
Copy link

1646996656(1)

已经生成exe执行文件了,但是报这个错是什么意思啊
@yc-Dong
Copy link

yc-Dong commented Mar 15, 2022

请问可以分享一下是如何在windows上跑起来的吗?

@chenjiachengzzz
Copy link
Author

请问可以分享一下是如何在windows上跑起来的吗?

emm,我还没跑起来。。

@DefTruth
Copy link
Owner

DefTruth commented Mar 15, 2022

可以参考这个教程编译windows版本。另外就是注意一下编译完后exe的路径问题,因为你们是用vs编的,我是用cmake编的,生成exe的路径会不太一样。我看你这里exe所在的路径不太对,中间多隔了一层MinSizeRel文件夹,会找不到模型和资源文件,因为我假设的测试工程的可执行文件路径是 lite.ai.toolkit/build/lite.ai.toolkit/bin,所以往回跳3层刚好回到项目的根目录,但你这里多了一层MinSizeRel目录,所以还要再跳一层才能找到模型和资源文件

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