Development software using Raspberry pi

Development software using Raspberry pi

Hello! Are you interested in developing software?
We are going to explain how to develop software using Raspberry Pi.
First, install NetBeans to windows computer using remote development function and It will develop over the network to the Raspberry Pi. Programming language is C/C++.

Setting Raspberry Pi

Connect Raspberry Pi to the network then enable ssh.

For the ssh, run the “raspi-config”command on the root user then setting “Advanced Options → SSH” to Enable.

Setting Windows

Connect windows computer to the same network as Raspberry Pi, then install NetBeans C/C++ version. How to install NetBean

Registration of Raspberry Pi

      Start NetBeans, right-click the “C/C ++ build host” of the services tab.
      1

      Choose”Add new host”
      2

      Insert the Raspberry Pi host name or IP address.
      3

      For log-in,insert registration Raspberry Pi user name.
      4

      For the “Default tool collection” or “Access to project files in the following ways” please keep the default.
      5

      Raspberry Pi will resister to “C/C++ build・host”. Development command such as C compiler will set up automatically.
      6

Creating a project

      Choose the new project, then choose “Sample→C/C++” to ” Welcome”
      7

      Setting “Project name” and “Project repository” then choose Raspberry Pi on the ” build host”
      8

      The project will resister on the project tab.
      9

      For running a program, forward the project to Raspberry Pi.You can check such as the value of the break point and variable even the project is running on the Raspberry Pi.
      11

Summary

Raspberry Pi is difficult to run for Integrated development environment because of the powerless. But to use the remote development function of Netbeans, you can create a program with faster speed Windows computer.

Copyright 2018 smartDIYs Inc. All Rights Reserved.