Operating system : Mac OS X Version 10.12.6
Slicer version : 4.6.2
Expected behavior: Have all BRAINSTools extensions installed in the Slicer GUI (especially GTRACT).
Actual behavior : I downloaded the BRAINSTools from GitHub [1] to './Documents/GitHub/brains/BRAINSTools'
and built it with CMake into a subfolder called 'build'.
[1] https://github.com/BRAINSia/BRAINSTools.git
How can I now make the extensions appear in Slicer GUI?
In that particular case, to ensure that the built CLIs load, it is recommended to build BRAINStools statically.
Otherwise, if BRAINSTools is statically built, the executables will try to dynamically resolve symbols against the ITK libraries bundled in Slicer which may be slightly different than the one used to build BRAINSTools.
Thank you for your prompt response. Regarding your question: Yes, I built BRAINSTools as a standalone project.
However, it’s the first time I have done that and therefore I don’t know how the result of the building process has to look in the end. What kind of files should I expect? Now I have a lot of different subfolders with the names of the different BRAINSTools modules containing files with extensions such as .xml, .cxx, .h, etc. So I’m not even sure the building process was completed correctly. Regardless of that, I downloaded as you suggested the newest nightly build version of Slicer and added my BRAINSTools folder to the paths for modules in Slicer GUI (Edit->Applications Settings->Modules). The BRAINSTools modules still don’t show up upon restart.