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

cyberdog_ws docker compile failed #9

Open
xcccya opened this issue Sep 11, 2023 · 9 comments
Open

cyberdog_ws docker compile failed #9

xcccya opened this issue Sep 11, 2023 · 9 comments

Comments

@xcccya
Copy link

xcccya commented Sep 11, 2023

Describe the bug
docker 环境下,cyberdog_ws 编译失败,缺失 liblog4cxx.so.10
log4cxx

@tianweix
Copy link

+1, 遇到同样的问题

@Tianhonghai
Copy link
Contributor

请查看一下docker镜像的编译过程中是否有liblog4cxx-dev的安装报错,如果有的话可以重新编译docker镜像。或者在现有的镜像中运行apt install liblog4cxx-dev

@GMaker-git
Copy link

apt install liblog4cxx-dev 有用,如果不行可以 apt update 一次

@xcccya
Copy link
Author

xcccya commented Sep 18, 2023

docker build的时候没有任何报错信息,我从cyberdog设备(第二代)上把缺少的库拷贝过来,可以编译通过,但是把编译后的产物放到设备上,无法启动,请问这个项目是cyberdog_ws一代的还是二代的?

@GMaker-git
Copy link

Starting >>> cyberdog_grpc
Finished <<< cyberdog_parameter [12.1s]
Finished <<< navigation_bringup [12.7s]
Finished <<< low_power_consumption [14.3s]
Starting >>> cyberdog_interactive
Finished <<< cyberdog_embed_protocol [15.5s]
Finished <<< image_transmission [15.8s]
Finished <<< black_box [17.5s]
Starting >>> user_info_manager
Starting >>> cyberdog_bms
Starting >>> cyberdog_led
Starting >>> cyberdog_tof
Starting >>> cyberdog_ultrasonic
Finished <<< manager_base [24.0s]
Starting >>> cyberdog_uwb
--- stderr: nav2_util
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.

make[2]: *** [test/CMakeFiles/test_actions.dir/test_actions.cpp.o] Error 4
make[1]: *** [test/CMakeFiles/test_actions.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
**c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
make[2]: *** [test/CMakeFiles/test_service_client.dir/test_service_client.cpp.o] Error 4
make[1]: *** [test/CMakeFiles/test_service_client.dir/all] Error 2
make: *** [all] Error 2

Failed <<< nav2_util [2min 24s, exited with code 2]**

现在报这个错误

@xcccya
Copy link
Author

xcccya commented Sep 18, 2023

你这个是系统内存不足,g++被系统kill掉了,不要用多线程编译

@GMaker-git
Copy link

GMaker-git commented Sep 19, 2023

给到16核16G内存会不够用,降到8核心16G内存就可以了,但是还是有这些错误

--- stderr: cyberdog_bluetooth
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,

Finished <<< cyberdog_bluetooth [11.0s]
--- stderr: cyberdog_wifi
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,

报错后显示完成Finished <<< cyberdog_bluetooth [9.94s]

不知道是编译完成还是只是个警告

@GMaker-git
Copy link

最后编译了好几个小时结果是这样的
Summary: 95 packages finished [35min 58s]
2 packages had stderr output: cyberdog_bluetooth cyberdog_wifi

@slamworker
Copy link
Contributor

您好这是警告,出现上述结果说明所有功能包已经编译完成

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

5 participants