[vtkusers] static libs...
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Oct 19 15:08:59 EDT 2006
fred wrote:
> Mathieu Malaterre a écrit :
>
>> Do you have both shared lib and static libs of vtk at the same location ?
>
> Hi Mathieu,
>
> Ok, let me explain a little more.
>
> I use Debian etch distro.
> The packages required to install VTK libs (libvtk5 & libvtk5-dev)
> contains only shared libs (so I filed a bugreport yesterday to include
> the static libs).
> Shared libs are installed in /usr/lib.
>
> So for now, I apt-get the source and build VTK without shared libs,
> and installed static libs by hand in /usr/lib too, with a simple cp command,
> waiting for the bug fixed.
Unfortunately this feature is not available for now in CMake, you'll
have to wait for CMake 2.4.4.
Another option is to build the static libs of VTK (this is already
done), and build against the *build* tree (or install in let say
/opt/vtk/). It will use different link path and thus avoid the problem
of linking to shared libs.
Mathieu
More information about the vtkusers
mailing list