[vtkusers] Missing import libraries in shared build

Selvig, Andy Andy.Selvig at goodrich.com
Tue Apr 17 14:47:57 EDT 2007


I was using VTK 5.0.0. I downloaded the source for 5.0.3, reran CMake
into a new directory, and everything seems to work fine now. I'm not
sure what the problem was. 

Thanks for your help.


Andy Selvig
Aerodynamics/Systems Project Engineer
Goodrich Sensor Systems
14300 Judicial Road
Burnsville, MN 55306
Phone: (952) 892-4529
Fax: (952) 892-4219

-----Original Message-----
From: David Cole [mailto:david.cole at kitware.com] 
Sent: Tuesday, April 17, 2007 11:44 AM
To: Selvig, Andy
Cc: VTK Users
Subject: Re: [vtkusers] Missing import libraries in shared build

Does the same thing happen if you start over with a completely empty
binary directory?
(Should only take 10 minutes or so to verify this with a new binary
dir...)

How did you get VTK 5.0? What version is it? 5.0.3?

I'm stumped... CMake 2.4.6 and VS8 are known to work with VTK 5.0...

Anybody else have a clue?



On 4/17/07, Selvig, Andy <Andy.Selvig at goodrich.com> wrote:
> I've attached the build logs for vtkftgl (the first build that fails) 
> and vtkfreetype (the lib that causes vtkftgl to fail). Here's the
> output:
>
> ------ Build started: Project: vtkftgl, Configuration: Release Win32
> ------
> Linking...
> LINK : fatal error LNK1181: cannot open input file 'vtkfreetype.lib'
> Build log was saved at
> "file://c:\vtk\VTK-5.0\ReleaseDLL\Utilities\ftgl\vtkftgl.dir\Release\B
> ui
> ldLog.htm"
> vtkftgl - 1 error(s), 0 warning(s)
>
>
>
> Andy Selvig
> Aerodynamics/Systems Project Engineer
> Goodrich Sensor Systems
> 14300 Judicial Road
> Burnsville, MN 55306
> Phone: (952) 892-4529
> Fax: (952) 892-4219
>
> -----Original Message-----
> From: David Cole [mailto:david.cole at kitware.com]
> Sent: Tuesday, April 17, 2007 8:37 AM
> To: Selvig, Andy
> Cc: VTK Users
> Subject: Re: [vtkusers] Missing import libraries in shared build
>
> Send along your build output with the specific error messages you get 
> from Visual Studio...
>
> Thx,
> David
>
> On 4/17/07, Selvig, Andy <Andy.Selvig at goodrich.com> wrote:
> > David-
> >
> > I'm using Cmake 2.4.6 and I set BUILD_SHARED_LIBS to ON in the
setup.
> > I created the project files with the "Microsoft Visual Studio 8"
> setting.
> > Anything else you think it could be?
> >
> > Thanks.
> >
> > Andy Selvig
> > Aerodynamics/Systems Project Engineer Goodrich Sensor Systems 14300 
> > Judicial Road Burnsville, MN 55306
> > Phone: (952) 892-4529
> > Fax: (952) 892-4219
> >
> > -----Original Message-----
> > From: David Cole [mailto:david.cole at kitware.com]
> > Sent: Tuesday, April 17, 2007 8:03 AM
> > To: Selvig, Andy
> > Cc: VTK Users
> > Subject: Re: [vtkusers] Missing import libraries in shared build
> >
> > What version of CMake are you using?
> >
> > Set BUILD_SHARED_LIBS to ON in CMakeSetup and let CMake create the 
> > MSVC project files for you... You should not have to adjust anything

> > in MSVC project settings to get VTK to build correctly.
> >
> > HTH,
> > David
> >
> > On 4/17/07, Selvig, Andy <Andy.Selvig at goodrich.com> wrote:
> > >
> > >
> > >
> > > Hello-
> > >
> > > I'm having an issue compiling the VTK shared libraries on Windows 
> > > under MSVC8. The dll's for vtkfreetype, vtkNetCDF, and 
> > > vtkDICOMParser are created without error. However, their import 
> > > libraries (*.lib) are
> >
> > > not created. This leads to problem later on the build as other 
> > > libraries are dependent on those import libs.
> > >
> > > I've made sure that project settings indicate to create an import
> > library.
> > > This is done in
> > >
> > > Properties->Linker->Advanced->Import Library
> > >
> > > The specified paths and names are all correct (e.i.
> > > C:\vtk\VTK-5.0\ReleaseDLL\bin\Release\vtkfreetype.lib for
freetype).
> > >
> > > I've looked over all of the project properties and the ones that 
> > > aren't working don't seem to be configured any different than all 
> > > the ones that are (common, filtering, graphics, imaging, expat, 
> > > etc.). Any
> >
> > > help on this would be greatly appreciated.
> > >
> > > Thanks in advance.
> > >
> > >
> > > Andy Selvig
> > > Aerodynamics/Systems Project Engineer Goodrich Sensor Systems 
> > > 14300 Judicial Road Burnsville, MN 55306
> > > Phone: (952) 892-4529
> > > Fax: (952) 892-4219
> > > _______________________________________________
> > > This is the private VTK discussion list.
> > > Please keep messages on-topic. Check the FAQ at:
> > > http://www.vtk.org/Wiki/VTK_FAQ
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers
> > >
> > >
> >
>
>



More information about the vtkusers mailing list