<DIV>
<DIV>
<DIV>Hi Julien,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I did not add any libraries in my cmakelist.txt file . I just copied the HelloWorld&nbsp; cmakelists.txt and then changed the names to Image1 which is my program. I did not add any libraries to the CmakeLists.txt What libraries should we add for writing IO reading a file ? I thought the Cmakelists.txt for HelloWorld was standard and we just have to change the name. Thanks for the help . Looks like I'm just seeing the tip of the ITK&nbsp;Iceberg.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;Here is my Cmakelists.txt&nbsp;</DIV><FONT face=Courier size=1>
<P align=left>PROJECT(Image)</P>
<P align=left>FIND_PACKAGE(ITK)</P>
<P align=left>IF(ITK_FOUND)</P>
<P align=left>INCLUDE(${ITK_USE_FILE})</P>
<P align=left>ELSE(ITK_FOUND)</P>
<P align=left>MESSAGE(FATAL_ERROR</P>
<P align=left>"ITK not found. Please set ITK_DIR.")</P>
<P align=left>ENDIF(ITK_FOUND)</P>
<P align=left>ADD_EXECUTABLE(Image Image.cxx )</P>
<P align=left>TARGET_LINK_LIBRARIES(Image ITKCommon)</P></FONT></DIV></DIV><BR><BR>Thanks<br>Chris harris<p>
                <hr size=1>Do you Yahoo!?<br>
Win 1 of 4,000 free domain names from Yahoo! <a
href="http://us.rd.yahoo.com/evt=26640/*http://promotions.yahoo.com/goldrush">Enter now</a>.