Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Installing the cmake, image, video, and gtk packages

cmake is a configuration utility. Using cmake, we can configure different OpenCV and Python modules after installing them. To install the cmake package, enter the following command:

sudo apt-get install build-essential cmake pkg-config -y

Next, to install the image I/O package, enter the following command:

sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev -y

After this, we will install the two video I/O packages by typing the following commands:

sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev -ysudo apt-get install libxvidcore-dev libx264-dev -y

Next, we will download and install the Gimp Toolkit (GTK) packages. This toolkit is used for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content