[vtkusers] [vtk-users] VTK6.2 VS2013+Qt5.5.0 - Linker error not able to open 'vtkCommon.lib'

David E DeMarle dave.demarle at kitware.com
Tue Sep 15 13:13:46 EDT 2015


Kavya,

The problem you see is that VTK 5's vtkCommon.lib was split in VTK 6 into
vtkCommonDataModel.lib, vtkCommonColor.lib,
vtkCommonComputatinalGeometry.lib, vtkCommonCore.lib,
vtkCommonExecutionModel.lib, vtkCommonMath.lib, vtkCommonMisc.lib,
vtkCommonSystem.lib, and vtkCommonTransforms.lib. This is the
modularization John referred to and its purpose was to make it possible to
link to only small parts of VTK if you don't need all of it.

See: http://www.vtk.org/Wiki/VTK/Build_System_Migration for more
information.




David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Sep 15, 2015 at 1:01 PM, John Drescher <drescherjm at gmail.com> wrote:

> > I am new into VTK as well QT. I followed the installation procedure and
> > integrated VTK6.2 with QT5.5.0. As I am porting VTK5 application getting
> > linker error as "error LNL1104 Not able to open QVTK.lib, vtkCommon.lib'
> . I
> > have provided the path variables, still as library name doesnot match
> with
> > older version getting the error.
> >
> > If anyone been successful in porting VTK5 to VTK6, could you please let
> me
> > know how did you modify the .lib files names?
> >
>
> It's much simpler to just use ${VTK_LIBRARIES} in your CMakeLists.txt
> instead of specifying individual libraries. There are quite a few
> libraries now with the modularization.
>
> John
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150915/e335c26f/attachment.html>


More information about the vtkusers mailing list