Hi Jean, I think I know why: the ITK origin/release tag that SuperBuild.cmake automatically downloads has been bumped to ITK version 4 a few days ago. ITK4 is great, but it introduces a few backward-incompatibilities, and I haven't gone through the required changes in vmtk yet.
Try the following @@ -43,7 +43,7 @@ if( NOT USE_SYSTEM_ITK ) set( proj ITK ) ExternalProject_Add( ${proj} GIT_REPOSITORY "${GIT_PROTOCOL}://github.com/Kitware/ITK.git" - GIT_TAG "origin/release" + GIT_TAG "origin/v3.20.1" SOURCE_DIR "${CMAKE_BINARY_DIR}/ITK" BINARY_DIR ITK-Build CMAKE_GENERATOR ${gen} In other words, open the SuperBuild.cmake file and at line 46 replace GIT_TAG "origin/release" with GIT_TAG "origin/v3.20.1" Let me know if this one fixes it, in case I'll commit the change. Thanks Luca On Dec 20, 2011, at 3:26 PM, Jean Bonnemain wrote: > Dear Luca, > > Here is the entire message (sorry for the length): > It seems that there is an error just after 1%. > > ------------------------------ > [ 33%] Completed 'ITK' > [ 66%] Built target ITK > [ 66%] Performing configure step for 'VMTK' > -- Configuring done > -- Generating done > CMake Warning: > Manually-specified variables were not used by the project: > > BUILDNAME > BUILD_EXAMPLES > BUILD_TESTING > MAKECOMMAND > SITE > VMTK_BUILD_TETGEN > > > -- Build files have been written to: > /Users/jbonnema/LIFEV/Builds/vmtk/VMTK-Build > [ 66%] Performing build step for 'VMTK' > [ 0%] [ 0%] Built target nl > [ 0%] [ 0%] Building CXX object > vtkVmtk/Utilities/tetgen1.4.3/CMakeFiles/tet.dir/tetgen.cxx.o > Building CXX object > vtkVmtk/Utilities/tetgen1.4.3/CMakeFiles/tet.dir/predicates.cxx.o > Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommon.dir/vtkvmtkMath.cxx.o > [ 0%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkDICOMImageReader.cxx.o > [ 0%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommon.dir/vtkvmtkCocoaRenderWindowInteractor.mm.o > [ 1%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkDolfinWriter.cxx.o > [ 1%] Building CXX object > vtkVmtk/Utilities/vtkvmtkITK/CMakeFiles/vtkvmtkITK.dir/vtkvmtkITKArchetypeImageSeriesReader.cxx.o > [ 1%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkFDNEUTReader.cxx.o > Linking CXX static library ../../../bin/libtet.a > [ 1%] Built target tet > [ 1%] [ 2%] [ 2%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkFDNEUTWriter.cxx.o > Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommon.dir/vtkvmtkCocoaServer.mm.o > Building CXX object > vtkVmtk/Utilities/vtkvmtkITK/CMakeFiles/vtkvmtkITK.dir/vtkvmtkITKArchetypeImageSeriesScalarReader.cxx.o > /Users/jbonnema/LIFEV/Sources/vmtk/vtkVmtk/Utilities/vtkvmtkITK/vtkvmtkITKArchetypeImageSeriesReader.cxx: > In constructor > ‘vtkvmtkITKArchetypeImageSeriesReader::vtkvmtkITKArchetypeImageSeriesReader()’: > /Users/jbonnema/LIFEV/Sources/vmtk/vtkVmtk/Utilities/vtkvmtkITK/vtkvmtkITKArchetypeImageSeriesReader.cxx:137: > error: ‘RegisterBuiltInFactories’ is not a member of ‘itk::ImageIOFactory’ > make[5]: *** > [vtkVmtk/Utilities/vtkvmtkITK/CMakeFiles/vtkvmtkITK.dir/vtkvmtkITKArchetypeImageSeriesReader.cxx.o] > Error 1 > make[5]: *** Waiting for unfinished jobs.... > [ 2%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommon.dir/vtkvmtkCocoaGLView.mm.o > [ 2%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkFluentWriter.cxx.o > [ 2%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkTetGenReader.cxx.o > [ 2%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkTetGenWriter.cxx.o > Linking CXX shared library ../../bin/libvtkvmtkCommon.dylib > [ 2%] Built target vtkvmtkCommon > [ 3%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkXdaReader.cxx.o > [ 3%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkMathPython.cxx.o > [ 3%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkAppendFilter.cxx.o > [ 3%] [ 3%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkCocoaRenderWindowInteractorPython.cxx.o > Building CXX object vtkVmtk/IO/CMakeFiles/vtkvmtkIO.dir/vtkvmtkXdaWriter.cxx.o > [ 3%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCapPolyData.cxx.o > [ 4%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkCommonPythonInit.cxx.o > Linking CXX shared library ../../bin/libvtkvmtkIO.dylib > [ 4%] Built target vtkvmtkIO > [ 5%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineAttributesFilter.cxx.o > [ 5%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkDICOMImageReaderPython.cxx.o > Linking CXX shared library ../../bin/libvtkvmtkCommonPythonD.dylib > [ 5%] Built target vtkvmtkCommonPythonD > [ 5%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineBifurcationVectors.cxx.o > [ 5%] Building CXX object > vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPython.dir/vtkvmtkCommonPythonInit.cxx.o > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkDolfinWriterPython.cxx.o > [ 6%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineBifurcationReferenceSystems.cxx.o > Linking CXX shared module ../../bin/libvtkvmtkCommonPython.so > [ 6%] Built target vtkvmtkCommonPython > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkFDNEUTReaderPython.cxx.o > [ 6%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineBranchExtractor.cxx.o > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkFDNEUTWriterPython.cxx.o > [ 6%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineBranchGeometry.cxx.o > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkFluentWriterPython.cxx.o > [ 6%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineEndpointExtractor.cxx.o > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkTetGenReaderPython.cxx.o > [ 6%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkTetGenWriterPython.cxx.o > [ 7%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineGeometry.cxx.o > [ 7%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineReferenceSystemAttributesOffset.cxx.o > [ 8%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkXdaReaderPython.cxx.o > [ 8%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkXdaWriterPython.cxx.o > [ 8%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPythonD.dir/vtkvmtkIOPythonInit.cxx.o > [ 8%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineSmoothing.cxx.o > [ 8%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineSphereDistance.cxx.o > Linking CXX shared library ../../bin/libvtkvmtkIOPythonD.dylib > [ 10%] Built target vtkvmtkIOPythonD > [ 10%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineSplitExtractor.cxx.o > [ 10%] Building CXX object > vtkVmtk/IO/CMakeFiles/vtkvmtkIOPython.dir/vtkvmtkIOPythonInit.cxx.o > [ 10%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineSplittingAndGroupingFilter.cxx.o > Linking CXX shared module ../../bin/libvtkvmtkIOPython.so > [ 11%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkCenterlineUtilities.cxx.o > [ 11%] Built target vtkvmtkIOPython > [ 11%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkBoundaryReferenceSystems.cxx.o > [ 11%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkInternalTetrahedraExtractor.cxx.o > [ 11%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkMergeCenterlines.cxx.o > [ 11%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkMinHeap.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkNonManifoldFastMarching.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkNonManifoldSteepestDescent.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyBall.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyBallLine.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyBallModeller.cxx.o > [ 12%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataBifurcationSections.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataBifurcationProfiles.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataBoundaryExtractor.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataBranchSections.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataBranchUtilities.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlines.cxx.o > [ 13%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineGroupsClipper.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineAbscissaMetricFilter.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineAngularMetricFilter.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineMetricFilter.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineProjection.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataCenterlineSections.cxx.o > [ 14%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataFlowExtensionsFilter.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataDistanceToCenterlines.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataLineEmbedder.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataLocalGeometry.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataPatchingFilter.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter.cxx.o > [ 15%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataScissors.cxx.o > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataStretchMappingFilter.cxx.o > make[4]: *** [vtkVmtk/Utilities/vtkvmtkITK/CMakeFiles/vtkvmtkITK.dir/all] > Error 2 > make[4]: *** Waiting for unfinished jobs.... > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkReferenceSystemUtilities.cxx.o > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSimplifyVoronoiDiagram.cxx.o > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSteepestDescentLineTracer.cxx.o > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSteepestDescentShooter.cxx.o > [ 16%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkUnstructuredGridCenterlineGroupsClipper.cxx.o > [ 17%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkUnstructuredGridCenterlineSections.cxx.o > [ 17%] Building CXX object > vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkVoronoiDiagram3D.cxx.o > Linking CXX shared library ../../bin/libvtkvmtkComputationalGeometry.dylib > [ 17%] Built target vtkvmtkComputationalGeometry > make[3]: *** [all] Error 2 > make[2]: *** [Stamp/VMTK/VMTK-build] Error 2 > make[1]: *** [CMakeFiles/VMTK.dir/all] Error 2 > make: *** [all] Error 2 > ------------------------------ > > Thank you, > Jean > > > > > > > On 12/20/11 3:07 PM, Luca Antiga wrote: >> Dear Jean, >> can you please paste the whole error message, especially the part preceding >> what you pasted? >> Thanks a lot >> >> Luca >> >> >> On Dec 20, 2011, at 1:09 PM, Jean Bonnemain wrote: >> >>> Dear all, dear Luca, >>> >>> I'm trying to compile vmtk from sources, using git and the repository >>> given on the website: git://vmtk.git.sourceforge.net/gitroot/vmtk/vmtk. >>> >>> But I'm obtaining the following error: >>> >>> ----------------------------- >>> make[4]: *** >>> [vtkVmtk/Utilities/vtkvmtkITK/CMakeFiles/vtkvmtkITK.dir/all] Error 2 >>> make[4]: *** Waiting for unfinished jobs.... >>> [ 15%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter.cxx.o >>> [ 15%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataScissors.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkPolyDataStretchMappingFilter.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkReferenceSystemUtilities.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSimplifyVoronoiDiagram.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSteepestDescentLineTracer.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkSteepestDescentShooter.cxx.o >>> [ 16%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkUnstructuredGridCenterlineGroupsClipper.cxx.o >>> [ 17%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkUnstructuredGridCenterlineSections.cxx.o >>> [ 17%] Building CXX object >>> vtkVmtk/ComputationalGeometry/CMakeFiles/vtkvmtkComputationalGeometry.dir/vtkvmtkVoronoiDiagram3D.cxx.o >>> Linking CXX shared library ../../bin/libvtkvmtkComputationalGeometry.dylib >>> [ 17%] Built target vtkvmtkComputationalGeometry >>> make[3]: *** [all] Error 2 >>> make[2]: *** [Stamp/VMTK/VMTK-build] Error 2 >>> make[1]: *** [CMakeFiles/VMTK.dir/all] Error 2 >>> make: *** [all] Error 2 >>> ----------------------------- >>> >>> I tried on my MAC (Snow Leopard) and on Linux (Squizz) with the same error. >>> Do you have any idea of the problem? >>> >>> Thank you in advance, best regards, >>> Jean Bonnemain >>> >>> ------------------------------------------------------------------------------ >>> Write once. Port to many. >>> Get the SDK and tools to simplify cross-platform app development. Create >>> new or port existing apps to sell to consumers worldwide. Explore the >>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >>> http://p.sf.net/sfu/intel-appdev >>> _______________________________________________ >>> vmtk-users mailing list >>> vmtk-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/vmtk-users > ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users