Fwd: Re: [Insight-users] fatal error LNK1104: cannot open file "VXLNumerics.lib"

Jisung Kim bahrahm at yahoo . com
Mon, 1 Jul 2002 07:18:35 -0700 (PDT)


--- Jisung Kim <bahrahm@yahoo.com> wrote:
> Date: Mon, 1 Jul 2002 07:01:50 -0700 (PDT)
> From: Jisung Kim <bahrahm@yahoo.com>
> Subject: Re: [Insight-users] fatal error LNK1104:
> cannot open file "VXLNumerics.lib"
> To: Zein Salah <salah@gris.uni-tuebingen.de>
> 
> Hi Zein.
> 
> To build all the examples in ITK, you should have
> turn
> on some build options in CMake (in Windows,
> CMakeSetup) to build necassary libraries and
> utilities. 
> 
> The followings are neccessary. 
> 
> //Build the unsupported directory
> BUILD_AUXILIARY:BOOL=ON
> 
> //Build the examples directory
> BUILD_EXAMPLES:BOOL=ON
> 
> //Build the FEM Code
> BUILD_FEM_CODE:BOOL=ON
> 
> //Build the FEM-Mesh example
> BUILD_FEM_MESH_EXAMPLE:BOOL=OFF
> 
> //Build the FltkImageViewer Library
> BUILD_FLTKIMAGEVIEWER:BOOL=ON
> 
> //Build the MetaImage Library
> BUILD_METAIMAGE:BOOL=ON
> 
> Also you need to install FLTK and VTK, and turn on
> USE_FLTK and USE_VTK build options. I couldn't find
> these options in your CMakeCache.txt file either.
> Without them, you wouldn't see some of the above
> options in CMakeSetup's "CacheValue" list.
> 
> After you got every options turned on and libraries
> installed, you should build ITK by openin the
> ITK.dsw
> file with VC++.
> 
> You may want to look at my step-by-step installation
> instruction at
>
http://caddlab.rad.unc.edu/publications/Tutorials/Summer-02/itk_windows_installation.pdf
> 
> Thanks,
> 
> Jisung.
> 
> --- Zein Salah <salah@gris.uni-tuebingen.de> wrote:
> > hellow Jisung,
> > 
> > I have attachted the file with this message.
> > 
> > thanks,
> > Zein
> > 
> > 
> > ----- Original Message -----
> > From: "Jisung Kim" <bahrahm@yahoo.com>
> > To: "Zein Salah" <salah@gris.uni-tuebingen.de>;
> > <insight-users@public.kitware.com>
> > Sent: Monday, July 01, 2002 3:07 PM
> > Subject: Re: [Insight-users] fatal error LNK1104:
> > cannot open file
> > "VXLNumerics.lib"
> > 
> > 
> > > Hellow Zein.
> > >
> > > Could you post your CMakeCache.txt file to this
> > list?
> > > You can find the file at the root directory of
> you
> > ITK
> > > binary directory where you can also find ITK.dsw
> > file.
> > >
> > > Thanks,
> > >
> > > Jisung Kim.
> > >
> > > --- Zein Salah <salah@gris.uni-tuebingen.de>
> > wrote:
> > > > helow all,
> > > >
> > > > I have used Cmake to create the ITK workspace.
> I
> > had
> > > > two problems:
> > > > 1. not all examples in the example directory
> > were.
> > > > 2. When I build any example in VC++ , I got
> > always
> > > > the following error
> > > >
> > > > LINK : fatal error LNK1104: cannot open file
> > > > "VXLNumerics.lib"
> > > >
> > > > I saw in a message to Samuel
> > > >
> > > > Please rerun CMake and set
> > > >
> > > >       BUILD_SHARED_LIBS="OFF"
> > > >
> > > >
> > > > In fact I did not find BUILD_SHARED_LIBS at
> all
> > > > ?!?!?!?!?
> > > >
> > > > Thanks,
> > > >
> > > > zein
> > > >
> > >
> > >
> > > =====
> > > Jisung Kim
> > > bahrahm@yahoo.com
> > > 106 Mason Farm Rd.
> > > 129 Radiology Research Lab., CB# 7515
> > > Univ. of North Carolina at Chapel Hill
> > > Chapel Hill, NC 27599-7515
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> > > # This is the CMakeCache file.
> > # For build in directory: d:/InsightBeta
> > # 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 varible 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
> > ########################
> > 
> > //Build the unsupported directory
> > BUILD_AUXILIARY:BOOL=OFF
> > 
> > //Build the examples directory
> > BUILD_EXAMPLES:BOOL=ON
> > 
> > //Build the testing tree.
> > BUILD_TESTING:BOOL=ON
> > 
> > //Build the watershed segmentation
> > BUILD_WATERSHED_SEGMENTATION:BOOL=ON
> > 
> > //Name of C++ compiler used.
> > CMAKE_CXX_COMPILER:STRING=cl
> > 
> > //Flags used by the compiler during all build
> types,
> > /GX /GR are
> > // for exceptions and rtti in VC++, /Zm1000
> > increases the compiler's
> > // memory allocation to support ANSI C++/stdlib
> > 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
> > 
> > //Extra flags added to the link line for creation
> of
> > exe and dlls.
> > //
> > CMAKE_EXTRA_LINK_FLAGS:STRING=/STACK:10000000
> > 
> > //Program used to build from dsp files.
> > CMAKE_MAKE_PROGRAM:STRING=msdev
> > 
> > //Use the win32 thread library
> > CMAKE_USE_WIN32_THREADS:BOOL=1
> > 
> > //If you have Dart installed, where is it located?
> > DART_ROOT:PATH=NOTFOUND
> > 
> > //Single output directory for building all
> > executables.
> > EXECUTABLE_OUTPUT_PATH:PATH=
> > 
> > //Select whether Finite Elements Modeling (FEM)
> > classes will be
> > // derived from itk::LightObject and use
> > SmartPointers or not.
> > // If you select to use SmartPointers, be sure to
> > define FEM_USE_SMART_POINTERS
> > // macro before including the FEM classes.
> > FEM_USE_SMART_POINTERS:BOOL=OFF
> > 
> > //Select whether the visualization functions will
> be
> > built for
> > // Finite Elements Modeling (FEM) classes or not.
> If
> > you select
> > // to build visualization functions, be sure to
> > define FEM_BUILD_VISUALIZATION
> > // macro before including the FEM classes.
> > FEM_VISUALIZATION:BOOL=OFF
> > 
> > //Value Computed by CMake
> >
>
ITKPNG_BINARY_DIR:STATIC=D:/InsightBeta/Utilities/png
> > 
> > //Value Computed by CMake
> > ITKPNG_SOURCE_DIR:STATIC=D:/Insight/Utilities/png
> > 
> > //Value Computed by CMake
> >
>
ITKZLIB_BINARY_DIR:STATIC=D:/InsightBeta/Utilities/zlib
> > 
> > //Value Computed by CMake
> >
> ITKZLIB_SOURCE_DIR:STATIC=D:/Insight/Utilities/zlib
> > 
> > //Value Computed by CMake
> > ITK_BINARY_DIR:STATIC=D:/InsightBeta
> > 
> > //Value Computed by CMake
> > ITK_SOURCE_DIR:STATIC=D:/Insight
> > 
> > //Use the system's version of the standard C++
> > library (STL and
> > // streams). If 'OFF', ITK will build against a
> > supplied version
> > // of the standard library from SGI. On SGI
> systems,
> > this should
> > // be set to 'OFF'.
> > ITK_USE_SYSTEM_STDLIB:BOOL=ON
> > 
> > //Build Tcl wrapper support.
> > ITK_WRAP_TCL:BOOL=OFF
> > 
> > //Single output directory for building all
> > libraries.
> > LIBRARY_OUTPUT_PATH:PATH=
> > 
> > //What is the path where the file UseVTK.cmake can
> > be found
> > VTK_BINARY_PATH:PATH=NOTFOUND
> > 
> > //What is the path where the file
> > include/vtk/UseVTK.cmake can
> > // be found
> > VTK_INSTALL_PATH:PATH=NOTFOUND
> > 
> > //What is the path where the file
> avfCROP.1023c.raw
> > can be found
> > //
> > VW_RAW_DATA_PATH:PATH=NOTFOUND
> > 
> > 
> > ########################
> > # INTERNAL cache entries
> > ########################
> > 
> > //This is the directory where this CMakeCahe.txt
> was
> > created
> > CMAKE_CACHEFILE_DIR:INTERNAL=d:/InsightBeta
> > //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=2
> > //Path to CMake executable.
> > CMAKE_COMMAND:INTERNAL="C:/Program
> > Files/CMake/bin/cmake.exe"
> > //Advanced flag for variable: CMAKE_CXX_COMPILER
> > CMAKE_CXX_COMPILER-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_EXTRA_LINK_FLAGS
> > CMAKE_EXTRA_LINK_FLAGS-ADVANCED:INTERNAL=1
> > //Name of generator.
> > CMAKE_GENERATOR:INTERNAL=Visual Studio 6
> > //Advanced flag for variable: CMAKE_MAKE_PROGRAM
> > CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
> > //Path to CMake installation.
> > CMAKE_ROOT:INTERNAL=C:/Program Files/CMake
> > //Size of char data type
> > CMAKE_SIZEOF_CHAR:INTERNAL=1
> > //Size of double data type
> > CMAKE_SIZEOF_DOUBLE:INTERNAL=8
> > //Size of float data type
> > CMAKE_SIZEOF_FLOAT:INTERNAL=4
> > //Size of int data type
> > CMAKE_SIZEOF_INT:INTERNAL=4
> > //Size of long data type
> > CMAKE_SIZEOF_LONG:INTERNAL=4
> > //Size of short data type
> > CMAKE_SIZEOF_SHORT:INTERNAL=2
> > //Size of void* data type
> > CMAKE_SIZEOF_VOID_P:INTERNAL=4
> > //Advanced flag for variable:
> > CMAKE_USE_WIN32_THREADS
> > CMAKE_USE_WIN32_THREADS-ADVANCED:INTERNAL=1
> > 
> === message truncated ===
> 
> 
> =====
> Jisung Kim
> bahrahm@yahoo.com
> 106 Mason Farm Rd.
> 129 Radiology Research Lab., CB# 7515
> Univ. of North Carolina at Chapel Hill
> Chapel Hill, NC 27599-7515
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 


=====
Jisung Kim
bahrahm@yahoo.com
106 Mason Farm Rd.
129 Radiology Research Lab., CB# 7515
Univ. of North Carolina at Chapel Hill
Chapel Hill, NC 27599-7515

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com