[Insight-users] Re: vtk installation
Luis Ibanez
luis . ibanez at kitware . com
Mon, 27 Oct 2003 15:38:12 -0500
Hi Sharad,
Thanks for posting the error messages.
It looks like you are having trouble linking with the
symbols of the zlib library.
Did you enable the CMake variable for using the System's
zlib library intead of the one delivered with VTK ?
Please rerun CMake, pass to Advanced mode and make sure
that the following variables are set to OFF
VTK_USE_SYSTEM_ZLIB = OFF
VTK_USE_SYSTEM_PNG = OFF
Then reconfigure, and rebuild.
Regards,
Luis
-----------------------------
Sharad Kumar Somanchi wrote:
> Hi Luis
> i forgot to include the errors in my first email but i sent them in my
> second one did u receive them if not
> they are
> Linking...
> vtkpng.lib(pngread.obj) : error LNK2001: unresolved external symbol
> _inflateInit_
> vtkpng.lib(pngread.obj) : error LNK2001: unresolved external symbol
> _inflate
> vtkpng.lib(pngrutil.obj) : error LNK2001: unresolved external symbol
> _inflate
> vtkpng.lib(pngread.obj) : error LNK2001: unresolved external symbol
> _inflateEnd
> vtkpng.lib(png.obj) : error LNK2001: unresolved external symbol _crc32
> vtkpng.lib(png.obj) : error LNK2001: unresolved external symbol
> _inflateReset
> vtkpng.lib(pngrutil.obj) : error LNK2001: unresolved external symbol
> _inflateReset
> vtkpng.lib(pngwrite.obj) : error LNK2001: unresolved external symbol
> _deflate
> vtkpng.lib(pngwutil.obj) : error LNK2001: unresolved external symbol
> _deflate
> vtkpng.lib(pngwrite.obj) : error LNK2001: unresolved external symbol
> _deflateEnd
> vtkpng.lib(pngwutil.obj) : error LNK2001: unresolved external symbol
> _deflateInit2_
> vtkpng.lib(pngwutil.obj) : error LNK2001: unresolved external symbol
> _deflateReset
> C:\vtk40Src-1\VTK-bin\bin\RelWithDebInfo/CellLocator.exe : fatal error
> LNK1120: 9 unresolved externals
> Error executing link.exe.
>
> ALL_BUILD - 13 error(s), 0 warning(s)
>
> i am using the same compiler visual c++ 6.0
>
> thanks
>
> regards
> sharad
>
>
>
> On Mon, 27 Oct 2003, Luis Ibanez wrote:
>
>
>>Hi Sharad,
>>
>>Please post the errors message that you get.
>>
>>Posting just the number of errors may not be very useful,
>>We could only say that "13" is a bad luck number :-)
>>
>>An error executing "link" may indicate that you have
>>a problem with the installation of your compiler, or
>>that you are mixing two different compilers.
>>
>>
>>Thanks
>>
>>
>> Luis
>>
>>
>>---------------------------------
>>Sharad Kumar Somanchi wrote:
>>
>>>Hi luis
>>>i am having a problem building the VTK
>>>i am following the procedure for ITK installation for Windows and i am
>>>struckup at step 3-4-5 the link to the instructions is
>>>http://caddlab . rad . unc . edu/publications/Tutorials/Summer-02/itk_windows_installation . pdf
>>>when i am buidling the ALL_BUILD project i am getting 13 errors and it
>>>says :Error executing link.exe.
>>>
>>>ALL_BUILD - 13 error(s), 1 warning(s)
>>>
>>>what could be the problem
>>>and for installing the ITK is it enough if i download the InsightToolkit-1.4.0
>>>and follow the procedure
>>>thanks a lot
>>>regards
>>>sharad
>>>
>>
>>
>>
>>
>