How do I statically link third-party .dll in an Omniverse extension?

I am trying to link a 3rd party .dll that we’ve made inside my Omniverse C++ extension.

However, I cannot find how to specify the .lib inside the extension config. I know how to do this in Visual Studio, but when I run build.bat from the C++ extension templates I get a link error: “unresolved external symbol”

Any advice would be greatly appreciated. Cheers!

Hi @bensandersj. Welcome to the forums! Checking with the dev team on this.

@bensandersj Have you tried updating the premake5.lua file? Have a look at this one: kit-extension-template-cpp/premake5.lua at main · NVIDIA-Omniverse/kit-extension-template-cpp · GitHub

@mati-nvidia thanks! - no we haven’t. Will get back to you if we still have issues.

@mati-nvidia Sorted thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.