<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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>
&nbsp; FIND_PACKAGE(ITK)<br>
&nbsp; IF(ITK_FOUND)<br>
&nbsp;&nbsp;&nbsp; INCLUDE(${ITK_USE_FILE})<br>
&nbsp; ELSE(ITK_FOUND)<br>
&nbsp;&nbsp;&nbsp; MESSAGE(FATAL_ERROR<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"Cannot build InsightApplications without ITK.&nbsp; Please set
ITK_DIR.")<br>
&nbsp; ENDIF(ITK_FOUND)<br>
<br>
&nbsp; FIND_PACKAGE(FLTK)<br>
&nbsp; IF(FLTK_FOUND)<br>
&nbsp;&nbsp;&nbsp; INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<br>
&nbsp;
 ENDIF(FLTK_FOUND)<br>
&nbsp; <br>
&nbsp; IF ( FLTK_FOUND )<br>
&nbsp;&nbsp;&nbsp; FLTK_WRAP_UI( ImageViewer ImageViewerGUI.fl )<br>
&nbsp; ENDIF ( FLTK_FOUND )<br>
<br>
<br>
SET (InsightApplications_SOURCE_DIR C:/InsightToolkit/ITK/InsightApplications-3.2.0)<br>
<br>
SET ( ImageViewer_SRCS&nbsp; ImageViewer.cxx&nbsp; ${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>
&nbsp; ITKBasicFilters<br>
&nbsp; ITKIO<br>
&nbsp; ITKCommon<br>
&nbsp; 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..&nbsp; after i compile it, there is error,<br>
<br>
it say: " LINK : <span class="yshortcuts" id="lw_1218517453_0">fatal error LNK1104</span>: 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??&nbsp; <br>
<br>
i use CMake-2.6,&nbsp;&nbsp; ITK-3.2.0,&nbsp;&nbsp; FLTK-1.1.7,&nbsp;&nbsp; Visual Studio-6, <br>
<br>
thank you very much..<br>
</td></tr></table><br>