srv / fovis

ROS wrapper for fovis, a visual odometry library
23 stars 21 forks source link

Unable to build the package. #11

Closed bhargavjha closed 9 years ago

bhargavjha commented 9 years ago

Hello I have posted a query here http://answers.ros.org/question/197006/error-while-building-fovis_ros/

After I do catkin_make in my catkin_ws folder, the package starts building. But at about 98% of completion it shows an error. I can't tell you the specific error as it shows lot of undefined function and variables after it start linking mono_odometry and stereo_odometry file. Please help me build this package. It's urgent as i am using it in my final year project.

miquelmassot commented 9 years ago

Hi Bhargav,

only with those lines makes it impossible to tell. Could you please paste the full output ? Have you installed libfovis?

bhargavjha commented 9 years ago

yes i have installed libfovis in catkin_ws/src folder. Rest error details i have given on http://answers.ros.org/question/197006/error-while-building-fovis_ros/

miquelmassot commented 9 years ago

For ease of tracking, @bhargavjha's output from CMakelists is available at this link

That's a linking error on ros/console.h, which is included in ros/ros.h. Both stereo odometer and mono odometer include that header, so I don't think it is a problem on our code but on your workspace.

First check broken dependencies on your system:

sudo apt-get install -f
sudo apt-get autoremove

Then remove devel and build directories on your workspace and compile again:

roscd
cd ..
rm -r devel build
catkin_make

And tell me if it works. Good luck!

bhargavjha commented 9 years ago

Yes it worked now! thanks a lot! :)