[Insight-users] Problem for building ITK examples out of ITK tree

Neha D itkneha@yahoo.com
Fri, 21 Feb 2003 16:08:14 -0800 (PST)


--0-498060522-1045872494=:51205
Content-Type: text/plain; charset=us-ascii


Hi Luis,
Thanks for the reply. 
By this time, I haven't been successful using ITK to build simple applcation by using ImageIO reader and writer. Also, I could not build examples in ITK out of the ITK source tree. Your help is going be very useful to me.
I am using follwoing versions of CMAKE and ITK
Cmake - version 1.4 patch 7
Itk        - Release 1.0.0
When I try to build BasicIOAndFilter example using cmake, it creates ALL_BUILD. When I open BasicIOAndFilter.dsw and try to build it in MS visual studio 6.0
I get following messages:
******************************************************************************
error C2039: 'type_info' : is not a member of 'std'
C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkImageIOBase.h(114) : error C2039: 'type_info' : is not a member of 'std'


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkImageIOBase.h(214) : error C2039: 'type_info' : is not a member of 'std'


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkPNGImageIO.h(57) : error C2039: 'type_info' : is not a member of 'std'


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2653: 'Detail' : is not a class or namespace name


        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2143: syntax error : missing ';' before '<'
        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2059: syntax error : '<'


        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2238: unexpected token(s) preceding ';'


        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2653: 'Detail' : is not a class or namespace name


        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2059: syntax error : '<'
        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h

(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled


C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2238: unexpected token(s) preceding ';'


        C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension<D1,D2>' being compiled

*****************************************************************************
 
 Luis Ibanez <luis.ibanez@kitware.com> wrote:Hi Neha,


We will be glad to help you
if you provide some more specific information.

For example,

Could you please post the error messages
that you get ?

It is pretty hard to imagine what the problem
could be without even having access to the
error messages...

Could you please also let us know about:

1) The version of ITK that you are running ?
2) The version of CMake that you are using ?


Thanks


Luis


----------------------------

Neha D wrote:

> Hi All,
> 
> I am getting lots of errors while building the example program using 
> MSVC 6.0 compiler, though cmake build is successful.
> 
> please help.
> 
> neha
> 
> 



_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
--0-498060522-1045872494=:51205
Content-Type: text/html; charset=us-ascii

<P>Hi Luis,
<P>Thanks for the reply. 
<P>By this time, I haven't been successful using ITK to build simple applcation by using ImageIO reader and writer. Also, I could not build examples in ITK out of the ITK source tree. Your help is going be very useful to me.
<P>I am using follwoing versions of CMAKE and ITK
<P>Cmake - version 1.4 patch 7
<P>Itk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Release 1.0.0
<P>When I try to&nbsp;build BasicIOAndFilter example using cmake, it creates ALL_BUILD. When I open BasicIOAndFilter.dsw and try to build it in MS visual studio 6.0
<P>I get following messages:
<P>******************************************************************************
<P>error C2039: 'type_info' : is not a member of 'std'<BR>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkImageIOBase.h(114) : error C2039: 'type_info' : is not a member of 'std'<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkImageIOBase.h(214) : error C2039: 'type_info' : is not a member of 'std'</P>
<P><BR>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\IO\itkPNGImageIO.h(57) : error C2039: 'type_info' : is not a member of 'std'<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2653: 'Detail' : is not a class or namespace name<BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2143: syntax error : missing ';' before '&lt;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2059: syntax error : '&lt;'<BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(328) : error C2238: unexpected token(s) preceding ';'<BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2653: 'Detail' : is not a class or namespace name<BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2059: syntax error : '&lt;'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h</P>
<P>(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled<BR></P>
<P>C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(329) : error C2238: unexpected token(s) preceding ';'<BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\ITK_1\INSIGHTTOOLKIT-1.0.0\CODE\COMMON\itkConceptChecking.h(337) : see reference to class template instantiation 'SameDimension&lt;D1,D2&gt;' being compiled</P>
<P>*****************************************************************************
<P>&nbsp;
<P>&nbsp;<B><I>Luis Ibanez &lt;luis.ibanez@kitware.com&gt;</I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Neha,<BR><BR><BR>We will be glad to help you<BR>if you provide some more specific information.<BR><BR>For example,<BR><BR>Could you please post the error messages<BR>that you get ?<BR><BR>It is pretty hard to imagine what the problem<BR>could be without even having access to the<BR>error messages...<BR><BR>Could you please also let us know about:<BR><BR>1) The version of ITK that you are running ?<BR>2) The version of CMake that you are using ?<BR><BR><BR>Thanks<BR><BR><BR>Luis<BR><BR><BR>----------------------------<BR><BR>Neha D wrote:<BR><BR>&gt; Hi All,<BR>&gt; <BR>&gt; I am getting lots of errors while building the example program using <BR>&gt; MSVC 6.0 compiler, though cmake build is successful.<BR>&gt; <BR>&gt; please help.<BR>&gt; <BR>&gt; neha<BR>&gt; <BR>&gt; <BR><BR><BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users@public.kitware.com<BR>http://public.kitware.com/mailman/listinfo/insight-users</BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/">Yahoo! Tax Center</a> - forms, calculators, tips, and more
--0-498060522-1045872494=:51205--