Problem installing module for compiled slicer version

Hello, i am a currently developing a loadable module. I need some functionalities of other no native module (currently sequence module). I am encountering issue with the extension manager in the compiled (with my module) slicer version, i can’t see any module to install. But that’s not the real issue because i manage to install it from files quite easily but after installing it when i run slicer i get :

Error(s):
Cannot load library /home/raphaelbahegne/.config/NA-MIC/Extensions-f421157/Sequences/lib/Slicer-4.11/qt-loadable-modules/libqSlicerMetafileImporterModule.so: (libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory)
Error(s):
Cannot load library /home/raphaelbahegne/.config/NA-MIC/Extensions-f421157/Sequences/lib/Slicer-4.11/qt-loadable-modules/libqSlicerSequenceBrowserModule.so: (libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory)
Error(s):
Cannot load library /home/raphaelbahegne/.config/NA-MIC/Extensions-f421157/Sequences/lib/Slicer-4.11/qt-loadable-modules/libqSlicerSequencesModule.so: (libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory)
libITKDeprecated-5.1.so.1: cannot open shared object file: No such file or directory
libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory
libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory
libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory
libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory
libITKColormap-5.1.so.1: cannot open shared object file: No such file or directory

The “libqSlicer***” files exists and are at the right place so i thought i missed libITKColormap-5.1 or something and i tried to reinstall some ITK libs but it did’nt changed anything.

In the end only the Crop Volume Sequence is available. Too bad i needed the sequence browser :expressionless:

Any hints ?
Thank you

If you build Slicer then you need to build all the extensions, too. In general, you cannot mix executables and shared objects built on different computers.

ITK is built by Slicer. You should not try to get some random ITK libraries and copy them into the Slicer build tree. If ITK libraries are missing then maybe your Slicer build has not completed successfully. Start again your Slicer build and check that there are no build errors.

OK, i see. I need to package any wanted extension in my custom build.

Thank you

Yes. You can list extensions in CMake when you configure your Slicer build that you want to bundle in the install package.