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

Migration from catkin_make to catkin build #128

Open
Cristian-wp opened this issue Sep 10, 2021 · 3 comments
Open

Migration from catkin_make to catkin build #128

Cristian-wp opened this issue Sep 10, 2021 · 3 comments

Comments

@Cristian-wp
Copy link

``Hello, I have already test your planner and is really awesome.
But for my project I need to compile my workspace with catkin build instead of catkin_make.
Have someone already try this or maybe there is a version that work with catkin build?

When I try to compile it I get this error:

Could NOT find quadrotor_msgs (missing: quadrotor_msgs_DIR)
-- Could not find the required component 'quadrotor_msgs'. 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 "quadrotor_msgs"
  with any of the following names:

    quadrotor_msgsConfig.cmake
    quadrotor_msgs-config.cmake

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

I have already try to compile and install the packages with this repository, but it did not work:
https://github.com/HKUST-Aerial-Robotics/plan_utils

If I modify the CMAKE_PREFIX_PATH as suggested, it find the quadrotor_msgs, but it can not fine the basic packages like roscpp anymore...

Can someone help me please?

@3zuli
Copy link

3zuli commented Sep 10, 2021

Hello, porting to catkin build has been discussed previously, for example in issues #18 and #81 and the pull request #74. Following those two issues I managed to port it to catkin build and I made a summary patch with the changes that I had to do in order to make it work. I also had similar compile issues with missing Fast-Planner packages/libraries, I had to build those packages one by one (catkin build quadrotor_msgs) until the entire catkin build succeeded. I hope this helps.

@Cristian-wp
Copy link
Author

Thank you very much, I try now and let you now!

@Cristian-wp
Copy link
Author

It works! Thanks a lot!

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

2 participants