[vtkusers] Missing import libraries in shared build

Selvig, Andy Andy.Selvig at goodrich.com
Tue Apr 17 09:19:23 EDT 2007


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