User Tools

Site Tools


raspberrypi:settingupc_developmentenvironment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
raspberrypi:settingupc_developmentenvironment [2018/03/31 16:32] rlunaroraspberrypi:settingupc_developmentenvironment [2018/03/31 22:22] rlunaro
Line 56: Line 56:
  
 Let's go for it: first, open eclipse and click on "File -> New -> C/C++ Project":  Let's go for it: first, open eclipse and click on "File -> New -> C/C++ Project": 
 +
 +{{ :raspberrypi:step01.png?nolink&600 |}}
 +
 +Then, pick up "C++ Managed build" or "C Managed buid", whichever you prefer. I've chosen C++ Managed build:
 +
 +{{ :raspberrypi:step02.png?nolink&600 |}}
 +
 +Next, I've selected the empty project and, very important, pick up "Cross GCC" to select a cross compiler:
 +
 +{{ :raspberrypi:step03.png?nolink&600 |}}
 +
 +On the screen that appears, you can click on next:
 +
 +{{ :raspberrypi:step04.png?nolink&600 |}}
 +
 +This is the important part: when you have to select the g++ cross compiler. In the previous section I've spotted that and took note of the path and the prefix to use here:
 +
 +{{ :raspberrypi:step05.png?nolink&600 |}}
 +
 +However, if you are unsure which to use, you can try several. A good option is to try to execute the 
 +cross compiler to see if it runs: at least it has to execute properly in your computer. At the end, 
 +this is a cross compiler, isn't it?
 +
 +Finally, you will get the project on eclipse:
 +
 +
 +{{ :raspberrypi:step06.png?nolink&600 |}}
  
  
  
raspberrypi/settingupc_developmentenvironment.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1