<span style='font-family:Verdana'><span style='font-size:12px'>A a, .. yes.. i have version 5.10.. that is why so..&nbsp;<br /> 
Do you know the new method for this?<br /> 
<br /> 
I just build all the examples with cmake.. could it be that only some examples are built? Because in the web there are a lot of examples and in this case, for example in folder Examples/Annotation I have only Cxx/LabeledMesh example.<br /> 
And what about all the tests.. I turn on the flag to build them, but I don't have it I think. Or I don't know where they are.<br /> 
<br /> 
<br /> 
Sorry for this basic questions, but I am starting with this.<br /> 
After building all the examples.. to run them, what I have to do?<br /> 
<br /> 
thank you very much!<br /> 
<br /> 
<p style="margin:0px; padding:0px;" > 
         </p> 
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">From: Anka Kochanowska</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 06/11/12 04:18 PM</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">To: Jacinto Perez</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [vtkusers] compile tests or examples</span></span></p> 
        <br /> 
        <div> 
                <br /> 
                Yes, you will have examples &nbsp;in the bin directory of your build. 
                <div> 
                        I thought, you were only interested in some examples, that's why I suggested making your own CMakeLists.txt.</div> 
                <div> 
                         </div> 
                <div> 
                        You have compile errors - check the code.&nbsp;</div> 
                <div> 
                        Have you taken your example from the same version of vtk as your build?</div> 
                <div> 
                        in &nbsp;5.10 vtkPolyDataMapper2D does not have member SetInputData().</div> 
                <div> 
                         </div> 
                <div> 
                        Anka</div> 
                <div> 
                         </div> 
                <div> 
                         </div> 
                <div> 
                         </div> 
                <div> 
                        <br /> 
                        <div class="gmail_quote"> 
                                On Mon, Jun 11, 2012 at 9:57 AM, Jacinto Perez <span>&lt;<a href="mailto:jacintoperez@mail.com" target="_blank">jacintoperez@mail.com</a>&gt;</span> wrote:<br /> 
                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 
                                        <span style="font-family:Verdana"><span style="font-size:12px">Hello, I tried copying CMakeLists for other examples.. but when running make, gives me this error..</span></span><br /> 
                                        <br /> 
                                        <div style="margin-left:40px"> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em><span>Scanning dependencies of target labeledMesh</span></em> </span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>[100%] Building CXX object CMakeFiles/labeledMesh.dir/</em><em>labeledMesh.cxx.o</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/labeledMesh/labeledMesh.</em><em>cxx:15:3: error: expected unqualified-id before numeric constant</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/labeledMesh/labeledMesh.</em><em>cxx: In function ‘int main(int, char**)’:</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/labeledMesh/labeledMesh.</em><em>cxx:117:15: error: ‘class vtkPolyDataMapper2D’ has no member named ‘SetInputData’</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>make[2]: *** [CMakeFiles/labeledMesh.dir/</em><em>labeledMesh.cxx.o] Error 1</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>make[1]: *** [CMakeFiles/labeledMesh.dir/</em><em>all] Error 2</em> </span></span></div> 
                                        <div style="margin-left:40px"> 
                                                 </div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>make: *** [all] Error 2</em> </span></span></div> 
                                        <div> 
                                                <br /> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><em>I tried with another example.. &nbsp; VtkLinearSelector3d and gives me a similar error.. maybe they are old?</em></span></span><br /> 
                                                <br /> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>[100%] Building CXX object CMakeFiles/</em><em>TestLinearSelector3D.dir/</em><em>TestLinearSelector3D.cxx.o</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx: In function ‘int CheckExtractedUGrid(</em><em>vtkExtractSelection*, const char*, int, bool)’:</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:109:</em><em>15: error: ‘class vtkUnstructuredGridWriter’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx: In function ‘int TestLinearSelector3D(int, char**)’:</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:144:</em><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:152:</em><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:164:</em><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:172:</em><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:190:</em><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:197:</em><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:215:</em><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>/home/Applications/</em><em>TESTS/TestLinearSelector3D/</em><em>TestLinearSelector3D.cxx:222:</em><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>make[2]: *** [CMakeFiles/</em><em>TestLinearSelector3D.dir/</em><em>TestLinearSelector3D.cxx.o] Error 1</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                         </div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>make[1]: *** [CMakeFiles/</em><em>TestLinearSelector3D.dir/all] Error 2</em> </span></span></div> 
                                                <div style="margin-left:40px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><em>make: *** [all] Error 2</em> </span></span></div> 
                                        </div> 
                                        <br /> 
                                        <span style="font-family:Verdana"><span style="font-size:12px">The CmakeLists.txt are like this..</span></span><br /> 
                                        <br /> 
                                        <pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"> 
<span style="font-family:Verdana"><span style="font-size:12px"> 
<span style="color:rgb(31,63,129)">cmake_minimum_required</span><span style="color:rgb(25,125,139)">(</span><span style="color:rgb(7,120,7)">VERSION</span> 2.8<span style="color:rgb(25,125,139)">)</span> 
&nbsp; 
<span style="color:rgb(31,63,129)">PROJECT</span><span style="color:rgb(25,125,139)">(</span><em>TestLinearSelector3D</em><span style="color:rgb(25,125,139)">)</span> 
&nbsp; 
<span style="color:rgb(31,63,129)">find_package</span><span style="color:rgb(25,125,139)">(</span>VTK REQUIRED<span style="color:rgb(25,125,139)">)</span> 
<span style="color:rgb(31,63,129)">include</span><span style="color:rgb(25,125,139)">(</span><span style="color:rgb(176,128,0)">${VTK_USE_FILE}</span><span style="color:rgb(25,125,139)">)</span> 
&nbsp; 
<span style="color:rgb(31,63,129)">if</span> <span style="color:rgb(25,125,139)">(</span>APPLE<span style="color:rgb(25,125,139)">)</span> 
  <span style="color:rgb(31,63,129)">add_executable</span><span style="color:rgb(25,125,139)">(</span><em>TestLinearSelector3D</em> MACOSX_BUNDLE <em>TestLinearSelector3D</em>.cxx<span style="color:rgb(25,125,139)">)</span> 
<span style="color:rgb(31,63,129)">else</span><span style="color:rgb(25,125,139)">()</span> 
  <span style="color:rgb(31,63,129)">add_executable</span><span style="color:rgb(25,125,139)">(</span><em>TestLinearSelector3D</em> <em>TestLinearSelector3D</em>.cxx<span style="color:rgb(25,125,139)">)</span> 
<span style="color:rgb(31,63,129)">endif</span><span style="color:rgb(25,125,139)">()</span> 
&nbsp; 
<span style="color:rgb(31,63,129)">if</span><span style="color:rgb(25,125,139)">(</span>VTK_LIBRARIES<span style="color:rgb(25,125,139)">)</span> 
  <span style="color:rgb(31,63,129)">target_link_libraries</span><span style="color:rgb(25,125,139)">(</span><em>TestLinearSelector3D</em> <span style="color:rgb(176,128,0)">${VTK_LIBRARIES}</span><span style="color:rgb(25,125,139)">)</span> 
<span style="color:rgb(31,63,129)">else</span><span style="color:rgb(25,125,139)">()</span> 
  <span style="color:rgb(31,63,129)">target_link_libraries</span><span style="color:rgb(25,125,139)">(</span><em>TestLinearSelector3D</em> vtkHybrid <span style="color:rgb(25,125,139)">)</span> 
<span style="color:rgb(31,63,129)">endif</span><span style="color:rgb(25,125,139)">()</span></span></span></pre> 
                                        <br /> 
                                        <br /> 
                                        <br /> 
                                        <span style="font-family:Verdana"><span style="font-size:12px">I have already installed vtk on my pc.. I will try configuring again with cmake and turning on that flags.. but then, what happens? I have them all ready to execute?<br /> 
                                        Thank you!</span></span><br /> 
                                        <br /> 
                                        <br /> 
                                        <br /> 
                                        <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></p> 
                                        <blockquote style="border-left:1px solid #ccc;padding-left:5px;margin-left:5px;margin-bottom:0px;margin-top:0px;margin-right:0px" type="cite"> 
                                                <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></span></span></p> 
                                                <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">From: Bill Lorensen</span></span></span></span></p> 
                                                <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Sent: 06/11/12 02:45 PM</span></span></span></span></p> 
                                                <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">To: Jacinto Perez</span></span></span></span></p> 
                                                <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [vtkusers] compile tests or examples</span></span></span></span></p> 
                                                <div class="im"> 
                                                        <br /> 
                                                        <div> 
                                                                <div> 
                                                                        <pre> 
<span style="font-family:Verdana"><span style="font-size:12px"> 
When you configure your vtk with cmake, turn on BUILD_TESTING and 
BUILD_EXAMPLES. 

On Mon, Jun 11, 2012 at 8:31 AM, Jacinto Perez &lt;<a href="mailto:jacintoperez@mail.com" target="_blank">jacintoperez@mail.com</a>&gt; wrote: 
&gt; Hello! 
&gt; 
&gt; One question. In the examples that are on the wiki pages, each one comes 
&gt; with its cmakelists.txt .. 
&gt; What about the tests and examples that are in the class documentation? 
&gt; 
&gt; For example this one 
&gt; :&nbsp;<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Filters/General/Testing/Cxx/BoxClipPolyData.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Filters/General/Testing/Cxx/BoxClipPolyData.cxx</a> 
&gt; 
&gt; Is there a special way to compile them , or to use them? 
&gt; 
&gt; Than you for the help! 
&gt; _______________________________________________ 
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> 
&gt; 
&gt; Visit other Kitware open-source projects at 
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a> 
&gt; 
&gt; Please keep messages on-topic and check the VTK FAQ at: 
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a> 
&gt; 
&gt; Follow this link to subscribe/unsubscribe: 
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a> 
&gt; 



-- 
Unpaid intern in BillsBasement at noware dot com</span></span></pre> 
                                                                </div> 
                                                        </div> 
                                                </div> 
                                        </blockquote> 
                                        <p style="margin:0px; padding:0px; margin:0px;padding:0px"> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></p> 
                                        <br /> 
                                        _______________________________________________<br /> 
                                        Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br /> 
                                        <br /> 
                                        Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br /> 
                                        <br /> 
                                        Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br /> 
                                        <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 /> 
                                         </blockquote> 
                        </div> 
                </div> 
        </div> 
</blockquote> 
<p style="margin:0px; padding:0px;" > 
         </p> 
</span></span>