-
Notifications
You must be signed in to change notification settings - Fork 29
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
Can't comple catkin_ws #43
Comments
Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened! |
Hi! We need to understand if the |
While using rosdep i get the following error message: ERROR: the following packages/stacks could not have their rosdep keys resolved And when trying to compile the catkin_ws i get the following (using catkin build) After clone the official bebop_autonomy package, rosdep gives no error. But i still get the previous error Errors << rotors_gazebo_plugins:make /home/eric/catkin_ws/logs/rotors_gazebo_plugins/build.make.001.log |
And if i use catkin_make instead of catkin build, i get this error (the same as the first comment of this issue): -- Eigen found (include: /usr/include/eigen3) CMake Error at BebopS/CMakeLists.txt:74 (target_link_libraries): This is allowed only when policy CMP0079 is set to NEW. -- Configuring incomplete, errors occurred! |
Ok, got it. Remove |
Hello, I had the exact same error as @EricDiazR . I had to;
Modifying these solved the issue and I can compile packages now. @gsilano , original package with the latest version is doing the same thing. Please consider git pull from the original repository.
|
Hi @SarahMars! Thanks for the info. I just created a new branch in my RotorS fork. I will update the README.md file with the instructions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closed for inactivity |
Hello.
I can't compile catkin_ws. It shows the following message:
-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'rotors_gazebo'
-- ==> add_subdirectory(rotors_simulator/rotors_gazebo)
CMake Error at rotors_simulator/rotors_gazebo/CMakeLists.txt:27 (add_executable):
add_executable cannot create target "hovering_example" because another
target with the same name already exists. The existing target is an
executable created in source directory "/home/eric/catkin_ws/src/BebopS".
See documentation for policy CMP0002 for more details.
CMake Error at rotors_simulator/rotors_gazebo/CMakeLists.txt:28 (target_link_libraries):
Attempt to add link library "/opt/ros/melodic/lib/libroscpp.so" to target
"hovering_example" which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
-- Configuring incomplete, errors occurred!
See also "/home/eric/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/eric/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I followed the instructions from the readme file. But i didn't clone the bebop_autonomy git cause i already had it (the anqixu fork that solves the compilation on ROS melodic)
Im running ubuntu 18.04 with ROS melodic
Thank you in advance.
The text was updated successfully, but these errors were encountered: