Dear Luca, dear all,

First of all thank you Luca for your help ;-)

Now the compilation works fine just by modifying the itk GIT_TAG with 
"v3.20.1".

For the linking issue: as you suggested, it was a python version 
problem. I had on my MAC multiple versions of python (macport python on 
/opt/local/bin/ and system python on /usr/bin/).
I uninstalled some of them on macport and setted the default python with 
macport by typing:

port select --set python python27

I also used the macport version of cmake (in /opt/local/bin/ccmake/), 
and not the one with GUI.

With this method it works fine now ;-)

On Linux I didn't have any linking problem, it worked at the first attempt.

Best regards,
Jean

On 12/20/11 5:15 PM, Luca Antiga wrote:
> Hi Jean,
>   indeed I had just bumped in the same issue with the TAG, I just fixed it.
>
> Now, for the other issue: how many python interpreter versions do you have on 
> your system? More specifically, did you install newer python versions?
> I'm asking because you may be running one interpreter and cmake might have 
> linked your vmtk to another.
>
> What is the output of
> which python
> ?
>
> Also, can you enter the python shell and just go
> import vtk
>
> and let me know if you get the same error? If you do, can you post the 
> CMakeCache.txt file at vmtk-build/VTK-Build/CMakeCache.txt?
>
> Thanks
>
> Luca
>
>
> On Dec 20, 2011, at 5:07 PM, Jean Bonnemain wrote:
>
>> Hi Luca,
>>
>> Thank you, the compilation is fine now ;-)
>> I just used
>>
>> GIT_TAG "v3.20.1"
>>
>> instead of
>>
>> GIT_TAG "origin/v3.20.1" (didn't work for me).
>>
>> Now I have another problem: I copy, paste and modified the lines for the 
>> .profile on my MAC, as explained on the website.
>> But when I'm typing a vmtk command, e.g. vmtksurfaceviewer, I obtain the 
>> following error:
>>
>> --------------------------
>> Fatal Python error: PyThreadState_Get: no current thread
>> Abort trap
>> --------------------------
>>
>> I think it's a matter of linking, or Python problem, but I don't really now 
>> how to solve it.
>> Moreover, when typing
>>
>> from vmtk import vmtkscripts
>> from vmtk import vtkvmtk
>> import vtk
>>
>> in the Python shell returns the same error.
>>
>> Thank you very much,
>> Jean
>>
>>
>> On 12/20/11 4:24 PM, Luca Antiga wrote:
>>> 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

Reply via email to