2014-06-13 08:18:32 -0600 | asked a question | Build failure OpenCV 3.0 with VTK 6.2 on mac osx 10.9 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 vtkCocoaInteractorFix.mm 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? |
2012-10-16 05:03:50 -0600 | answered a question | iOS semantic build issue (CV_CAP_IOS undeclared) CV_CAP_IOS should contain an integer which identifies the device io stream. The default io stream is usually 0 so the following should work. int CV_CAP_IOS = 0; // Just a guess for the camera io stream |
2012-10-11 02:59:05 -0600 | received badge | ● Necromancer (source) |
2012-10-10 15:40:38 -0600 | answered a question | gsoc2012 ios examples Hi. First.The gsoc 2012 examples use the most up to date version of openCV. You can clone the git repository as follows: Launch GIT client and clone OpenCV repository from here: http://github.com/itseez/opencv In MacOS it can be done using the following command in Terminal: cd ~/<my_working _directory=""> git clone https://github.com/Itseez/opencv.git Building OpenCV from source using CMake, using the command line If everything’s fine, a few minutes later you will get ~/<my_working_directory>/ios/opencv2.framework. You can add this framework to your Xcode projects. Second.The import statement is #import < opencv2/highgui/cap_ios.h > for the camera stuff Hope this helps. |