IntelRealSense / realsense_sdk_zr300

Toolkit built on top of the Intel® RealSense™ Cross Platform API (librealsense)
Apache License 2.0
55 stars 39 forks source link

OpenCV is a depencency, but its presence not checked by the CMake scripts? #24

Closed mkatliar closed 7 years ago

mkatliar commented 7 years ago

Building realsense_sdk from master branch using following commands:

mkdir build
cd build
make -j 4

produces the following compiler error on my system:

/home/kotlyar/software/realsense_sdk/sdk/src/core/image/image_conversion_util.cpp:7:23: fatal error: opencv/cv.h: No such file or directory
 #include "opencv/cv.h"
                       ^
compilation terminated.

Apparently image_conversion_util.cpp requires OpenCV which is not installed, but the CMake scripts don't check for it.

zivsha commented 7 years ago

Hi @mkotlyar ,

Thanks for bringing this to our attention, our CMake script indeed does not enforce all dependencies and OpenCV in particular. Please find the SDK's dependencies list here: https://github.com/IntelRealSense/realsense_sdk#dependencies-list