Skip to content

Conversation

@RafaelPalomar
Copy link
Contributor

  • This introduces changes to pacakge definitions and new patches to install development files. The motivation is to enable the development of 3D Slicer extensions

@RafaelPalomar RafaelPalomar requested review from asiangoldfish and oeramo and removed request for oeramo May 13, 2025 05:04
@RafaelPalomar RafaelPalomar marked this pull request as draft May 15, 2025 06:27
@RafaelPalomar RafaelPalomar force-pushed the feature/install_dev_files branch from 46f8319 to 453297e Compare May 15, 2025 08:51
@asiangoldfish
Copy link
Contributor

LGTM

@RafaelPalomar
Copy link
Contributor Author

LGTM

@asiangoldfish. Should we merge it, instead of closing it? There are also conflicts with dev that should be resolved.

@asiangoldfish
Copy link
Contributor

asiangoldfish commented May 26, 2025

@RafaelPalomar I'll test this with #58 together one more time with @oeramo and make sure they work together.

@asiangoldfish
Copy link
Contributor

asiangoldfish commented May 27, 2025

I had a go with merging #58 into this branch locally to build OpenIGTLinkIF and open it in Slicer. Slicer isn't able to load the module and show it in the dropdown list with all the other modules. I do not know if this is related to Slicer's installation files or OpenIGTLinkIF.

OpenIGTLinkIF's shared object files are in the active Guix' profile's location that is recognised by the AppLauncher, specifically $GUIX_PROFILE/lib/Slicer-5.8. This should be in SlicerLauncherSettings.ini:

[LibraryPaths]
1\path=<APPLAUNCHER_SETTINGS_DIR>/../bin
2\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8
3\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8/cli-modules
4\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8/qt-loadable-modules
5\path=../lib/Slicer-5.8/qt-loadable-modules
size=5

I used ldd on one of the shared objects, namely libqSlicerOpenIGTLinkIFModule.so, to try and check if the runtime can find the required libraries and got the following output:
openigtlink.log

The libraries that were not found should be from Slicer itself.

- This introduces changes to pacakge definitions and new patches to
install development files. The motivation is to enable the development
of 3D Slicer extensions
@RafaelPalomar RafaelPalomar force-pushed the feature/install_dev_files branch from 453297e to 2b79899 Compare May 27, 2025 07:48
@RafaelPalomar RafaelPalomar marked this pull request as ready for review May 27, 2025 07:57
@RafaelPalomar RafaelPalomar merged commit 045d06f into dev May 27, 2025
2 checks passed
@RafaelPalomar
Copy link
Contributor Author

I had a go with merging #58 into this branch locally to build OpenIGTLinkIF and open it in Slicer. Slicer isn't able to load the module and show it in the dropdown list with all the other modules. I do not know if this is related to Slicer's installation files or OpenIGTLinkIF.

OpenIGTLinkIF's shared object files are in the active Guix' profile's location that is recognised by the AppLauncher, specifically $GUIX_PROFILE/lib/Slicer-5.8. This should be in SlicerLauncherSettings.ini:

[LibraryPaths]
1\path=<APPLAUNCHER_SETTINGS_DIR>/../bin
2\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8
3\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8/cli-modules
4\path=<APPLAUNCHER_SETTINGS_DIR>/../lib/Slicer-5.8/qt-loadable-modules
5\path=../lib/Slicer-5.8/qt-loadable-modules
size=5

I used ldd on one of the shared objects, namely libqSlicerOpenIGTLinkIFModule.so, to try and check if the runtime can find the required libraries and got the following output: openigtlink.log

The libraries that were not found should be from Slicer itself.

For reference. The aim of this PR is to enable installation of the development files. These considerations are not in scope of this PR

@RafaelPalomar RafaelPalomar deleted the feature/install_dev_files branch May 27, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants