<div dir="ltr"><div>I did it, but still not working... Getting the same error message as before.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 April 2013 16:08, John Drescher <span dir="ltr">&lt;<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; I put all the folders in the CMakeLists.txt, but still not working...<br>
&gt;<br>
&gt; TARGET_LINK_LIBRARIES(test ITKCommon ITKIO ITKBasicFilters ITKAlgorithms<br>
&gt; ITKNumerics ITKSpatialObjetcs ITKReview ITKPatented ${QT_LIBRARIES})<br>
&gt;<br>
<br>
</div>Again the missing header files problem has nothing at all to do with<br>
linking. Please put that back to<br>
<br>
TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES} ${QT_LIBRARIES} )<br>
<div class="im"><br>
&gt; Can you give me an example, please? Is there a way to simplify all this<br>
&gt; process?<br>
<br>
</div>You are missing<br>
<br>
include(${ITK_USE_FILE})<br>
<br>
and<br>
<br>
include(${QT_USE_FILE})<br>
<br>
before your add_executable()<br>
<br>
However you seriously need to look at some more recent CMake tutorials<br>
and documentation. There are tons of examples on the vtk wiki.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
John<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Gabriel Santiago<br><br>~&quot;As long as I live so long do I learn&quot;~<div>Ramakhrishna</div>
</div></div>