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

Kavya Bellur Padmesh kavyabellur.4 at gmail.com
Tue Sep 15 14:47:41 EDT 2015


David,

Thank you for the clarification. As I am porting the application with
VS2013, all the lib file names are mentioned under Project->
Properties->Linker->Input-> Additional dependencies.
Now I have to replace included 'vtkCommon.lib' with new modularised .lib
file for building my application.
The project I have been porting, is not created with cmake_lists.txt. In
this scenario, how will I be able to port the application?

Kindly provide me some information.



On Tue, Sep 15, 2015 at 11:13 AM, David E DeMarle <dave.demarle at kitware.com>
wrote:

> 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/a52fd0ae/attachment.html>


More information about the vtkusers mailing list