Hi, thank you for this software. I have recently bought Sony eye tracker and Sony move controller. Now I try to make it work under Ubuntu 20. I compiled this software without MOVE_BUILD_TRACKER, and it works. So the controller is paired and there is a reaction to buttons. Now I want to connect to the camera. As far as I understand I need opencv. I compiled opencv from sources, but the problem is that the version of opencv is 4.x, not 3.x, I see that psmove CMakelists.txt demands version 3: FIND_PACKAGE(OpenCV 3 QUIET),
and it would not compile with 4.x . May be somebody knows how to compile it with opencv 4? Or I must somehow downgrade my opencv installation?
Scanning dependencies of target psmoveapi_tracker
[ 21%] Building CXX object CMakeFiles/psmoveapi_tracker.dir/src/tracker/camera_control.cpp.o
/home/sokirko/vanya/python/sony_test/psmoveapi/src/tracker/camera_control.cpp: In function ‘void camera_control_read_calibration(CameraControl*, char*, char*)’:
/home/sokirko/vanya/python/sony_test/psmoveapi/src/tracker/camera_control.cpp:149:33: error: ‘cvLoad’ was not declared in this scope; did you mean ‘cvLog’?
149 | CvMat *intrinsic = (CvMat*) cvLoad(intrinsicsFile, 0, 0, 0);
| ^~~~~~
| cvLog
/home/sokirko/vanya/python/sony_test/psmoveapi/src/tracker/camera_control.cpp:168:9: error: ‘cvInitUndistortMap’ was not declared in this scope
168 | cvInitUndistortMap(intrinsic, distortion, cc->mapx, cc->mapy);
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/psmoveapi_tracker.dir/build.make:63: CMakeFiles/psmoveapi_tracker.dir/src/tracker/camera_control.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:319: CMakeFiles/psmoveapi_tracker.dir/all] Error