<DIV>Hi Luis and All !!!!</DIV>
<DIV> </DIV>
<DIV>Tanks a lot for your help !!! </DIV>
<DIV> </DIV>
<DIV>OK, i run my Hello !!!! But now i want to run this Hello inside a Form !!</DIV>
<DIV> </DIV>
<DIV>What i don't undestand yet is, How can i run my example with a Window Form Aplication (.NET) or using a GUI from VS .NET.</DIV>
<DIV> </DIV>
<DIV>For example: When i create a simple Window Form Aplication (.NET), VS generate the following files - Form1.cpp, stdafx.cpp, AssemblyInfo.cpp, Form1.h, resource.h, stdafx.h.</DIV>
<DIV> </DIV>
<DIV>I made my CMalist like this:</DIV>
<DIV>ADD_LIBRARY( Form1.cpp stdafx.cpp ) </DIV>
<DIV>ADD_EXECUTABLE(formTest Form1.cpp stdafx.cpp )</DIV>
<DIV>TARGET_LINK_LIBRARIES(formTest ITKNumerics ITKCommon ITKBasicFilters ITKIO ITKAlgorithms )<BR></DIV>
<DIV>And i put on Form1.cpp the #include "itkImage.h"</DIV>
<DIV> </DIV>
<DIV>CMake run ok, and create the bin directory with formTest.sln</DIV>
<DIV> </DIV>
<DIV>but when i try to build all to generete the EXE file inside the VS a lot of error happened !!!!</DIV>
<DIV> </DIV>
<DIV>What im doing wrong !!!!</DIV>
<DIV> </DIV>
<DIV>Tanks for your Hints and time !!!!<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV> </DIV>
<DIV><BR><B><I>Luis Ibanez <luis.ibanez@kitware.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Marcelo,<BR><BR>You should use CMake for configuring your own Example.<BR><BR>Please follow the instructions in the Tutorial sessions:<BR><BR>http://www.itk.org/HTML/Tutorials.htm<BR><BR>in particular in<BR><BR>http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img0.html<BR>http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img27.html<BR><BR>You should also read the first two chapters of the<BR>SoftwareGuide:<BR><BR>http://www.itk.org/ItkSoftwareGuide.pdf<BR><BR><BR>That will save you a lot of time.<BR><BR><BR>Regards,<BR><BR><BR>Luis<BR><BR><BR>-------------------------<BR>Oliveira Marcelo wrote:<BR><BR>> Hi user's !!!!<BR>> <BR>> ITK and VS .NET 2003 installed OK using CMAKE 2.0 on my Win XP.<BR>> <BR>> And now, i want to run a simple example:<BR>> <BR>> Then i create a Window Form Aplication (.NET) and in Form1.cpp i put <BR>>
the #include "itkImage.h"<BR>> <BR>> I set the Includes and Library (TOOLS -> Option -> Projects -> VC++ <BR>> Projects ) then when i build solution this message happen<BR>> <BR>> fatal error C1083: Cannot open include file: 'vnl/vnl_vector_ref.h': No <BR>> such file or directory d:\ITK\Code\Common\itkVector.h(21):<BR>> <BR>> What is the right way to execute VS 2003 .NET and ITK ????<BR>> <BR>> <BR>> tanks for advanced me<BR>> <BR><BR><BR><BR></BLOCKQUOTE><p>
                <hr size=1><a href="http://br.rd.yahoo.com/mail/taglines/*http://br.info.mail.yahoo.com/">Yahoo! Mail</a> agora ainda melhor: 100MB, anti-spam e antivírus grátis!