C++ Extension Load Error on Ubuntu

Hello! I’ve been following the tutorial for building C++ extensions in Isaac Sim, using the Kit extension template c++. I managed to build and run the examples on Ubuntu 22.04 with the command:

./_build/linux-x86_64/release/omni.app.example.extension_browser.sh

However, I encountered an issue when sourcing the extensions to the /home/user/Documents/Kit/shared
folder. Although I was able to load the extension into Isaac Sim 2022.2.1, the following error occurred on extension startup:

[256.951s] [ext: omni.example.cpp.hello_world-1.0.0] startup
2023-08-15 10:45:24 [256,930ms] [Error] [carb] [Plugin: libomni.example.cpp.hello_world.plugin.so] Incompatible Framework API minor version: 0
2023-08-15 10:45:24 [256,931ms] [Warning] [carb] Potential plugin preload failed: /home/nikola/kit-extension-template-cpp/_build/linux-x86_64/release/exts/omni.example.cpp.hello_world/bin/libomni.example.cpp.hello_world.plugin.so
2023-08-15 10:45:24 [256,931ms] [Error] [omni.ext.plugin] [ext: omni.example.cpp.hello_world-1.0.0] failed to load native plugin: /home/nikola/kit-extension-template-cpp/_build/linux-x86_64/release/exts/omni.example.cpp.hello_world/bin/libomni.example.cpp.hello_world.plugin.so

Has anyone encountered this issue or have any insights on how to fix it? Thanks!

We figured out that we missed matching the release of the kit-extension-template-cpp repo with the Kit SDK version.

Isaac 2022.2.x comes with Kit SDK 104.x, so the solution is to git checkout to a release with the matching Kit SDK version:

1 Like

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