[vtk-developers] [VTK 0013254]: Error including <QVTKWidget.h>

Mantis Bug Tracker mantis at public.kitware.com
Wed Jun 20 21:53:57 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13254 
====================================================================== 
Reported By:                Dale Lukas Peterson
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13254
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    Kitware 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-06-20 21:53 EDT
Last Modified:              2012-06-20 21:53 EDT
====================================================================== 
Summary:                    Error including <QVTKWidget.h>
Description: 
I have a simple test file, RenderWindow.cxx:

#include <QVTKWidget.h>
int main()
{
}

with a CMakeLists.txt file:

cmake_minimum_required(VERSION 2.8)
PROJECT(RenderWindow)
FIND_PACKAGE(VTK)
INCLUDE(${VTK_USE_FILE})
FIND_PACKAGE(Qt4 REQUIRED)
INCLUDE(${QT_USE_FILE})
ADD_EXECUTABLE(RenderWindow RenderWindow.cxx)

luke at LenovoW510 ~/tmp/testvtk/qvtk/build $ make
Scanning dependencies of target RenderWindow
[100%] Building CXX object CMakeFiles/RenderWindow.dir/RenderWindow.cxx.o
In file included from /home/luke/usr/include/vtk-6.0/QVTKWidget.h:40:0,
                 from /home/luke/tmp/testvtk/qvtk/RenderWindow.cxx:13:
/home/luke/usr/include/vtk-6.0/QVTKInteractor.h:45:52: fatal error:
vtkTDxConfigure.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/RenderWindow.dir/RenderWindow.cxx.o] Error 1
make[1]: *** [CMakeFiles/RenderWindow.dir/all] Error 2
make: *** [all] Error 2

This is from the master branch (commit
d615e721fb8ab8d88fe064b51d2e3cd45921d9c6), when I build and install,
vtkTDxConfigure.h is not installed.  I am not sure if this file is supposed to
be installed or not.

I see that Rendering/OpenGL/CMakeLists:39 has a configure_file() statement that
I think should be installing the file.  For some reason it isn't however. 
Similarly for various other configure files.

I don't know if this is a problem with QVTKWidget.h, or maybe QVTKInteractor.h,
or if this is a problem with the build system.



====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-20 21:53 Dale Lukas PetersonNew Issue                                   

======================================================================




More information about the vtk-developers mailing list