<DIV>Hi</DIV>
<DIV>&nbsp;</DIV>
<DIV>Did it say that can not find&nbsp;###.h file?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Maybe you need this code in your Cmakelist file</DIV>
<DIV># Find ITK.<BR>FIND_PACKAGE(ITK)<BR>IF(ITK_FOUND)<BR>&nbsp; INCLUDE(${ITK_USE_FILE})<BR>ELSE(ITK_FOUND)<BR>&nbsp; MESSAGE(FATAL_ERROR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Cannot build without ITK.&nbsp; Please set ITK_DIR.")<BR>ENDIF(ITK_FOUND)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I do not if it will help. At least this is the problem I had at the beginning.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards,</DIV>
<DIV>Yu Qi<BR><BR><B><I>Xuelin Cui &lt;xuelin@hawaii.edu&gt;</I></B> 写道:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">hi:<BR><BR>In the ..\InsightToolkit-2.0.1\Examples\DataRepresentation\Image, I <BR>tried to build the Image1.cxx-Image5.cxx<BR><BR>I copied them(CMakelist.txt included) out to a new folder. Then, using <BR>CMake to generate the .dsw in another folder. Then build the .dsw under <BR>MS VC++ 6. <BR><BR>But , alot of errors.....<BR><BR>Is my way correct? It seems not. Please tell me the right way to build <BR>that<BR><BR>Thank you very much<BR><BR><BR>Xuelin<BR><BR>Department of Mechanical Engineering<BR>University of Hawaii at Manoa<BR>2540 Dole St<BR>Honolulu HI 96822<BR>United States<BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users@itk.org<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></BLOCKQUOTE><p>
                <hr size=1>DO YOU YAHOO!?<br> 
<a href="http://cn.mail.yahoo.com/?id=77072" target=blank> 
雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱</a>