User Tools

Site Tools


raspberrypi:settingupc_developmentenvironment

This is an old revision of the document!


Setting up a complete development environment in C++ for Raspberry PI

Intro

I wanted to do some development for the Raspberry PI. So, my first idea is to use c++ for the task, and use it from my laptop, instead of using the ssh and the oldies development environments.

I prefer to use a decent IDE (Eclipse for C++) for the task, and debug remotely from my

So, the objectives are:

  1. To develop in C++ for the Raspberry PI
  2. To do it in eclipse, in my computer
  3. To compile in my computer, and debug remotely in the Raspberry PI
  4. Moreover, to use libraries specifically compiled for the raspberry pi (log4cpp, libconfig)

This setting will configure a development environment optimal for develop and create programs in the raspberry pi.

Previous considerations

Previous tasks I did in my raspberry pi:

  1. Configure other user than pi, and delete the original pi user
  2. Configure static IP

Install eclipse

First, install the Java Runtime Environment by doing:

# sudo apt-get install openjdk-8-jdk

And then, install the eclipse: I've went to http://www.eclipse.org/downloads/ and located Eclipse CDT (specific for development in C/C++) and install it.

raspberrypi/settingupc_developmentenvironment.1522349774.txt.gz · Last modified: 2022/12/02 22:02 (external edit)