hi.. I manually edited two files in the vmtk-build/ITK/code/algorithms
folder and then everything worked.. the two files are

1. itkCurvesLevelSetFunction.h  --> line 99: added 'this->' before
PropagationSpeed.

2. itkGeodesicActiveContourLevelSetFunction.h  --> line 114: added 'this->'
before PropagationSpeed.

The make process finished without any errors and then i sourced my bashrc
file. But when I tried to use vmtkimageviewer this error appers.

[toolpost@entropy lca-rca]$ vmtkimageviewer -ifile cardiacvoi.vti

Error from pype: /lib/libOSMesa.so.8: undefined symbol: _glapi_Dispatch
[toolpost@entropy lca-rca]$

Any ideas?


> ---------- Forwarded message ----------
>>> From: Jabir <toolp...@gmail.com>
>>> To: vmtk-users@lists.sourceforge.net
>>> Cc:
>>> Date: Thu, 7 Jun 2012 17:34:35 +0530
>>> Subject: VMTK in Fedoa 17 - Installation error.
>>> Hi vmtk users,
>>>
>>> Yesterday I did a fresh installation of Fedoa 17 with a full system
>>> update. Now I am facing an error during vmtk installation.. Few lines of
>>> the command line output are pated below.
>>>
>>> [ 54%] Completed 'VTK'
>>>> [ 66%] Built target VTK
>>>> [ 70%] 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_STREAMTRACER
>>>>     VMTK_BUILD_TETGEN
>>>>     VTK_REQUIRED_OBJCXX_FLAGS
>>>>
>>>>
>>>> -- Build files have been written to: /opt/vmtk-build/VMTK-Build
>>>> [ 75%] Performing build step for 'VMTK'
>>>> [  0%] Built target vtkvmtkCommon
>>>> [  0%] Built target vtkvmtkCommonPythonD
>>>> [  1%] Built target vtkvmtkCommonPython
>>>> [ 10%] Built target vtkvmtkComputationalGeometry
>>>> [ 28%] Built target vtkvmtkComputationalGeometryPythonD
>>>> [ 28%] Built target vtkvmtkComputationalGeometryPython
>>>> [ 28%] Built target nl
>>>> [ 37%] Built target vtkvmtkDifferentialGeometry
>>>> [ 55%] Built target vtkvmtkDifferentialGeometryPythonD
>>>> [ 55%] Built target vtkvmtkDifferentialGeometryPython
>>>> [ 56%] Built target vtkvmtkIO
>>>> [ 60%] Built target vtkvmtkIOPythonD
>>>> [ 60%] Built target vtkvmtkIOPython
>>>> [ 60%] Built target tet
>>>> [ 65%] Built target vtkvmtkMisc
>>>> [ 75%] Built target vtkvmtkMiscPythonD
>>>> [ 75%] Built target vtkvmtkMiscPython
>>>> [ 75%] Built target vtkvmtkITK
>>>> [ 75%] Building CXX object
>>>> vtkVmtk/Segmentation/CMakeFiles/vtkvmtkSegmentation.dir/vtkvmtkCurvesLevelSetImageFilter.cxx.o
>>>> In file included from
>>>> /opt/vmtk-build/ITK/Code/Algorithms/itkCurvesLevelSetImageFilter.h:21:0,
>>>>                  from
>>>> /opt/vmtk/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.h:36,
>>>>                  from
>>>> /opt/vmtk/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.cxx:26:
>>>> /opt/vmtk-build/ITK/Code/Algorithms/itkCurvesLevelSetFunction.h: In
>>>> instantiation of ‘itk::CurvesLevelSetFunction<TImageType,
>>>> TFeatureImageType>::ScalarValueType itk::CurvesLevelSetFunction<TImageType,
>>>> TFeatureImageType>::CurvatureSpeed(const NeighborhoodType&, const
>>>> FloatOffsetType&, itk::CurvesLevelSetFunction<TImageType,
>>>> TFeatureImageType>::GlobalDataStruct*) const [with TImageType =
>>>> itk::Image<float, 3u>; TFeatureImageType = itk::Image<float, 3u>;
>>>> itk::CurvesLevelSetFunction<TImageType, TFeatureImageType>::ScalarValueType
>>>> = float; itk::CurvesLevelSetFunction<TImageType,
>>>> TFeatureImageType>::NeighborhoodType =
>>>> itk::ConstNeighborhoodIterator<itk::Image<float, 3u>,
>>>> itk::ZeroFluxNeumannBoundaryCondition<itk::Image<float, 3u> > >;
>>>> itk::CurvesLevelSetFunction<TImageType, TFeatureImageType>::FloatOffsetType
>>>> = itk::Vector<float, 3u>; itk::CurvesLevelSetFunction<TImageType,
>>>> TFeatureImageType>::GlobalDataStruct =
>>>> itk::LevelSetFunction<itk::Image<float, 3u> >::GlobalDataStruct]’:
>>>> /opt/vmtk/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.cxx:30:54:
>>>> required from here
>>>> /opt/vmtk-build/ITK/Code/Algorithms/itkCurvesLevelSetFunction.h:102:55:
>>>> error: ‘PropagationSpeed’ was not declared in this scope, and no
>>>> declarations were found by argument-dependent lookup at the point of
>>>> instantiation [-fpermissive]
>>>> /opt/vmtk-build/ITK/Code/Algorithms/itkCurvesLevelSetFunction.h:102:55:
>>>> note: declarations in dependent base
>>>> ‘itk::SegmentationLevelSetFunction<itk::Image<float, 3u>, itk::Image<float,
>>>> 3u> >’ are not found by unqualified lookup
>>>> /opt/vmtk-build/ITK/Code/Algorithms/itkCurvesLevelSetFunction.h:102:55:
>>>> note: use ‘this->PropagationSpeed’ instead
>>>> make[5]: ***
>>>> [vtkVmtk/Segmentation/CMakeFiles/vtkvmtkSegmentation.dir/vtkvmtkCurvesLevelSetImageFilter.cxx.o]
>>>> Error 1
>>>> make[4]: ***
>>>> [vtkVmtk/Segmentation/CMakeFiles/vtkvmtkSegmentation.dir/all] Error 2
>>>> 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
>>>> [toolpost@entropy vmtk-build]$
>>>>
>>>
>>> I found a similar problem in the following threads.
>>>
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673768
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667411
>>>
>>> Any help is greatly appreciated.
>>>
>>>
>>>
>>
>
> --
> Regards,
>
> Jabir
>



-- 
Regards,

Jabir
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to