[Insight-users] Writing images to files

chris harris chrisharrisgod at yahoo.com
Tue Sep 7 20:05:51 EDT 2004


Hi Julien,
               I did not add any libraries in my cmakelist.txt file . I just copied the HelloWorld  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 Iceberg.
 
 Here is my Cmakelists.txt 

PROJECT(Image)

FIND_PACKAGE(ITK)

IF(ITK_FOUND)

INCLUDE(${ITK_USE_FILE})

ELSE(ITK_FOUND)

MESSAGE(FATAL_ERROR

"ITK not found. Please set ITK_DIR.")

ENDIF(ITK_FOUND)

ADD_EXECUTABLE(Image Image.cxx )

TARGET_LINK_LIBRARIES(Image ITKCommon)




Thanks
Chris harris
		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20040907/e089c770/attachment.htm


More information about the Insight-users mailing list