<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>
<P>Hi</P>
<P>you can find&nbsp;6 simple examples (step1,2...6) in vtk-5.0.4\Examples\Tutorial </P>
<P>if you are using c++ open folder Cxx, in step1 for example, and you find the c++ file and CMakeLists.txt file.</P>
<P>run Cmake for this example&nbsp;to get&nbsp;the project for this example&nbsp;.then built&nbsp;this project&nbsp;and run it using your c++ compiler.</P>
<P>Martine</P>
<P>&nbsp;</P>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR></DIV></DIV><!-- ORIGINAL -->
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Message d'origine ----<BR>De : RAGHU PRASAD &lt;raghuprasad.m..s@gmail.com&gt;<BR>À : vtkusers@vtk.org<BR>Envoyé le : Mardi, 26 Août 2008, 13h28mn 32s<BR>Objet&nbsp;: [vtkusers] running examples on vtk<BR><BR>
<DIV dir=ltr>
<DIV>Hi ,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have built vtk 5.0.3 with cmake 2.4.7 and VC++ 6.0 on win xp platform with NTFS hadrdrive unit.I followed the procedure given below.</DIV>
<DIV>&nbsp;</DIV>
<DIV>1..Download vtk 5.0.3 source file and unzip it to a location C:\myprojects\vtksrc.</DIV>
<DIV>2 .Download vtk&nbsp;data 5.0.3&nbsp; and unzip it to a location C:\myprojects\vtkdata.</DIV>
<DIV>3.Download vtk&nbsp;5.0.3 win 32.exe to&nbsp; location C:\myprojects\vtk5.0.3</DIV>
<DIV>4.Create a folder to save the binaies in location C:\myprojects\vtkbin.</DIV>
<DIV>5.Download and install cmake <A  href="http://2.4.7./" target=_blank rel=nofollow>2.4.7.</A></DIV>
<DIV>6.on windows xp set the environment variables right click on my computer,properties----&gt;Advanced-----&gt;environment variables---------&gt;system variables-----------&gt;new--------&gt;variable name--------&gt;vtk_data_root----------&gt;variable value---------&gt;C:\vtkproject\vtkdata and click ok.</DIV>
<DIV>7.run cmake set the source path as C:\myprojects\vtksrc and the where to build the binaries as C:\myprojects\vtkbin as i am using cmake 2.4.7 there is a option of setting the advanced values check the advanced values box.</DIV>
<DIV>8.Click on configure and turn on the following flags <SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman">VTK_USE_ANSI_STDLIB&nbsp; ON,BUILD_EXAMPLES OFF,BUILD_SHARED_LIBS OFF,VTk-<FONT size=4>USE_PARALLEL OFF ,VTK _USE_RENDERING ON nad i configured again and clicked on ok</FONT></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman" size=4>9.Open the vtkbin folder double click on vtk.dsw and in vc++ click on ALLL_BUILD&nbsp; and build it toolk about 10 minutes to build and flashed a message stating 0 errors and 0 warnings.</FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman" size=4></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman" size=4>Is THE ABOVE METHOD CORRECT.Please correct me if i am wrong.</FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman" size=4></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"><FONT face="Times New Roman" size=4></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"></SPAN><FONT face="Times New Roman" size=4>My question is how to run examples to verify whether by build is successful or not.How to include an example project and make it run.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=4>when I opened an example project directly by clicking on example.cxx file</FONT>&nbsp;it flashed an erron in vc++ ide stating that cannot compile the file no compile tool associated with the file extension</DIV>
<DIV>&nbsp;</DIV>
<DIV>please provide me a solution for this.</DIV>
<P><FONT size=4></FONT>&nbsp;</P></DIV></DIV></DIV></div><br>


      <hr size="1"> 
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>