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

A problem occurred when deploying the client #31

Open
Chase-9899 opened this issue Apr 30, 2021 · 2 comments
Open

A problem occurred when deploying the client #31

Chase-9899 opened this issue Apr 30, 2021 · 2 comments

Comments

@Chase-9899
Copy link

I had a problem implementing RoboFleet.When I arranged RoboFleet Client on the robot side, the following problems occurred. I hope you can provide me with some solutions or solutions.

chase@chase-vpc:~/catkin_ws/src/robofleet_client$ sudo make
(cd build; cmake ..)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chase/catkin_ws/src/robofleet_client/build
(cd build; make -j)
make[1]: enter the directory “/home/chase/catkin_ws/src/robofleet_client/build”
make[2]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[3]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
[ 4%] Automatic MOC and UIC for target gtest
make[4]:enter the directory“/home/chase/catkin_ws/src/robofleet_client/amrl_msgs”
make[3]:enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
[ 4%] Built target gtest_autogen
make[3]: enter the directory“/home/chase/catkin_ws/src/robofleet_client/build”
CMake Error at CMakeLists.txt:4 (INCLUDE):
INCLUDE could not find load file:

/core/rosbuild/rosbuild.cmake

CMake Error at CMakeLists.txt:5 (ROSBUILD_INIT):
Unknown CMake command "ROSBUILD_INIT".

-- Configuring incomplete, errors occurred!
See also "/home/chase/catkin_ws/src/robofleet_client/amrl_msgs/build/CMakeFiles/CMakeOutput.log".
make[4]: *** [Makefile:15:build/CMakeLists.txt.copy] error 1
make[4]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/amrl_msgs”
make[3]: *** [CMakeFiles/amrl_msgs.dir/build.make:57:CMakeFiles/amrl_msgs] error 2
make[3]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[2]: *** [CMakeFiles/Makefile2:183:CMakeFiles/amrl_msgs.dir/all] error 2
make[2]: *** 正在等待未完成的任务....
make[3]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
[ 16%] Built target gtest
make[2]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make[1]: *** [Makefile:130:all] error 2
make[1]: Leave the directory“/home/chase/catkin_ws/src/robofleet_client/build”
make: *** [Makefile:23:build/client] error 2

@kvsikand
Copy link
Collaborator

kvsikand commented May 7, 2021

Robofleet uses the rosbuild build system rather than Catkin, and so depends on the rosbuild package.
On an ubuntu machine, this package can be found as ros-{version}-rosbuild.
This build system is used to make the system more portable, and so it doesn't need to be placed in your catkin_ws (though it should not be a problem for it to be there).

@kvsikand
Copy link
Collaborator

kvsikand commented May 7, 2021

Additionally, wherever the robofleet_client folder is placed, you will need to ensure that it is on the ROS_PACKAGE_PATH environment variable before building (for convenience, I often put the command to update my ROS_PACKAGE_PATH in my shell's .bashrc).

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