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

How important is learning build system?

asked 2018-04-10 11:46:24 -0500

dinesh gravatar image

How important are learning build system or compiling language to develop softwares? For example i saw that ros is using catkin, or catkin build to build the ros packages or softwares. which is simular to cmake compiler language. and i also saw that most of the open source robotics related frameworks like opencv, pcl, xenomai, orocos, ace_orb all are based on cmake or make. So should i learn this compiling language in detail and as much seriously as the main programming language like c++/c, python, lua etc? If yes than why most people say that learning this is secondary and not that important for software development?

edit retag flag offensive close merge delete

Comments

I believe this is rather off-topic for this forum, but in short: CMake is a DSL that allows you to configure build environments and build programs from source files. If you're going to be working with languages that need compilation, and will be using libraries and projects that already use it, ..

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 14:46:30 -0500 )edit

.. then spending some time learning CMake itself (which underlies Catkin) might make sense.

You'll probably quickly come to a point where you'll want to do something 'exotic' in CMake, which will force you to learn it a bit more. Till then, reproducing "magic incantations" is probably ok.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 14:47:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-10 14:57:38 -0500

Catkin isn't hard to learn. You don't have to become an expert on it. Usually it works right the first time. I'd suggest following the tutorials, and after three or four pages of them, you'll be good to go. Much of ROS comes to you already compiled, through the framework you're familiar with (apt-get install ...) Don't worry, compute!

edit flag offensive delete link more

Comments

1

This is an ok answer, but I would emphasise the fact that Catkin ~= CMake + some extra convenience macros.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-11 01:58:23 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-10 11:46:24 -0500

Seen: 110 times

Last updated: Apr 10 '18