[Insight-users] cannot find ITKFltkImageViewer

a a jordanvis at yahoo.com
Sun, 21 Mar 2004 08:04:15 -0800 (PST)


--0-1506321931-1079885055=:24129
Content-Type: multipart/alternative; boundary="0-2028773725-1079885055=:24129"

--0-2028773725-1079885055=:24129
Content-Type: text/plain; charset=us-ascii

Hi Luis,
oops, forgot to attach the files in the previous mail
here's the CmakeLists.txt and CMakeCache.txt files, and in addition the error file from VC++ when i try building the LandmarkInitialisedMutualInfo. registration out of the source tree. is this ITKFltkImageViewer.lib needed only when i want to use the FltkImageViewer in my application, Thanks
 
and Thanks again
Regards
jordan


Luis Ibanez <luis.ibanez at kitware.com> wrote: 
Hi Jordan,

Please post your CMakeLists.txt file
and the CMakeCache.txt file that CMake
created in the binary directory where
you are trying to build your application.


Thanks,


Luis


-----------------
a a wrote:
> Hi,
> 
> i was trying to build some examples outside the Insight Applications 
> source tree, and there were times that VC++ can't find 
> ITKFltkImageViewer.lib. i've alreay included
> FIND_LIBRARY(FltkImageViewer_LIBRARY NAMES FltkImageViewer )
> TARGET_LINK_LIBRARIES( myProject ${FltkImageViewer} )
> and when i run CMake, i pointed to the ITKFltkImageViewer.lib inside the 
> Auxilary/FltkImageViewer/Debug directory. i've also added in the ITK, 
> FLTK and VTK libraries etc. in the CMake list required for my project, 
> but VC++ still couln't find this ITKFltkImageViewer.lib. Can anyone 
> tell me how to make this work, and in what cases do we need to include 
> this ITKFltkImageViewer.lib file.
> 
> Thanks and regards
> jordan
> 


_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
--0-2028773725-1079885055=:24129
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 ?>
<TBODY>
<TR>
<TD>
<DIV>Hi Luis,</DIV>
<DIV>oops,&nbsp;forgot to attach the files in the previous mail</DIV>
<DIV>here's the CmakeLists.txt and CMakeCache.txt files, and in addition the error file from VC++ when i try building the LandmarkInitialisedMutualInfo. registration out of the source tree. is this ITKFltkImageViewer.lib needed only when i want to use the FltkImageViewer in my application, Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>and Thanks again</DIV>
<DIV>Regards</DIV>
<DIV>jordan</DIV></TD></TR></TBODY></TABLE><BR><BR><B><I>Luis Ibanez &lt;luis.ibanez at kitware.com&gt;</I></B> wrote: 
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Jordan,<BR><BR>Please post your CMakeLists.txt file<BR>and the CMakeCache.txt file that CMake<BR>created in the binary directory where<BR>you are trying to build your application.<BR><BR><BR>Thanks,<BR><BR><BR>Luis<BR><BR><BR>-----------------<BR>a a wrote:<BR>&gt; Hi,<BR>&gt; <BR>&gt; i was trying to build some examples outside the Insight Applications <BR>&gt; source tree, and there were times that VC++ can't find <BR>&gt; ITKFltkImageViewer.lib. i've alreay included<BR>&gt; FIND_LIBRARY(FltkImageViewer_LIBRARY NAMES FltkImageViewer )<BR>&gt; TARGET_LINK_LIBRARIES( myProject ${FltkImageViewer} )<BR>&gt; and when i run CMake, i pointed to the ITKFltkImageViewer.lib inside the <BR>&gt; Auxilary/FltkImageViewer/Debug directory. i've also added in the ITK, <BR>&gt; FLTK and VTK libraries etc. in the CMake list required for my project, <BR>&gt; but VC++ still couln't find this
 ITKFltkImageViewer.lib. Can anyone <BR>&gt; tell me how to make this work, and in what cases do we need to include <BR>&gt; this ITKFltkImageViewer.lib file.<BR>&gt; <BR>&gt; Thanks and regards<BR>&gt; jordan<BR>&gt; <BR><BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users at itk.org<BR>http://www.itk.org/mailman/listinfo/insight-users</BLOCKQUOTE></DIV></DIV><p><font face=arial size=-1>Do you Yahoo!?<br>
<a href="http://taxes.yahoo.com/filing.html"><b>Yahoo! Finance Tax Center</a></b> - File online. File on time.
--0-2028773725-1079885055=:24129--
--0-1506321931-1079885055=:24129
Content-Type: text/plain; name="CMakeCache.txt"
Content-Description: CMakeCache.txt
Content-Disposition: inline; filename="CMakeCache.txt"

# This is the CMakeCache file.
# For build in directory: c:/ProjectA/BUILD
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a program.
CMAKE_AR:FILEPATH=CMAKE_AR-NOTFOUND

//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake allow.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=1.8

//C++ compiler
CMAKE_CXX_COMPILER:STRING=cl

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=  /W3 /Zm1000 /GX /GR

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Od /GZ

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2

//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2

//C compiler
CMAKE_C_COMPILER:STRING=cl

//Flags for C compiler.
CMAKE_C_FLAGS:STRING=  /W3 /Zm1000

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Od /GZ

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2

//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=/STACK:10000000 /machine:I386 /INCREMENTAL:YES

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /pdbtype:sept

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /pdbtype:sept

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/PROGRA~1/MICROS~5/Common/MSDev98/Bin/msdev.com

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=/STACK:10000000 /machine:I386 /INCREMENTAL:YES

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /pdbtype:sept

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /pdbtype:sept

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=/STACK:10000000 /machine:I386 /INCREMENTAL:YES

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /pdbtype:sept

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /pdbtype:sept

//If set, runtime paths are not added when using shared libraries.
//
CMAKE_SKIP_RPATH:BOOL=NO

//Libraries linked by defalut with all applications.
CMAKE_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Single output directory for building all executables.
EXECUTABLE_OUTPUT_PATH:PATH=

//Where can one of the fltk or fltkd libraries be found
FLTK_BASE_LIBRARY:FILEPATH=C:/fltk-1.1.4/lib/fltkd.lib

//Path to a program.
FLTK_FLUID_EXECUTABLE:FILEPATH=C:/fltk-1.1.4/fluid/fluidd.exe

//Where can one of the fltkforms, fltkformsd or fltk_forms libraries
// be found
FLTK_FORMS_LIBRARY:FILEPATH=C:/fltk-1.1.4/lib/fltkformsd.lib

//Where can one of the fltkgl, fltkgld or fltk_gl libraries be
// found
FLTK_GL_LIBRARY:FILEPATH=C:/fltk-1.1.4/lib/fltkgld.lib

//Where can one of the fltkimages, fltkimagesd or fltk_images libraries
// be found
FLTK_IMAGES_LIBRARY:FILEPATH=C:/fltk-1.1.4/lib/fltkimagesd.lib

//What is the path where the file FL/Fl.h can be found
FLTK_INCLUDE_DIR:PATH=C:/fltk-1.1.4

//Use FLTK version 1.0.11
FLTK_VERSION_1.0.11:BOOL=OFF

//Use FLTK version 1.1
FLTK_VERSION_1.1:BOOL=ON

//Where can the FltkImageViewer library be found
FltkImageViewer_LIBRARY:FILEPATH=C:/ITK/build_Apps/Auxiliary/FltkImageViewer/Debug/ITKFltkImageViewer.lib

//The directory containing ITKConfig.cmake.  This is either the
// root of the build tree, or PREFIX/lib/InsightToolkit for an
// installation.
ITK_DIR:PATH=C:/ITK/build

//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:PATH=

//OpenGL library for win32
OPENGL_gl_LIBRARY:STRING=opengl32

//GLU library for win32
OPENGL_glu_LIBRARY:STRING=glu32

//Value Computed by CMake
ProjectA_BINARY_DIR:STATIC=C:/ProjectA/BUILD

//Value Computed by CMake
ProjectA_SOURCE_DIR:STATIC=C:/ProjectA/SRC

//Location of Tcl library imported from VTK.  This may mean your
// project is depending on VTK to get this setting.  Consider using
// FindTCL.cmake.
TCL_LIBRARY:FILEPATH=C:/PROGRA~1/TCL/lib/tcl83.lib

//Location of Tk library imported from VTK.  This may mean your
// project is depending on VTK to get this setting.  Consider using
// FindTCL.cmake.
TK_LIBRARY:FILEPATH=C:/PROGRA~1/TCL/lib/tk83.lib

//The directory containing VTKConfig.cmake.  This is either the
// root of the build tree, or PREFIX/lib/vtk for an installation.
//  For VTK 4.0, this is the location of UseVTK.cmake.  This is
// either the root of the build tree or PREFIX/include/vtk for
// an installation.
VTK_DIR:PATH=C:/VTK42/build


########################
# INTERNAL cache entries
########################

//Advanced flag for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=C:/PROGRA~1/MICROS~5/Common/MSDev98/Bin/msdev.com
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/ProjectA/BUILD
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=1
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 2
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/CMake/bin/cmake.exe
//Advanced flag for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_CXX_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_C_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/CMake/bin/CMakeSetup.exe
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 6
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/ProjectA/SRC
//Advanced flag for variable: CMAKE_INSTALL_PREFIX
CMAKE_INSTALL_PREFIX-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
//
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/CMake
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
//
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
//
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_STANDARD_LIBRARIES
CMAKE_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//FLTK library, headers and Fluid are available
FLTK_FOUND:INTERNAL=1
//Advanced flag for variable: FLTK_VERSION_1.0.11
FLTK_VERSION_1.0.11-ADVANCED:INTERNAL=1
//Advanced flag for variable: FLTK_VERSION_1.1
FLTK_VERSION_1.1-ADVANCED:INTERNAL=1
//Can we honour the FLTK_WRAP_UI command
FLTK_WRAP_UI:INTERNAL=1
//Advanced flag for variable: OPENGL_gl_LIBRARY
OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: OPENGL_glu_LIBRARY
OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
//Path to an executable
ProjectA_CMAKE_PATH:INTERNAL=C:/ProjectA/BUILD
//Advanced flag for variable: TCL_LIBRARY
TCL_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: TK_LIBRARY
TK_LIBRARY-ADVANCED:INTERNAL=1


--0-1506321931-1079885055=:24129
Content-Type: text/plain; name="CMakeLists.txt"
Content-Description: CMakeLists.txt
Content-Disposition: inline; filename="CMakeLists.txt"

PROJECT(ProjectA)
###############

#Find ToolKits Packages
########################


# Find ITK
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
  INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
  MESSAGE(FATAL_ERROR
          "Cannot build without ITK.  Please set ITK_DIR.")
ENDIF(ITK_FOUND)


# Find FLTK
FIND_PACKAGE(FLTK)
IF(FLTK_FOUND)
	INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})
ENDIF(FLTK_FOUND)


# Find VTK
INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)
IF (USE_VTK_FILE)
  INCLUDE(${USE_VTK_FILE})
ENDIF (USE_VTK_FILE)


#Find OpenGL
FIND_PACKAGE(OpenGL)

IF(OPENGL_INCLUDE_PATH)
  INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_PATH})
ENDIF(OPENGL_INCLUDE_PATH)

#Find FltkImageViewer
FIND_LIBRARY(FltkImageViewer_LIBRARY NAMES FltkImageViewer)



# ProjectA executable
########################
ADD_EXECUTABLE(ProjectA 
UserInterface/main.cxx
UserInterface/guiMainImplementation.cxx

Logic/ImageRegistrationApp.h
Logic/ImageRegistrationApp.txx
Logic/LandmarkBasedRegistrator.h
Logic/LandmarkBasedRegistrator.txx
Logic/LandmarkSliceViewer.h
Logic/LandmarkSliceViewer.txx
Logic/itkLeastSquareDistanceCostFunction.h
Logic/itkLeastSquareDistanceCostFunction.txx
)


# FLTK Wrapping
################
IF(FLTK_FOUND)
	FLTK_WRAP_UI(ProjectA 
UserInterface/guiMain.fl

) 
ENDIF(FLTK_FOUND)



# LIBRARIES AND EXTERNAL CODES
###############################

# Include directories
INCLUDE_DIRECTORIES(
	C:/ProjectA/SRC/Common
	C:/ProjectA/SRC/Logic
	C:/ProjectA/SRC/UserInterface
	${FLTK_INCLUDE_PATH}
  	${OPENGL_INCLUDE_PATH}

	C:/ITK/InsightApplications-1.4.0/Auxiliary/FltkImageViewer
	C:/ITK/build_Apps/Auxiliary/FltkImageViewer

)

SET(GRAPHICS_LIBS
  vtkCommon
  vtkFiltering
  vtkGraphics
  vtkHybrid
  vtkImaging
  vtkRendering
  vtkIO
  ${FLTK_LIBRARIES} 
  ${OPENGL_glu_LIBRARY}
  ${OPENGL_LIBRARIES}
  ${OPENGL_LIBRARY}
)

SET(ITK_LIBS
  ITKIO
  ITKCommon
  ITKBasicFilters
  ITKMetaIO
  ITKStatistics
  ITKFltkImageViewer

)



TARGET_LINK_LIBRARIES(ProjectA  ${FltkImageViewer} ${GRAPHICS_LIBS} ${ITK_LIBS})





--0-1506321931-1079885055=:24129
Content-Type: text/plain; name="VC_error.txt"
Content-Description: VC_error.txt
Content-Disposition: inline; filename="VC_error.txt"

Generating Code...
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\utility(21) : warning C4786: 'std::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char
> > const ,double>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,double,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<double> >::_Kfn,std::less<std::basic_string<char,
std::char_traits<char>,std::allocator<char> > >,std::allocator<double> >::iterator,bool>::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<cha
r> > const ,double>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,double,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<double> >::_Kfn,std::less<std::basic_string<char
,std::char_traits<char>,std::allocator<char> > >,std::allocator<double> >::iterator,bool>' : identifier was truncated to '255' characters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\utility(21) : warning C4786: 'std::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLan
dmark> >::_Kfn,std::less<unsigned int>,std::allocator<VisualLandmark> >::iterator,bool>::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLan
dmark> >::_Kfn,std::less<unsigned int>,std::allocator<VisualLandmark> >::iterator,bool>' : identifier was truncated to '255' characters in the debug information
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\utility(21) : warning C4786: 'std::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLan
dmark> >::_Kfn,std::less<unsigned int>,std::allocator<VisualLandmark> >::iterator,std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLandmark> >::_K
fn,std::less<unsigned int>,std::allocator<VisualLandmark> >::iterator>::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLandmark> >::_Kfn,st
d::less<unsigned int>,std::allocator<VisualLandmark> >::iterator,std::_Tree<unsigned int,std::pair<unsigned int const ,VisualLandmark>,std::map<unsigned int,VisualLandmark,std::less<unsigned int>,std::allocator<VisualLandmark> >::_Kfn,std::less<unsi
gned int>,std::allocator<VisualLandmark> >::iterator>' : identifier was truncated to '255' characters in the debug information
Linking...
LINK : fatal error LNK1104: cannot open file "ITKFltkImageViewer.lib"
Error executing link.exe.

ProjectA.exe - 1 error(s), 3 warning(s)


--0-1506321931-1079885055=:24129--