[Insight-users] ITK Compilation Problem

Julien Jomier jjomier at cs . unc . edu
Fri, 16 Aug 2002 09:14:38 -0400


Hi Martin,

IView.lib is generated when compiling MetaImage support.
Could you turn BUILD_METAIMAGE to ON.

Hope this helps

Julien

----- Original Message -----
From: <martin.garcia@epfl.ch>
To: <insight-users@public.kitware.com>
Sent: Friday, August 16, 2002 4:01 AM
Subject: [Insight-users] ITK Compilation Problem


> 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/
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users