ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

editing CMakeList.txt

asked 2014-04-09 06:05:15 -0500

Ros_newbie gravatar image

I was going through pr2_controller tutorials and came across the portion where we must build and run the program. It says make the binary by typing make in the drive_base_tutorial directory. Where must I type this? In the CMakeList.txt file? and what does it mean by make the binary?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-09 07:04:16 -0500

ahendrix gravatar image

It means exactly what it says.

In your terminal, run:

roscd drive_base_tutorial
make

roscd drive_base_tutorial will take you to the drive_base_tutorial directory (you can also use cd for this).

make is a build tool; it will call cmake, which will use the information in your CMakeLists.txt to call the compiler and the linker, converting your C++ code into an executable.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-04-09 06:05:15 -0500

Seen: 213 times

Last updated: Apr 09 '14