[Insight-users] vnl_numeric_traits.h error

Luis Ibanez luis.ibanez at kitware.com
Thu Jun 19 11:14:07 EDT 2008


Hi Jim,

Thanks for the additional information.

Unfortunately you are not sending yet the full error message.
The filename is missing. Therefore we don't know where to look
for line 72.

Could you please send the exact error message ?


    Thanks


       Luis


------------------------------
abatzis at ceid.upatras.gr wrote:
> 
> Hi Luis,
> 
> Im using Insight Toolkit 3.4.0, ive used Cmake to configure my console
> application project(itk-vtk-vtkInria) but i havent done so for my gui
> since i call the libraries from inside of visual studio, so the answere is
> no if i got it right. I paste here the error list:
> 
> error C2906: 'vnl_numeric_traits<bool>':explicit specialization requires 
> 'template <>' line 72
> fatal error C1903:unable to recover from previous error; stopping
> complilation line 86
> 
> Thanks for your time in advance
> 
> Jim
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>>Hi Jim,
>>
>>1) What version of ITK are you using ?
>>
>>2) Are you using CMake for configuring your project ?
>>
>>3) Please post to the list the *exact* error message that you get
>>    (including lines numbers).  No editing please.
>>
>>
>>   Thanks
>>
>>
>>      Luis
>>
>>
>>-------------------------------
>>abatzis at ceid.upatras.gr wrote:
>>
>>>
>>>  Hello everyone,
>>>
>>>im building a gui with microsoft visual studio 2005 pro and when
>>>importing
>>>the itk - vtk libraries into the gui a get an error C2906
>>>:vnl_numeric_traits<bool>
>>>: explicit specialization requires template<>which at first glance looks
>>>like an old syntax problem as says the reference for that
>>>error.Unfortunately its not the case and many problems occur. Has anyone
>>>faced sth like this before?]
>>>
>>>Best regards
>>>
>>>Jim
>>>
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>>
> 
> 


More information about the Insight-users mailing list