<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>haii... i have problem with program ImageViewer, appropriate with InsightApplication, and have litle change<br>in code CMakeLists.txt, i have a problem.. the CMakeLists code is :<br><br>----------------------------------------------------------------------------------------------<br>PROJECT(ImageViewer)<br><br> FIND_PACKAGE(ITK)<br> IF(ITK_FOUND)<br> INCLUDE(${ITK_USE_FILE})<br> ELSE(ITK_FOUND)<br> MESSAGE(FATAL_ERROR<br> "Cannot build InsightApplications without ITK. Please set ITK_DIR.")<br> ENDIF(ITK_FOUND)<br><br> FIND_PACKAGE(FLTK)<br> IF(FLTK_FOUND)<br> INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<br>
ENDIF(FLTK_FOUND)<br> <br> IF ( FLTK_FOUND )<br> FLTK_WRAP_UI( ImageViewer ImageViewerGUI.fl )<br> ENDIF ( FLTK_FOUND )<br><br><br>SET (InsightApplications_SOURCE_DIR C:/InsightToolkit/ITK/InsightApplications-3.2.0)<br><br>SET ( ImageViewer_SRCS ImageViewer.cxx ${ImageViewer_FLTK_UI_SRCS} )<br><br><br>INCLUDE_DIRECTORIES ( ${InsightApplications_SOURCE_DIR}/Auxiliary/FltkImageViewer )<br><br>ADD_EXECUTABLE( ImageViewer ${ImageViewer_SRCS} )<br><br>Target_LINK_LIBRARIES ( ImageViewer<br> ITKBasicFilters<br> ITKIO<br> ITKCommon<br> ITKFltkImageViewer<br>)<br>---------------------------------------------------------------------------------------------<br><br>there was not change with ImageViewer.cxx's code and ImageViewerGUI.fl's code..<br><br>after i configure it, it work, and no error.. after i compile it, there is error,<br><br>it say: " LINK : fatal error LNK1104: cannot open
file "ITKFltkImageViewer.lib" "<br><br>then i search ITKFltkImageViewer.lib, but there was not found.. <br><br>what's wrong??? what mistake i have?? <br><br>i use CMake-2.6, ITK-3.2.0, FLTK-1.1.7, Visual Studio-6, <br><br>thank you very much..<br><br></div></div><br>
</body></html>