|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
itk compilation errorHi guys,
Trying to compile one of my programs I got the following error messages /usr/local/include/InsightToolkit/Common/itkVector.h:68: error: no type named ‘RealType’ in ‘class itk::NumericTraits<itk::Image<short int, 3u> >’ After that, I update my itk source to cvs head and clean out everything with a "make clean". Then I run ccmake to generate a new CMakeLists.txt. After all this, I go the following error when trying to compile itk [ 55%] Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o In file included from /home/ferrari/Software/ITK/bin/Code/Common/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx:2: /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx: In member function ‘typename itk::GaussianDerivativeSpatialFunction<TOutput, VImageDimension, TInput>::OutputType itk::GaussianDerivativeSpatialFunction<TOutput, VImageDimension, TInput>::Evaluate(const TInput&) const’: /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx:63: error: ‘vnl_math’ has not been declared make[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o] Error 1 make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2 make: *** [all] Error 2 I am running under Ubuntu 9.10. Any help is really appreciate. Thanks, Ricardo _____________________________________ 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://www.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-users |
|
|
Re: itk compilation errorWhat CMake options are you using? I don't see this Templates directory
in my builds. Are wrapping? Bill On Thu, Nov 5, 2009 at 11:33 AM, Ricardo Ferrari <rjf.araraquara@...> wrote: > Hi guys, > > Trying to compile one of my programs I got the following error messages > > /usr/local/include/InsightToolkit/Common/itkVector.h:68: error: no type > named ‘RealType’ in ‘class itk::NumericTraits<itk::Image<short int, 3u> >’ > > After that, I update my itk source to cvs head and clean out everything with > a "make clean". Then I run ccmake to generate a new CMakeLists.txt. > > After all this, I go the following error when trying to compile itk > > > [ 55%] Building CXX object > Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o > In file included from > /home/ferrari/Software/ITK/bin/Code/Common/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx:2: > /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx: > In member function ‘typename itk::GaussianDerivativeSpatialFunction<TOutput, > VImageDimension, TInput>::OutputType > itk::GaussianDerivativeSpatialFunction<TOutput, VImageDimension, > TInput>::Evaluate(const TInput&) const’: > /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx:63: > error: ‘vnl_math’ has not been declared > make[2]: *** > [Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o] > Error 1 > make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2 > make: *** [all] Error 2 > > I am running under Ubuntu 9.10. > > Any help is really appreciate. > > Thanks, > Ricardo > > > > > > _____________________________________ > 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://www.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-users > > 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://www.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-users |
|
|
|
|
|
Re: itk compilation errorBill,
I'm not aware of any build machine using EXPLICIT_INSTANTIATION_ON. I'll submit one such build during the DASHBOARD FEST 1.0. (but we probably should setup a Nightly build...) Luis --------------------------------------------------------------- On Thu, Nov 5, 2009 at 12:32 PM, Bill Lorensen <bill.lorensen@...> wrote: > Ricardo, > > Why did you turn explicit instantiation on? Do you think you need it? > My guess is that we don't really test with this on. > > Julien, if Ricardo needs this can you help out? > > Luis, Do you know if we have any platforms that have explicit instantiation on? > > Bill > > On Thu, Nov 5, 2009 at 12:27 PM, Ricardo Ferrari > <ricardo.jose.ferrari@...> wrote: >> Hi Bill, >> >> I am not using wrapping. What is the easiest way to sent you all the CMake >> options? >> >> The only thing I can think of is the option ITK_EXPLICIT_INSTANTIATION that >> I've set to ON >> >> Thanks, >> Ricardo >> >> On Thu, Nov 5, 2009 at 3:19 PM, Bill Lorensen <bill.lorensen@...> >> wrote: >>> >>> What CMake options are you using? I don't see this Templates directory >>> in my builds. Are wrapping? >>> >>> Bill >>> >>> On Thu, Nov 5, 2009 at 11:33 AM, Ricardo Ferrari >>> <rjf.araraquara@...> wrote: >>> > Hi guys, >>> > >>> > Trying to compile one of my programs I got the following error messages >>> > >>> > /usr/local/include/InsightToolkit/Common/itkVector.h:68: error: no type >>> > named ‘RealType’ in ‘class itk::NumericTraits<itk::Image<short int, 3u> >>> > >’ >>> > >>> > After that, I update my itk source to cvs head and clean out everything >>> > with >>> > a "make clean". Then I run ccmake to generate a new CMakeLists.txt. >>> > >>> > After all this, I go the following error when trying to compile itk >>> > >>> > >>> > [ 55%] Building CXX object >>> > >>> > Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o >>> > In file included from >>> > >>> > /home/ferrari/Software/ITK/bin/Code/Common/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx:2: >>> > >>> > /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx: >>> > In member function ‘typename >>> > itk::GaussianDerivativeSpatialFunction<TOutput, >>> > VImageDimension, TInput>::OutputType >>> > itk::GaussianDerivativeSpatialFunction<TOutput, VImageDimension, >>> > TInput>::Evaluate(const TInput&) const’: >>> > >>> > /home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx:63: >>> > error: ‘vnl_math’ has not been declared >>> > make[2]: *** >>> > >>> > [Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o] >>> > Error 1 >>> > make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2 >>> > make: *** [all] Error 2 >>> > >>> > I am running under Ubuntu 9.10. >>> > >>> > Any help is really appreciate. >>> > >>> > Thanks, >>> > Ricardo >>> > >>> > >>> > >>> > >>> > >>> > _____________________________________ >>> > 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://www.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-users >>> > >>> > >> >> > 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://www.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-users |
| Free embeddable forum powered by Nabble | Forum Help |