-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
error LNK2019: "class nvinfer1::IRuntime" win10 cmake failure of TensorRT 8.6 #3833
Comments
make sure ld lib path , ld lib name right. |
Thanks for your help, the problem is solved. |
I'm closing this as the problem is solved, feel free to reopen if you have any further questions. |
closing since no activity for more than 3 weeks, pls reopen if you still have question, thanks all! |
cmake sampleEngines.cpp,ERROR“[build] sampleEngines.obj : error LNK2019: 无法解析的外部符号 "class nvinfer1::IRuntime * __cdecl createRuntime(void)" (?createRuntime@@YAPEAVIRuntime@nvinfer1@@xz),函数 "public: class nvinfer1::ICudaEngine * __cdecl sample::LazilyDeserializedEngine::get(void)" (?get@LazilyDeserializedEngine@sample@@QEAAPEAVICudaEngine@nvinfer1@@xz) 中引用了该符号 [D:\00DaittoCode\TensorRTOfficial\release_10.0\engine\build\TRT.vcxproj]”
Sure add nvinfer.lib successfully
The text was updated successfully, but these errors were encountered: