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

Eigen Plugins not compiled. #382

Open
mariamhegazy opened this issue Jan 13, 2023 · 3 comments
Open

Eigen Plugins not compiled. #382

mariamhegazy opened this issue Jan 13, 2023 · 3 comments
Labels
Milestone

Comments

@mariamhegazy
Copy link

mariamhegazy commented Jan 13, 2023

I want to use grid_map_core so I built my package using colcon but I keep getting this error;
fatal error: grid_map_core/eigen_plugins/FunctorsPlugin.hpp: No such file or directory

I am using the repo rolling on ubuntu 22.04 and my cmake file looks like this:

cmake_minimum_required(VERSION 3.8)
 project(shaft-mapping)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif() 
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(grid_map_core REQUIRED)
find_package(grid_map_cmake_helpers REQUIRED)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  set(ament_cmake_copyright_FOUND TRUE)
  set(ament_cmake_cpplint_FOUND TRUE)
  ament_lint_auto_find_test_dependencies()
endif()


add_executable(reading_laser src/reading_laser.cpp)
ament_target_dependencies(reading_laser rclcpp std_msgs sensor_msgs)

add_executable(grid src/Grid.cpp)
ament_target_dependencies(grid  grid_map_core)


install(TARGETS
  DESTINATION lib/${PROJECT_NAME}/
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION lib/${PROJECT_NAME}
)

ament_package()
@samprt-heracles
Copy link

Hello, how did you fix this error ?

1 similar comment
@GradyLiugy
Copy link

Hello, how did you fix this error ?

@Ryanf55 Ryanf55 reopened this Mar 20, 2024
@Ryanf55 Ryanf55 added ros2 Affects ROS 2 bug labels Mar 20, 2024
@Ryanf55
Copy link
Collaborator

Ryanf55 commented Mar 20, 2024

Apparently this still affects humble. Re-opened.

@Ryanf55 Ryanf55 added this to the 2.2.0 milestone Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants