[Insight-users] ITK Compilation Problem

martin.garcia@epfl.ch martin . garcia at epfl . ch
Fri, 16 Aug 2002 10:01:26 +0200


HI, 

I've tried to build itk on win2000 and VC++ 6(service pack 5 & 6) but I'had the 
following error: 

--------------------Configuration: RawImageReaderViewer - Win32 Debug-----------
 
  
--------- 
Performing Custom Build Step on 
D:/Insight/Examples/RawImageReaderViewer/itkRawImageReaderViewerGUI.fl 
Compiling... 
RawImageReaderViewer.cxx 
itkRawImageReaderViewer.cxx 
itkRawImageReaderViewerGUI.cxx 
Generating Code... 
Linking... 
LINK : fatal error LNK1104: cannot open file "IView.lib" 
Error executing link.exe. 


I've build ITK using cmake from version Beta2. Before that I've built fltk 
1.0.11 as you recommend(without any problem). I'Ive also built VTK 4.0 without 
any trouble. 

Here are the options of Cmake that I chose: 
BUILD_AUXILIARY ON 
BUILD_EXAMPLES ON 
BUILD_FEM_CODE on 
BUILD_FLTKIMAGEVIEWER ON 
BUILD_METAIMAGE OFF 
BUILD_TESTING ON 
BUILD VTK_INTERFACE OFF 

FLTK_FLUID_EXE D:/fltk-1.0.11/fluid/fluidd.exe 
FLTK_INCLUDE_PATH D:/fltk1.0.11 
FLTKLIBRARY D:/fltk-1.0.11/lib/fltk.lib 
FLTK_WRAP_UI ON 
GLU_LIBRARY glu32 
ITK_DATA_ROOT d:/Insight/Testing/Data 
ITK_USE_SYSTEM_STLIB ON 
ITK_WRAP_TCL OFF 
USE_BUILT_VTK ON 
USE_FLTK ON 
VTK_BINARY_PATH D:/VTK 
VTKINSTALL_PATH C:/PROGRA~1/vtk40 


Thanks for your help 





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/