Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile problem with Melodic #230

Open
FrGe2016 opened this issue Feb 13, 2020 · 3 comments
Open

Compile problem with Melodic #230

FrGe2016 opened this issue Feb 13, 2020 · 3 comments

Comments

@FrGe2016
Copy link

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
Copy link
Author

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
Copy link

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

@5730289021-NN
Copy link

5730289021-NN commented Aug 17, 2020

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants