After installing the menpo opencv3 package on our system we have not only the python cv2package, but also the OpenCV headers, OpenCV libs and the cmake files.
We cannot use the cmake files to build our own executables since some of the variables are incorrect. For example in OpenCVConfig.cmake (installed in envs/[ENVNAME]/Library/OpenCVConfig.cmake) we have
if(OpenCV_STATIC AND EXISTS "${OpenCV_CONFIG_PATH}/${OpenCV_ARCH}/${OpenCV_RUNTIME}/staticlib/OpenCVConfig.cmake")
On our system ${OpenCV_ARCH}/${OpenCV_RUNTIME} expands to x64\vc14, but the conda package installs the libs in Library/lib.
Can we either fix the OpenCVConfig.cmake, or adapt the conda pacakge to install to Library\x64\lib?
In 'OpenCVModules-release.cmakesome of the variables are hard-coded (e.g.x64/vc14' instead of ${OpenCV_ARCH}/${OpenCV_RUNTIME}).
After installing the menpo
opencv3
package on our system we have not only the pythoncv2
package, but also the OpenCV headers, OpenCV libs and the cmake files.We cannot use the cmake files to build our own executables since some of the variables are incorrect. For example in
OpenCVConfig.cmake
(installed inenvs/[ENVNAME]/Library/OpenCVConfig.cmake
) we haveOn our system
${OpenCV_ARCH}/${OpenCV_RUNTIME}
expands tox64\vc14
, but the conda package installs the libs inLibrary/lib
.Can we either fix the
OpenCVConfig.cmake
, or adapt the conda pacakge to install toLibrary\x64\lib
?In 'OpenCVModules-release.cmake
some of the variables are hard-coded (e.g.
x64/vc14' instead of${OpenCV_ARCH}/${OpenCV_RUNTIME}
).