<div dir="ltr">Try turning BUILD_EXAMPLES to ON in CMAKE.<br><br>-Kerry<br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 7:01 AM, Martine Lefevre <span dir="ltr"><<a href="mailto:martine_lef@yahoo.fr">martine_lef@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>
<p>Hi</p>
<p>you can find 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 to get the project for this example .then built this project and run it using your c++ compiler.</p>
<p>Martine</p>
<p> </p>
<div><br></div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br><br></div></div>
<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 <<a href="mailto:raghuprasad.m..s@gmail.com" target="_blank">raghuprasad.m..s@gmail.com</a>><br>
À : <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>Envoyé le : Mardi, 26 Août 2008, 13h28mn 32s<br>Objet : [vtkusers] running examples on vtk<div class="Ih2E3d"><br><br>
<div dir="ltr">
<div>Hi ,</div>
<div> </div>
<div> 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> </div>
<div>1..Download vtk 5.0.3 source file and unzip it to a location C:\myprojects\vtksrc.</div>
<div>2 .Download vtk data 5.0.3 and unzip it to a location C:\myprojects\vtkdata.</div>
<div>3.Download vtk 5.0.3 win 32.exe to 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./" rel="nofollow" target="_blank">2.4.7.</a></div>
<div>6.on windows xp set the environment variables right click on my computer,properties---->Advanced----->environment variables--------->system variables----------->new-------->variable name-------->vtk_data_root---------->variable value--------->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 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 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> </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> </div>
<div><span style="font-size: 10pt;"><font face="Times New Roman" size="4"></font></span> </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> </div>
<div> </div>
<div><font face="Times New Roman" size="4">when I opened an example project directly by clicking on example.cxx file</font> it flashed an erron in vc++ ide stating that cannot compile the file no compile tool associated with the file extension</div>
<div> </div>
<div>please provide me a solution for this.</div>
<p><font size="4"></font> </p></div></div></div></div></div><div class="WgoR0d"><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" target="_blank">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </div>
</div><br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>