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

CMake error while catkin_make #32

Closed
ParthS28 opened this issue Jan 17, 2020 · 1 comment
Closed

CMake error while catkin_make #32

ParthS28 opened this issue Jan 17, 2020 · 1 comment

Comments

@ParthS28
Copy link

ParthS28 commented Jan 17, 2020

I tried to build your project but I'm getting this,

-- +++ processing catkin package: 'polygon_coverage_geometry'
-- ==> add_subdirectory(polygon_coverage_planning/polygon_coverage_geometry)
CMake Error at polygon_coverage_planning/polygon_coverage_geometry/CMakeLists.txt:8 (include):
  include called with wrong number of arguments.  include() only takes one
  file.


-- Marking SHARED_LIBRARY "polygon_coverage_geometry" of package "polygon_coverage_geometry" for installation
-- Marking HEADER FILES in "include" folder of package "polygon_coverage_geometry" for installation
-- +++ processing catkin package: 'polygon_coverage_planners'
-- ==> add_subdirectory(polygon_coverage_planning/polygon_coverage_planners)
CMake Error at polygon_coverage_planning/polygon_coverage_planners/CMakeLists.txt:8 (include):
  include called with wrong number of arguments.  include() only takes one
  file.
.
.
.
CMake Error at polygon_coverage_planning/polygon_coverage_ros/CMakeLists.txt:13 (include):
  include called with wrong number of arguments.  include() only takes one
  file.


-- No yaml_cpp_catkin, using yaml-cpp system library instead.
-- Marking SHARED_LIBRARY "polygon_coverage_ros" of package "polygon_coverage_ros" for installation
-- Marking EXECUTABLE "coverage_planner" of package "polygon_coverage_ros" for installation
-- Marking EXECUTABLE "coverage_planner_exact" of package "polygon_coverage_ros" for installation
-- Marking EXECUTABLE "coverage_planner_exact_preprocessed" of package "polygon_coverage_ros" for installation
-- Marking EXECUTABLE "shortest_path_planner" of package "polygon_coverage_ros" for installation
-- Marking EXECUTABLE "sweep_test" of package "polygon_coverage_ros" for installation
-- Marking HEADER FILES in "include" folder of package "polygon_coverage_ros" for installation
-- Marking SHARED CONTENT FOLDER "launch" of package "polygon_coverage_ros" for installation
-- +++ processing catkin package: 'rviz_polygon_tool'
-- ==> add_subdirectory(polygon_coverage_planning/rviz_polygon_tool)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Using Qt5 based on the rviz_QT_VERSION: 5.9.5
-- Marking SHARED_LIBRARY "rviz_polygon_tool" of package "rviz_polygon_tool" for installation
-- Marking HEADER FILES in "include" folder of package "rviz_polygon_tool" for installation
-- Configuring incomplete, errors occurred!
See also "/home/parth/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/parth/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1664: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Only posted the parts I thought were important. Let me know if you want me to post the whole message.

Please do let me know if I have done anything wrong. I am not very well-versed in ROS.

@rikba
Copy link
Collaborator

rikba commented Jan 19, 2020

It seems like CMake did not find the environmental variable ${CGAL_USE_FILE}. I assume it worked after installing and sourcing the CGAL dependency.

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