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

Windows编译成功但是生成的exe报错 #239

Closed
nihenxiu opened this issue Mar 15, 2022 · 5 comments
Closed

Windows编译成功但是生成的exe报错 #239

nihenxiu opened this issue Mar 15, 2022 · 5 comments

Comments

@nihenxiu
Copy link

请问一下大佬,windows vs2019按照 #207 编译生成lite.ai.toolkit.dll和lite.ai.toolkit.lib后,将其余所需的库都拷贝到相应目录下(如下图1),然后右击lite_rvm点生成,成功生成(如下图2),随后按照 #234 将所有库都拷贝到exe目录下(如下图3),最后点击exe报错如下图4,请问该怎么解决呢
PS7 }_E}ECWEQTOS~X4O3O7
88@GPH7W6Q~9S6XWJFK1M2F
{6M{WG92W9DEYDYFJA7_QQL
UW2RZ3J$N(@8 `9VTPEIQ6P

@DefTruth
Copy link
Owner

试一下mobilenet的模型

@nihenxiu
Copy link
Author

V)(Z{U{Y OSRK}7DVS6L3)H
(UUX9YNQC}$480MKV}SOTNI
试了另外几个模型,仍然是这样😭

@DefTruth
Copy link
Owner

再试一下release模式下编译的吧。或者在test_lite_rvm.cpp里面加一些log,看看具体是什么问题。我感觉你的exe所在的路径不太对,中间多隔了一层Debug文件夹,会找不到模型和资源文件,因为我假设的测试工程的exe路径是 lite.ai.toolkit/build/lite.ai.toolkit/bin,所以往回跳3层刚好回到项目的根目录,但你这里多了一层Debug目录,所以还要再跳一层才能找到模型和资源文件

@Jiangjiawei2
Copy link

@nihenxiu 您好,报错的问题请问您解决了吗

@hanxizai
Copy link

您好请问问题解决了嘛

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

4 participants