NVIDIA-Omniverse / kit-extension-template-cpp

Omniverse Kit C++ Extension Template
Apache License 2.0
57 stars 21 forks source link

External dependencies for C++ extensions in Isaac Sim #8

Open spirosperos opened 1 year ago

spirosperos commented 1 year ago

Hello! I am able to build and source the example extensions. However, I am having trouble with importing dependencies using the Premake build system. Could please you give us an example on how to add an external dependency like OpenCV to the extension?

erwincoumans commented 8 months ago

Here is an example premake file that adds mujoco to a kit app. The library is assumed to be build separately first, and include files and library files are located in a known location: https://github.com/erwincoumans/kit-extension-template-cpp/blob/mujoco/source/extensions/omni.example.custom.physics/premake5.lua