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

运行2.0.0版本c++ infer报错:未加载kernelbase.pdb #2355

Closed
stefan252423 opened this issue Mar 29, 2021 · 4 comments
Closed

运行2.0.0版本c++ infer报错:未加载kernelbase.pdb #2355

stefan252423 opened this issue Mar 29, 2021 · 4 comments

Comments

@stefan252423
Copy link

编译c++infer,环境:vs2017+cmake3.15+opencv346/vc14,可正常生成exe,但无法运行,应该是编译阶段出错(第一行代码也未运行),是什么原因?报错信息如下:

image
image

@xxxpsyduck
Copy link
Contributor

If you want to use tensorrt please install it first. If not, change the config file use_tensorrt 0

@stefan252423
Copy link
Author

If you want to use tensorrt please install it first. If not, change the config file use_tensorrt 0

都还没有读取配置文件,就开始报错,并且配置文件中use_tensorrt字段已经设置为0,应该不是这个问题导致的。

@stefan252423
Copy link
Author

原因找到了,运行c++ infer工程之前,必须配置相应的TensorRT环境,写出来供大家参考

@lingl-space
Copy link

hello, I would like to ask you how to configure the tensorrt environment? Methods that directly copy the contents of the lib file to the release file will still report this error.

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