Everything when quite fine till Step 6 (build step).
After few errors easily fixed, our repository, Sistream is checked out and built, other error appeared that i did not manage to fix :
The build can’t find vtkMRMLMultiVolumeNode.h which is include in some file in my extension. In a regular slicer build this file is located in /Slicer-SuperBuild-Debug/MultiVolumeExplorer/MRML/ and it is correctly linked in the according CMakeList in my extension. Since the extension is bundled in the same project i would assume that Slicer_DIR environnement variable to be set for the extension alone was kind of automated. I tried to compile in a IDE setting variable with no result.
Is it a problem to bundled an extension which target include files from regular slicer modules ? Or do i just need another CMake declaration to make things right ?
The default SlicerCustomAppTemplate tries to make a very “stripped down” version of Slicer, and so disables some functionality by default. This includes MultiVolume support.
In the CMakeLists.txt of the custom app you will need to turn ON MultiVolume support:
You can also enable this when configuring with CMake, as there will be a checkbox option to turn it on.
/yourproject/slicersources-src/Modules/CLI/ResampleDTIVolume/Data/Baseline/Brain_slice.nrrd is missing —> your can get it from another regular slicer build
Jsons located at /yourproject/slicersources-src/Base/QTCore/Testing/Data/input are expected to be found compressed as tar.gz —> compressed them manually to fullfill that expectation
This can be solved easily but if I can avoid doing it each time i build a new project, i would be glad. Maybe this is linked to the version of slicer checkouted, or the build options.
So, the first is definitely an issue related to the older version of Slicer used. The second is more mysterious. I am running a test SlicerCAT build with the most recent Slicer hash to see if it builds clean.
Yes with the last master branch, it builds fine. Thing is we wanted to stay on a release version, do you know when the next release version will be out ?