realsense_samples
realsense_samples copied to clipboard
"slam_tutorial_1_gui" sample fails to run when built via source code
I installed the slam_tutorial_1_gui sample using the two methods mentioned at: https://software.intel.com/sites/products/realsense/intro/getting_started.html with the ZR300 camera.
The executable "/usr/bin/rs_slam_tutorial_1_gui" installed using method - $ sudo apt install librealsense-samples beignet-opencl-icd
works perfectly well. But when I try to run the same example by building sample through source code it fails (OpenCV display stays blank with no occupancy-map with following console output):
The slam_tutorial_1_web sample on the other hand, works well via both installation methods.
Any idea as to what might be going wrong over here?
Thanks, Anant
Did you find any solution to this, I'm also facing the same issue
Not yet. Awaiting their reply.
Did this get resolved? I'm facing the same issue too.
(some troubleshooting later) This is to do with a freeze caused by linking with an incompatible version of OpenCV in the cv2.imshow function. To work around this (on Ubuntu 16.04), I had to remove all opencv packages installed via apt, and delete any libopencv... libraries in /usr/local/lib.
After that install ONLY OpenCV 3.1.
sudo apt-get install libopencv-imgproc3.1 libopencv-core3.1 libopencv-highgui3.1 libopencv-imgproc-dev libopencv-core-dev libopencv-highgui-dev