New extensions can not work on Slicer 5.4.0 on MacOS

Thank you for the additonal information. As the AttributeError: module ‘modules’ has no attribute ‘markupstomodel’ error message indicates, Surface Cut effect requires the MarkupsToModel extension. You need to install it for the effect to work.

Let us know if the effect does not work after installing MarkupsToModel extension. That would mean there are still problems with macOS that @jcfr or @Sam_Horvath needs to look into.

MarkupsToModel is already installed

That would mean there are still problems with macOS

We will look into this later this week after we are done teaching the Slicer advanced training.

1 Like

Is there any news with the current problem? Thank you!!

macOS

The issue seems to be specific to the macOS build of MarkupsToModel, a new package failed to be re-generated due to the following error:

[  9%] Building CXX object MarkupsToModel/MRML/CMakeFiles/vtkSlicerMarkupsToModelModuleMRML.dir/vtkMRMLMarkupsToModelNode.cxx.o
In file included from /Users/svc-dashboard/D/S/S-0-E-b/MarkupsToModel/MarkupsToModel/MRML/vtkMRMLMarkupsToModelNode.cxx:6:
In file included from /D/S/S-0/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsDisplayNode.h:30:
In file included from /D/S/S-0/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.h:23:
/Users/svc-dashboard/D/S/A/vtkAddon/vtkCurveGenerator.h:24:10: fatal error: 'vtkParametricFunction.h' file not found
#include <vtkParametricFunction.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~

After checking that the file vtkParametricFunction.h exists on the filesystem:

% pwd
/D/S/A/VTK

% find . | grep vtkParametricFunction\.h
./Common/ComputationalGeometry/vtkParametricFunction.h

we looked at the parameters being passed to the compiler, and it looks like not all VTK include directories are being passed.

Next steps: Since the Preview build seems to happen without issues, we will compare the Stable and Preview one once today’s round of preview (aka nightly) builds is completed.

Windows

On Windows, the expected VTK paths are being associated with the corresponding target:

Since the release was created, the XCode version on the build machine went through a minor update that lead to the removal of

/Applications/Xcode-14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk

and the introduction of

/Applications/Xcode-14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk

As a side effect, some of the extensions failed to build and instead of uploading a newly generated package, the older & invalid package that were left over have been re-uploaded.

To address this, the string 13.3.sdk was replaced with 14.0.sdk in the relevant files:

./VTK-build/CMakeFiles/Export/lib/cmake/vtk-9.2/VTK-targets.cmake
./VTK-build/lib/cmake/vtk-9.2/VTK-targets.cmake
./ITK-build/CMakeFiles/Export/lib/cmake/ITK-5.3/ITKTargets.cmake
./ITK-build/ITKTargets.cmake
./Slicer-build/SlicerTargets.cmake

and the following macos extensions have been removed and have already been re-generated :white_check_mark: or are in the process of being re-generated :hourglass_flowing_sand:

AirwaySegmentation
BoneTextureExtension
BrainVolumeRefinement
CarreraSlice
ChangeTracker
CleverSeg
CMFreg
DRRGenerator
DSCMRIAnalysis
ErodeDilateLabel
GelDosimetryAnalysis
ImageMaker
MarkupsToModel
MatlabBridge
MedialSkeleton
MeshToLabelMap
ModelClip
ModelToModelDistance
OsteotomyPlanner
PathReconstruction
PBNRR
PerkTutor
PETCPhantom
PETDICOMExtension
PET-IndiC
PETTumorSegmentation
Sandbox
ScatteredTransform
SegmentationAidedRegistration
SegmentEditorExtraEffects
SegmentMesher
ShapePopulationViewer
ShapeVariationAnalyzer
SkeletalRepresentation
SkullStripper
SlicerANTs
SlicerDMRI
SlicerElastix
SlicerFreeSurfer
SlicerIGSIO
SlicerJupyter
SlicerLookingGlass
SlicerNeuro
SlicerOpenCV
SlicerOpenIGTLink
SlicerProstate
SlicerRT
SlicerVMTK
SNRMeasurement
SurfaceMarkup
SwissSkullStripper
T1Mapping
UKFTractography
VASSTAlgorithms
ZFrameRegistration

The MarkupsToModel has already been re-generated and re-uploaded. Let us know if you still have issue.

1 Like

Now I can’t download the SegmentEditorExtraEffets Extension any more :thinking:

Probably it was building right around the time you tried. it should be available now.
Build Summary (cdash.org)

1 Like

It`s working again!!! Many thanks for your help!

1 Like