[vtk-developers] VTK-8.1.0 compilation troubles on OS X Sierra 10.12.6

Julien CLEMENT andematunum at gmail.com
Wed Jan 31 11:50:31 EST 2018


Hello all,

I'm trying to get VTK 8.1.0 compiling on my Mac running OS X Sierra 10.12.6,
with Qt 5 modules.
The compilation fails with the following error, have you ever seen this
error on compiling VTK, and do you have a solution for it ?

<<<
Scanning dependencies of target vtkGUISupportQt
[ 53%] Building CXX object
GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKInteractorAdapter.cxx.o
[ 53%] Building CXX object
GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKInteractor.cxx.o
In file included from
/Users/clementj/DeveloppementLogiciel/Sources/VTK-8.1.0/GUISupport/Qt/QVTKInteractor.cxx:35:
/Users/clementj/DeveloppementLogiciel/Sources/VTK-8.1.0/GUISupport/Qt/QVTKInteractor.h:44:30:
error: variable has
     incomplete type 'class VTKGUISUPPORTQT_EXPORT'
class VTKGUISUPPORTQT_EXPORT QVTKInteractor : public
vtkRenderWindowInteractor
                            ^
/Users/clementj/DeveloppementLogiciel/Sources/VTK-8.1.0/GUISupport/Qt/QVTKInteractor.h:44:7:
note: forward declaration
     of 'VTKGUISUPPORTQT_EXPORT'
class VTKGUISUPPORTQT_EXPORT QVTKInteractor : public
vtkRenderWindowInteractor
     ^
/Users/clementj/DeveloppementLogiciel/Sources/VTK-8.1.0/GUISupport/Qt/QVTKInteractor.h:44:45:
error: expected ';' after
     top level declarator
class VTKGUISUPPORTQT_EXPORT QVTKInteractor : public
vtkRenderWindowInteractor

I've joined a screenshot from the CMake configuration variables.

Thanks and regards,

andematunum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180131/36566fa8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d?e?cran 2018-01-29 a? 19.00.05.PNG
Type: image/png
Size: 224801 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180131/36566fa8/attachment-0001.png>


More information about the vtk-developers mailing list