Build failure OpenCV 3.0 with VTK 6.2 on mac osx 10.9

asked 2014-06-13 08:18:32 -0500

Jasper gravatar image

I'm trying to build OpenCV 3.0 with VTK 6.2 on mac OSX 10.9 but the build fails at opencv_viz. The issue is with the objective c file which was added on the 8th of Feb in commit 5dc17f5. The error given is

No member named 'GetCocoaServer' in 'cv::viz::vtkCocoaRenderWindowInteractorFix'

This is because GetCocoaServer has been moved from vtkCocoaRenderWindowInteractor to vtkCocoaRenderWindow in VTK 6.2. This alteration to VTK happened almost a year ago according to the gitHub commit a3e9fc9. Is anyone else having this issue? Does anyone know of a workaround or have any suggestions for fixing the code?

edit retag flag offensive close merge delete