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

catkin_make failed #43

Open
zhthree3 opened this issue Sep 8, 2023 · 12 comments
Open

catkin_make failed #43

zhthree3 opened this issue Sep 8, 2023 · 12 comments

Comments

@zhthree3
Copy link

zhthree3 commented Sep 8, 2023

When I followed the [INSTALL.md] operation and ran the catkin_make, make failed, and the following error was reported:

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 16 packages in topological order:
-- ~~ - tuw_airskin_msgs (plain cmake)
-- ~~ - tuw_geometry_msgs (plain cmake)
-- ~~ - tuw_graph_msgs (plain cmake)
-- ~~ - tuw_msgs (plain cmake)
-- ~~ - tuw_multi_robot (metapackage)
-- ~~ - tuw_multi_robot_demo
-- ~~ - tuw_multi_robot_msgs (plain cmake)
-- ~~ - tuw_nav_msgs (plain cmake)
-- ~~ - tuw_object_msgs (plain cmake)
-- ~~ - tuw_geometry
-- ~~ - tuw_multi_robot_ctrl
-- ~~ - tuw_multi_robot_goal_generator
-- ~~ - tuw_multi_robot_local_behavior_controller
-- ~~ - tuw_voronoi_graph
-- ~~ - tuw_multi_robot_router
-- ~~ - tuw_multi_robot_rviz
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (message):
This workspace contains non-catkin packages in it, and catkin cannot build
a non-homogeneous workspace without isolation. Try the
'catkin_make_isolated' command instead.
Call Stack (most recent call first):
CMakeLists.txt:69 (catkin_workspace)

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

@maxbader
Copy link
Contributor

maxbader commented Sep 8, 2023

Hi
Check if you have the correct branch on tuw_geometry and tuw_msgs the default branch there changed to ros2.

@zhthree3
Copy link
Author

zhthree3 commented Sep 8, 2023

It was a mistake caused by tuw_msgs, after selecting the correct branch, the problem was resolved.

@zhthree3
Copy link
Author

zhthree3 commented Sep 8, 2023

I was able to build successfully, but there were still errors when running launch. Only the first run displayed the Voronoi map in RVIZ, and after running again, the following error will report:

[ INFO] [1694167884.400087825]: Initialization done!
[ INFO] [1694167884.617843018]: Recieved the occupancy grid map
terminate called after throwing an instance of 'boost::archive::archive_exception'
what(): input stream error-Resource temporarily unavailable
[graph_generator-4] process has died [pid 1385658, exit code -6, cmd /home/zh/Hybrid_AStar/voronoi_hybrid_astar_ws/devel/lib/tuw_voronoi_graph/tuw_voronoi_graph_node __name:=graph_generator __log:=/home/zh/.ros/log/10a08646-4e30-11ee-bcb6-8d787f079bca/graph_generator-4.log].
log file: /home/zh/.ros/log/10a08646-4e30-11ee-bcb6-8d787f079bca/graph_generator-4*.log

@maxbader
Copy link
Contributor

maxbader commented Sep 8, 2023

Maybe it is related to #35

@zhthree3
Copy link
Author

Thanks, I added </boost_serialization> label at the end of the XML, and the error disappeared.

@maxbader
Copy link
Contributor

Sorry, I am short on time, can you make a pull request for a merge?

@zhthree3
Copy link
Author

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

@gogxc
Copy link

gogxc commented Feb 21, 2024

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Hi, I have the same problem, has it been solved yet?

@gogxc
Copy link

gogxc commented Feb 21, 2024

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Did you add all the xml files you added? Or just one file?

@zhthree3
Copy link
Author

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Did you add all the xml files you added? Or just one file?

Hi,I don't have a deep impression, but I remember that it was in all the generated xml files that recorded graph information.Historical issue may be able to answer your questions.

@gogxc
Copy link

gogxc commented Feb 24, 2024

微信图片_20240224224834
Thanks, but I'm showing invalid xml after following what you said, and I'm not sure how I should add </boost_serialization>.

@ahmetyuce526
Copy link

hi I have same problem , can anyone solved this problem , please help ?

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

4 participants