Created attachment 208213 [details]
Patch to add qmake
So... Included here is a patch to add qmake. The port doesn't even configure without it right now.
In the end, it doesn't compile due to a missing header I can't find yet. I tried configuring for vtk8 rather than vtk6, but that didn't work.
... so help? Maintainer?
Hrm... log too big to attach. Here' is the pertinent part:
/usr/local/libexec/ccache/c++ -DHAVE_FFMPEG -DHAVE_FREEIMAGE -DHAVE_TBB -DHAVE_VTK -DOCC_CONVERT_SIGNALS -DTKIVtkDraw_EXPORTS -DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL)" -DvtkRenderingCore_AUTOINIT="4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)" -DvtkRenderingFreeType_AUTOINIT="1(vtkRenderingMatplotlib)" -DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL)" -I/usr/local/include/vtk-6.2 -I/usr/local/include/freetype2 -I/usr/local/include/python2.7 -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -Iusr/local/include/OpenCASCADE -std=c++0x -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -fexceptions -fPIC -Wall -Wextra -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -DNo_Exception -fPIC -MD -MT src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o -MF src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o.d -o src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o -c /wrkdirs/usr/ports/cad/opencascade/work/opencascade-7.4.0/src/IVtkDraw/IVtkDraw.cxx
/wrkdirs/usr/ports/cad/opencascade/work/opencascade-7.4.0/src/IVtkDraw/IVtkDraw.cxx:121:10: fatal error: 'vtkXRenderWindowInteractor.h' file not found
1 error generated.
the whole log can be poked at:
It seems that your VTK package if not complete:
$ locate vtkXRenderWindowInteractor.h
$ pkg which /usr/local/include/vtk-6.2/vtkXRenderWindowInteractor.h
/usr/local/include/vtk-6.2/vtkXRenderWindowInteractor.h was installed by package vtk6-6.2.0_9
Ok. It seems to be the option to GL render that removes that file.
regardless, this patch is required to build on my system. Without patch, I have no success... with patch, works.
What does QA involve? Is this where someone foists a ports commit bit on me?
Did you build VTK6 with the option QT5?
(In reply to Thierry Thomas from comment #6)
Just checked that. math/vtk6 has qt5 checked in my poudriere and cad/opencascade still required the addition of qmake to compile.
It's quite specific.. qt:5 is insuffient to compile USE_QT = qmake is required.