alejocb / dpptam

DPPTAM: Dense Piecewise Planar Tracking and Mapping from a Monocular Sequence
GNU General Public License v3.0
219 stars 82 forks source link

Problem with compiling dpptam #31

Open Sanghoon94 opened 8 years ago

Sanghoon94 commented 8 years ago

Hello, I am Sanghoon.

First of all, thank you for your effort on this great work.

I have a problem while running "catkin_make --pkg dpptam" I am constantly getting the following error.

make[2]: * No rule to make target /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.2.4.8', needed by/home/sanghoon/catkin_ws/devel/lib/dpptam/dpptam'. Stop. make[1]: * [dpptam/CMakeFiles/dpptam.dir/all] Error 2 make: *\ [all] Error 2 Invoking "make -j8 -l8" failed

I am using ros-indigo, opencv 2.4.11. I don't have "libopencv_videostab.so.2.4.8" in "/usr/lib/x86_64-linux-gnu/". I am not using opencv 2.4.8, and my opencv 2.4.11 is installed in "/usr/local/lib/". I can't understand why catkin_make is trying to find opencv library in "/usr/lib/x86_64-linux-gnu/". Is there any configuration file where I can change the settings? PKG_CONFIG seems to work find for me. But I keep getting the error. Please take a look, and advise me if there's anything that can be helpful.

Thank you.

sunghoon031 commented 8 years ago

maybe try this ?: https://github.com/alejocb/dpptam/issues/9

Sanghoon94 commented 8 years ago

I've followed the #9 issue, but couldn't get to the breakthrough.

So I've reinstalled the Ubuntu, and everything works fine now.

Thanks by the way.

Sanghoon94 commented 8 years ago

May be related to this, I guess. opencv & ros related problem. http://myzharbot.robot-home.it/blog/software/ros-nvidia-jetson-tx1-jetson-tk1-opencv-ultimate-guide/