[vtkusers] RC2: VTK_Group_Qt causes WebKit error and stencil is missing

Dženan Zukić dzenanz at gmail.com
Tue Jun 11 16:18:34 EDT 2013


This same project builds on a different system with VS2010 and VTK git from
a few weeks ago. This system inside a virtual machine has VS2012 and RC2
version of VTK. Both machines use Win7 x64.


On Tue, Jun 11, 2013 at 8:09 PM, David E DeMarle
<dave.demarle at kitware.com>wrote:

> Dženan,
>
> Which modules did you build your VTK with? And which modules is your
> project asking to link to?
>
> See the arguments to find_package(VTK) in
> http://www.vtk.org/Wiki/VTK/Build_System_Migration for how to pick and
> choose amongst the available modules.
>
> thanks for trying the release candidate!
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Tue, Jun 11, 2013 at 9:50 AM, David E DeMarle <dave.demarle at kitware.com
> > wrote:
>
>>
>>
>> On Tue, Jun 11, 2013 at 5:13 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
>>
>>> I configured my Qt to be built without WebKit, and if I turn
>>> on VTK_Group_Qt during configuration I end up with the following error:
>>>
>>> CMake Error at C:/Program Files (x86)/CMake
>>> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
>>> (MESSAGE):
>>>
>>> Could NOT find Qt4 (missing: QT_QTWEBKIT_LIBRARY) (found version "4.8.2")
>>>
>>> Call Stack (most recent call first):
>>>
>>> C:/Program Files (x86)/CMake
>>> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288
>>> (_FPHSA_FAILURE_MESSAGE)
>>>
>>> C:/Program Files (x86)/CMake
>>> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1200
>>> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>>>
>>> GUISupport/QtWebkit/CMakeLists.txt:1 (find_package)
>>>
>>>
>>> If I leave VTK_Group_Qt to off, and just enable Module_vtkGUISupportQt
>>> and Module_vtkGUISupportQtOpenGL then there is no error. Is this the
>>> expected behavior?
>>>
>>>
>> Yes. The VTK module GUISupport/QtWebkit is part of the VTK's Qt module
>> group and it depends on Qt's Webkit.
>>
>> Another issue is that folder C:\VTK6.0.0.rc2\Imaging\Stencil is missing
>>> from additional include directories (Imaging\Color and Imaging\Core are
>>> present), so my project does not compile: Cannot open include file:
>>> 'vtkPolyDataToImageStencil.h'. If I add this path manually to MSVC project
>>> configuration, then the compilation is successful, but there is a fatal
>>> error LNK1104: cannot open file 'vtkGUISupportQtSQL.lib'. This file does
>>> not exist, there is only 'vtkGUISupportQt-6.0.lib'. The same
>>> for vtkViewsQt.lib. And finally I had to
>>> add C:\VTK6.0.0.rc2\lib\Debug\vtkImagingStencil-6.0.lib.
>>>
>>>
>> Looking into it...
>>
>>
>>> _______________________________________________
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130611/a3439104/attachment.htm>


More information about the vtkusers mailing list