-
Notifications
You must be signed in to change notification settings - Fork 365
Linking failed when building on Windows 10 #690
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
Comments
I have the same issue . Any update? |
Have you solved it ? |
Nope :( |
On Windows even if some module (here tensorrt) is used as shared library, dll reference .lib still had to be linked into target application. This patch helps to solve unresolved externals:
|
This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days |
Please try #1058 for Windows Support |
Bug Description
At first the compilation failed with:
I removed
/api
at https://github.com/NVIDIA/TRTorch/blob/f99a6ca763eb08982e8b7172eb948a090bcbf11c/cpp/lib/BUILD#L40 and that error was gone. But then the linking failed with:The missing symbols
createInferRuntime_INTERNAL
,getPluginRegistry
,initLibNvInferPlugins
andcreateInferBuilder_INTERNAL
are all in TensorRT. But looking atbazel-out/x64_windows-opt/bin/cpp/lib/trtorch.dll-2.params
, it didn't link with any library from TensorRT.So, what's the culprit?
Environment
Additional context
The content of my WORKSPACE:
The text was updated successfully, but these errors were encountered: