strands-project / strands_perception_people

long-term detection, tracking and recognition of people
96 stars 70 forks source link

Compile problem with Melodic #230

Open FrGe2016 opened 4 years ago

FrGe2016 commented 4 years ago

Hi I have the following error message with catkin_make

add_subdirectory(unit_8/strands_perception_people/bayes_people_tracker) -- Could NOT find bayes_tracking (missing: bayes_tracking_DIR) -- Could not find the required component 'bayes_tracking'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "bayes_tracking" with any of the following names:

bayes_trackingConfig.cmake
bayes_tracking-config.cmake

Add the installation prefix of "bayes_tracking" to CMAKE_PREFIX_PATH or set "bayes_tracking_DIR" to a directory containing one of the above files. If "bayes_tracking" provides a separate development package or SDK, be sure it has been installed.

FrGe2016 commented 4 years ago

This one is solved but i have another one

add_subdirectory(unit_8/people/people_tracking_filter) -- Checking for module 'orocos-bfl' -- No package 'orocos-bfl' found

But when i look in my system it is there ? locate orocos-bfl /opt/ros/melodic/lib/liborocos-bfl.so /opt/ros/melodic/lib/pkgconfig/orocos-bfl.pc

Alex-Beh commented 4 years ago

@FrGe2016 How you successfully compile the code at the end? For the first bayes_tracking dependencies, where to install the package?

5730289021-NN commented 4 years ago

@FrGe2016 How you successfully compile the code at the end? For the first bayes_tracking dependencies, where to install the package?

For that issue, type cd ~/catkin_ws/src git clone https://github.com/LCAS/bayestracking

Additional command in order to build that package sudo apt install qt4-dev-tools git clone https://github.com/strands-project/strands_msgs sudo apt install ros-melodic-grid-map sudo apt install ros-melodic-mongodb-store

Then download https://github.com/strands-project/strands_navigation and extract strands_navigation_msgs and topological_logging_manager into ~/catkin_ws/src folder.

I also got the error: call of overloaded ‘abs(long unsigned int)’ is ambiguous so I removed the unsigned (not sure whether that will change the algorithm or not)

I think that's all for the compilation