<DIV>Hi,all users:</DIV>
<DIV>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 :</DIV>
<DIV>PROJECT(ImageViewer)</DIV>
<DIV>IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )</DIV>
<DIV> 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)</DIV>
<DIV> FIND_PACKAGE(FLTK)<BR> IF(FLTK_FOUND)<BR> INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<BR> ENDIF(FLTK_FOUND)</DIV>
<DIV>ENDIF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )</DIV>
<DIV>INCLUDE_DIRECTORIES (<BR> ${InsightApplications_SOURCE_DIR}/Auxiliary/FltkImageViewer<BR>)</DIV>
<DIV>SET(ImageViewer_GUI_SRCS<BR> ImageViewerGUI.fl<BR> )</DIV>
<DIV>FLTK_WRAP_UI( ImageViewer ${ImageViewer_GUI_SRCS} )</DIV>
<DIV>SET ( ImageViewer_SRCS<BR> ImageViewer.cxx<BR> ${ImageViewer_FLTK_UI_SRCS}<BR> )<BR>ITK_DISABLE_FLTK_GENERATED_WARNINGS("${ImageViewer_SRCS}")</DIV>
<DIV>ADD_GUI_EXECUTABLE( ImageViewer "${ImageViewer_SRCS}" )<BR>TARGET_LINK_LIBRARIES (ImageViewer<BR> ITKBasicFilters<BR> ITKIO<BR> ITKFltkImageViewer<BR>)<BR>there was not change with ImageViewer.cxx code and ImageViewerGUI.fl 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 "..\VolviewPlugIns\bin\Debug\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.8, ITK-3.18.0, FLTK-1.1.10, Visual Studio2005 <BR><BR>thank you very much.</DIV>
<DIV> shaoping sun<BR><BR></DIV><br><br><span title="neteasefooter"/></span>