<br>Yes, you will have examples  in the bin directory of your build.<div>I thought, you were only interested in some examples, that&#39;s why I suggested making your own CMakeLists.txt.</div><div><br></div><div>You have compile errors - check the code. </div>
<div>Have you taken your example from the same version of vtk as your build?</div><div>in  5.10 vtkPolyDataMapper2D does not have member SetInputData().</div><div><br></div><div>Anka</div><div><br></div><div><br></div><div>
<br></div><div><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 9:57 AM, Jacinto Perez <span dir="ltr">&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..<br> 
<br> 
<div style="margin-left:40px"> 
        <em><span>Scanning dependencies of target labeledMesh</span></em></div> 
<div> 
        <em>[100%] Building CXX object CMakeFiles/labeledMesh.dir/</em><u></u><em>labeledMesh.cxx.o</em><u></u></div> 
<u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u></div> 
<u></u> 
<div> 
        <em>/home/Applications/</em><u></u><em>TESTS/labeledMesh/labeledMesh.</em><u></u><em>cxx:15:3: error: expected unqualified-id before numeric constant</em><u></u><u></u></div> 
<u></u><u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u><u></u><u></u></div> 
<u></u><u></u> 
<div> 
        <em>/home/Applications/</em><u></u><em>TESTS/labeledMesh/labeledMesh.</em><u></u><em>cxx: In function ‘int main(int, char**)’:</em><u></u><u></u></div> 
<u></u><u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u><u></u><u></u></div> 
<u></u><u></u> 
<div> 
        <em>/home/Applications/</em><u></u><em>TESTS/labeledMesh/labeledMesh.</em><u></u><em>cxx:117:15: error: ‘class vtkPolyDataMapper2D’ has no member named ‘SetInputData’</em><u></u><u></u></div> 
<u></u><u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u><u></u><u></u></div> 
<u></u><u></u> 
<div> 
        <em>make[2]: *** [CMakeFiles/labeledMesh.dir/</em><u></u><em>labeledMesh.cxx.o] Error 1</em><u></u></div> 
<u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u></div> 
<u></u> 
<div> 
        <em>make[1]: *** [CMakeFiles/labeledMesh.dir/</em><u></u><em>all] Error 2</em><u></u></div> 
<u></u> 
<div style="margin-left:40px"> 
        <u></u><u></u></div> 
<u></u> 
<div> 
        <em>make: *** [all] Error 2</em></div> 
<div> 
        <br> 
        <em>I tried with another example..   VtkLinearSelector3d and gives me a similar error.. maybe they are old?</em><br> 
        <br> 
        <div style="margin-left:40px"> 
                <em>[100%] Building CXX object CMakeFiles/</em><u></u><em>TestLinearSelector3D.dir/</em><u></u><em>TestLinearSelector3D.cxx.o</em><u></u><u></u></div> 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div> 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx: In function ‘int CheckExtractedUGrid(</em><u></u><em>vtkExtractSelection*, const char*, int, bool)’:</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div> 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:109:</em><u></u><em>15: error: ‘class vtkUnstructuredGridWriter’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx: In function ‘int TestLinearSelector3D(int, char**)’:</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:144:</em><u></u><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:152:</em><u></u><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:164:</em><u></u><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:172:</em><u></u><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:190:</em><u></u><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:197:</em><u></u><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:215:</em><u></u><em>8: error: ‘class vtkLinearSelector’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>/home/Applications/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TESTS/TestLinearSelector3D/</em><u></u><em>TestLinearSelector3D.cxx:222:</em><u></u><em>8: error: ‘class vtkExtractSelection’ has no member named ‘SetInputData’</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>make[2]: *** [CMakeFiles/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TestLinearSelector3D.dir/</em><u></u><em>TestLinearSelector3D.cxx.o] Error 1</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <em>make[1]: *** [CMakeFiles/</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>TestLinearSelector3D.dir/all] Error 2</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
        <div style="margin-left:40px"> 
                <u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><em>make: *** [all] Error 2</em><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></div>
 
</div> 
<br> 
<u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u>The CmakeLists.txt are like this..<br>
 
<br> 
<pre style="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="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> 
  
<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> 
  
<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> 
  
<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> 
  
<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></pre> 
<br> 
<br> 
<br> 
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!<br> 
<br> 
<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: Bill Lorensen</span></span></p> 
        <p style="margin:0px;padding:0px"> 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 06/11/12 02:45 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><div class="im"> 
        <br> 
        <div> 
                <div> 
                        <pre> 
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; : <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</pre> 
                </div> 
        </div> 
</div></blockquote> 
<p style="margin:0px;padding:0px"> 
         </p> 
<u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u></span></span>
<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>
<br></blockquote></div><br></div>