* Therefore, OpenGL can only be used with Qt in Mac OS.
* OpenCV must be re-installed with new options.
1. Install Qt first.
http://www.qt.io/download/
2. Run a gui version of cmake.
- CMake 3.0.1
- The opencv is in Downloads/opencv-2.4.10
2.1 Choose Qt and OpenGL
2.2 Fill out the necessary Qt folders
* You would need to click <Configure> button in cmake several times to see the result.
2.3 You should check the result of your configuration in the output window of CMake as follows:
2.4 Press 'Generate' button. Now, we finished cmake.
3. go to terminal
$ make; make install
4. Done.
----
* An example:
End.
2. Run a gui version of cmake.
- CMake 3.0.1
- The opencv is in Downloads/opencv-2.4.10
2.1 Choose Qt and OpenGL
2.3 You should check the result of your configuration in the output window of CMake as follows:
2.4 Press 'Generate' button. Now, we finished cmake.
3. go to terminal
$ make; make install
4. Done.
----
* An example:
* Another Example
End.
댓글 없음:
댓글 쓰기