Beaglebone Black Board Lesson eighth: building an Eclipse programming environment

Source: Internet
Author: User

BBB Board Eighth Lesson: building an Eclipse programming environment

Recently built a programming environment, feel very convenient, share to everyone. In addition to the BBB Board Remote Desktop directly write shell script or C program, through the Debain 7.5 system using the editing software also tried, write the program or transfer to the BBB board compile, anyway feel very troublesome. Not familiar with Linux is a reason, but not the Chinese software is a problem. Finally back to the familiar XP environment, according to some ideas on the Internet, install Eclipse C + +, did not expect to feel very good after use, at least at this stage is recognized. Especially for beginners like me, really feel convenient, easy to use.

My basic Environment is windowsxp+eclipse C + +, originally in the Debian 7.5 Linux environment also installed Eclipse, but is full English version, inconvenient to use. ^_^ too patriotic, English literature is not good, or first in the XP programming compared to the people, later familiar with the Debian 7.5 Linux under the programming, it is said that Linux corresponding to the BBB board limit is relatively small.

This class is to make up, originally should put in Gpio programming control before, appear disorderly, please don't mind!

Download unzip and run Eclipse C + +

I am also in the virtual machine under the installation of Xp,eclipse/C + + at random in Baidu Search, no deliberate choice version, direct Baidu: Eclipse C + + Chinese version, found the first I downloaded, the title is: "Eclipse idefor C + + Developers (Eclipse Development C tool) 4.3 SR1 Simplified Chinese full version ", File size 144.64MB, file name: Eclipse-cpp-kepler-sr1-win32 directly decompression can be run using, do not need to install.

If you run an error, it may be that the system does not have Jave installed, download a java7 to install it, because I originally built Andriod+eclipse programming environment when the installation of Java7. In fact, pure play BBB Board programming environment, do not feel and Java have what connection, specifically is not necessarily need to install I also do not know. Unless I try to run eclipse again before I finish cleaning up the previous Java, I don't feel the need to tangle with this issue.

This eclipse C + + Chinese version of the right to run after decompression, I do not have any plug-ins installed, mainly for the configuration, you can control the BBB board, but also the function of SSH with. And the overall feeling than some articles on the Internet is much easier to say, some files on the web requirements plug-ins and so on, I was intact.

Interface to run Eclipse for the first time:

The main interface to enter after opening is as follows:

Version displayed on the Help menu bar:

Second, the Configuration BBB Board environment (most important)

1. Open the remote system "remotesystems" window

Open "Windows"-"Show View"-"other", in the pop-up Display view window open "remote systems" in "Remote Systems", OK.

2. Add Linux remote system

From the "Remote Systems" window bar opened in the previous step, click on the "local" right-click menu, select "New"-"Connection", select "Linux" in the "New Connection" window that pops up, click "Next"

In this window, enter the hostname: 192.168.7.2, description can be casually written, I am here to write the full name of the BBB board, easy to identify, the first parameter of the parent profile is what the original is not to care about it

Then click "Next", select "Ssh.files", because has been using SSH remote landing BBB board, feeling is it, the first second parameter has not tried, interested in their own information or try to find out what the difference.

When you click "Finish", there is another "192.168.7.2" remote system on the "Remote Systems" tab on the main page, and it feels more and more close. Oh!

3, the file system connected to the BBB board

Make sure that the BBB board is connected to the virtual machine before making this step. Select SSH Terminal "Sshterminals" right-click menu "Connect" will pop up the password to connect the BBB Board login window


Change the user ID to: root, password enter your own settings, "OK" will pop up to display the remote system version of the window: indicates that you have connected successfully connected to the BBB board.

Click "OK", will return to the main interface, which is you open the remote system "192.168.7.2" file system to see, "Sftp Files"-"root" directory, will show the BBB board file system, where you can modify, delete and add directories or files by the right-click menu, It's full-featured.

4. Open the BBB board remote character Terminal

The "root" directory file back, select SSH terminal "SSH terminals" right-click menu "Launch Terminal"

The main interface will be more a terminal window bar "terminals", is not very familiar with the face AH. Is the interface that we ran the Putty software into before.

You can try the order to see if it's really normal!

At this point you have completely established and BBB Board connection, BBB Board programming environment is also established, the future programming work is all in this eclipsec/c++ environment.

Also, you can open the function window you need through the main Menu "window" and drag the function window through the left mouse button to adjust your favorite programming interface, I adjusted the interface as follows (I think this layout is convenient):

The center position is the program input window, the right side is the file system, the lower left is the command terminal.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.