MarianoJT88 / Joint-VO-SF

Fast Odometry and Scene Flow from RGB-D Cameras based on Geometric Clustering
104 stars 54 forks source link

Version of MRPT #3

Open jthsieh opened 7 years ago

jthsieh commented 7 years ago

System: Ubuntu 16.04

Which version of MRPT is required? I installed MRPT 1.9, but when compiling I got a lot of undefined errors.

Also, I am assuming the required version of OpenCV is 3? Since MRPT 1.9 doesn't work, I tried installing MRPT 1.5. However, the MRPT installed from the Ubuntu repository seems to depend on OpenCV2, so it gives a warning libopencv_core.so.2.4, needed by libmrpt-base.so, may conflict with /libopencv_core.so.3.2

It successfully compiles, but the binary doesn't work. cv::imread() always returns an empty matrix.

Did you compile MRPT from source? And what version did you use?

jthsieh commented 7 years ago

UPDATE: I removed all opencv3 packages, and with MRPT 1.5 I am able to build! However, I run into another problem.

I tried running ./VO-SF-ImagePair to test the program. I am able to get it to work (it will generate the segment images and ClusterFlow.xml), but at the end of the program it shows The program 'MRPT' received an X Window System error.

I think this might be some problem with X11 forwarding (I'm running everything on a server). But at least the results are successfully saved!

MarianoJT88 commented 7 years ago

Hi,

Yes, some versions of OpenCV & MRPT might not work. I think that MRPT 1.5 with OpenCV 3 should be a good choice (but you have already solved your problem).

Concerning the "X Window System error": I have never seen that but I have never run it on a server. If it works I assume we can live with the error...