[Insight-developers] [Insight-users] itk compilation error
Bill Lorensen
bill.lorensen at gmail.com
Thu Nov 5 12:39:26 EST 2009
Ricardo,
Thanks for the update. I guess we should try to fix the problem since
we provide that option. I'm happy you worked around the issue.
Bill
On Thu, Nov 5, 2009 at 12:36 PM, Ricardo Ferrari
<ricardo.jose.ferrari at gmail.com> wrote:
> Hi Bill,
>
> It seems that that was the problem in fact. I turned it OFF and everything
> compiled just fine.
>
> I am not so sure if I really need. I believe I have set that ON a long time
> ago and, with the new update, it caused the error.
>
> Ricardo
>
>
> On Thu, Nov 5, 2009 at 3:32 PM, Bill Lorensen <bill.lorensen at gmail.com>
> 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 at gmail.com> 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 at gmail.com>
>> > 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 at gmail.com> 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
>> >> >
>> >> >
>> >
>> >
>
>
More information about the Insight-developers
mailing list