Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Troubleshooting
- ### OpenCV3
- 1. Qt5::Core (`/usr/local/.//mkspecs/macx-clang` does not exist):
- ```
- CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:17 (message):
- The imported target "Qt5::Core" references the file
- "/usr/local/.//mkspecs/macx-clang"
- but this file does not exist.
- ```
- Workaround:
- ```shell
- $ brew link --force qt5
- $ ln -s /usr/local/Cellar/qt5/5.6.0/mkspecs /usr/local/mkspecs
- $ ln -s /usr/local/Cellar/qt5/5.6.0/plugins /usr/local/plugins
- ```
- 2. VTK
- Workaround: Disable VTK
- Replace:
- ```cmake
- OCV_OPTION(WITH_VTK "Include VTK library support (and build opencv_viz module eiher)" ON IF (NOT ANDROID AND NOT IOS AND NOT WINRT AND NOT CMAKE_CROSSCOMPILING AND NOT APPLE) )
- ```
- With:
- ```cmake
- OCV_OPTION(WITH_VTK "Include VTK library support (and build opencv_viz module eiher)" OFF )
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement