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

packcage_failed #4

Open
Sinchiguano opened this issue Aug 15, 2019 · 1 comment
Open

packcage_failed #4

Sinchiguano opened this issue Aug 15, 2019 · 1 comment

Comments

@Sinchiguano
Copy link

Hi
I am quite new with ros2, anyone here can help me with the following problem of compilation:

--- stderr: yak_ros
:0:1: error: macro names must be identifiers

Best regards
Cesar

@schornakj
Copy link
Contributor

Could you provide some more info about your system and environment?

  • Which version of CUDA are you using?
  • Which OS are you using?
  • Which version of ROS 2 are you using?

Try compiling with the CMake verbose flag enabled. In ROS1 you can do this with catkin build --verbose, and in ROS2 you can do it with colcon build --cmake-args " --verbose".

The last time I got an error like this I think it was because PCL 1.8 was creating badly-formatted CMake flags (I have notes somewhere but my offhand recollection is that it was creating -DAVIDSDK when it was supposed to be using -DDAVIDSDK). Look for COLLECT_GCC_OPTIONS in the verbose output and make sure the flags are correctly formatted. The solution at the time to that particular problem was to use PCL 1.9 instead.

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