[Insight-developers] compilation error with system vxl

Bill Lorensen bill.lorensen at gmail.com
Thu Jun 10 14:14:26 EDT 2010


It is unfortunate that vxl does not have the same backward
compatibility culture that we have with itk. I do not think we should
surprise our customers. Perhaps we can ask the vxl group to back out
that change.

Bill

On Thu, Jun 10, 2010 at 1:12 PM, Arnaud GELAS
<arnaud_gelas at hms.harvard.edu> wrote:
> After checking itk's vnl_sparse_matrix version, the operator * does not
> exist and mult exist; and in the vxl's one, it is the opposite...
>
> Would it be possible to update the vxl version of itk ?
> (This could be done for a new release of itk 3.20)
>
> Arnaud
>
> On 06/10/2010 11:57 AM, Arnaud GELAS wrote:
>>
>> Hi guys,
>>
>> I have just tried to build itk, with an installed version of vxl and I
>> get the following error:
>>
>> [ 93%] Building CXX object
>> Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o
>> /home/ajg23/SVNROOT/vxl/core/vnl/vnl_sparse_matrix.h: In member function
>> ‘virtual void
>> itk::fem::LinearSystemWrapperVNL::MultiplyMatrixMatrix(unsigned int,
>> unsigned int, unsigned int)’:
>> /home/ajg23/SVNROOT/vxl/core/vnl/vnl_sparse_matrix.h:268: error: ‘void
>> vnl_sparse_matrix<T>::mult(const vnl_sparse_matrix<T>&,
>> vnl_sparse_matrix<T>&) const [with T = double]’ is protected
>>
>> /home/ajg23/CVSROOT/Insight/Code/Numerics/FEM/itkFEMLinearSystemWrapperVNL.cxx:265:
>> error: within this context
>> make[2]: ***
>> [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o]
>> Error 1
>> make[1]: *** [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/all] Error 2
>>
>> In the recent version of vnl mult is now protected, whereas in the itk
>> version mult is public...
>>
>> If I am not wrong using directly operator * would work for both
>> versions. Any objection?
>>
>> Cheers,
>> Arnaud
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-developers
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list