Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eclipse [2017/01/25 15:34]
arthur
eclipse [2018/03/28 17:48] (current)
147.86.207.10 [Install Eclipse with C/C== and GNU Support]
Line 3: Line 3:
 </​callout>​ </​callout>​
  
-I first want to thank [http://​mbed.org/​users/​dcabanis/​ David Cabanis] for the e-mail that he sent me a few months ago.  It forms the core of this page.  David, You Rock!+I first want to thank [[http://​mbed.org/​users/​dcabanis/​|David Cabanis]] for the e-mail that he sent me a few months ago.  It forms the core of this page.  David, You Rock!
  
-= Install Eclipse with C/C== and GNU Support+= Install Eclipse with C/C++ and GNU Support
 To get started, you need to install Eclipse. To this you will add support for the GNU tool chain used by the Smoothie project. ​ At the time this page was written, Eclipse 4.4 (Luna), was the current release. This guide also applies to later versions - 4.5 (Mars) and 4.6 (Neon). To get started, you need to install Eclipse. To this you will add support for the GNU tool chain used by the Smoothie project. ​ At the time this page was written, Eclipse 4.4 (Luna), was the current release. This guide also applies to later versions - 4.5 (Mars) and 4.6 (Neon).
  
-* Eclipse is a Java application and [http://​wiki.eclipse.org/​Eclipse/​Installation#​Install_a_JVM requires at least version 6 of the Java Runtime Environment,​ JRE], be installed on your machine. ​ On Windows and Linux, you will want to make sure that you have this Java requirement installed. ​ On OS X, it will detect the Java requirement when you first attempt to run Eclipse and offer to install it for you if not already installed.+* Eclipse is a Java application and [[http://​wiki.eclipse.org/​Eclipse/​Installation#​Install_a_JVM|requires at least version 6 of the Java Runtime Environment,​ JRE]], be installed on your machine. ​ On Windows and Linux, you will want to make sure that you have this Java requirement installed. ​ On OS X, it will detect the Java requirement when you first attempt to run Eclipse and offer to install it for you if not already installed.
 * Go to http://​www.eclipse.org/​downloads to download and decompress the **Eclipse IDE for C/C++ Developers** archive. * Go to http://​www.eclipse.org/​downloads to download and decompress the **Eclipse IDE for C/C++ Developers** archive.
 * Now startup that shiny new version of Eclipse by executing the Eclipse binary at the root of the decompressed Eclipse files. There is no separate install process required for Eclipse. ​ If Eclipse fails to start, it is probably due to a missing JRE. * Now startup that shiny new version of Eclipse by executing the Eclipse binary at the root of the decompressed Eclipse files. There is no separate install process required for Eclipse. ​ If Eclipse fails to start, it is probably due to a missing JRE.
Line 30: Line 30:
 = Create Eclipse Project for Smoothie = Create Eclipse Project for Smoothie
 * Open a shell and change into the **workspace directory** using **cd** * Open a shell and change into the **workspace directory** using **cd**
- * In this, check out the Smoothieware source repository as described in [http://​smoothieware.org/​getting-smoothie http://​smoothieware.org/​getting-smoothie]+ * In this, check out the Smoothieware source repository as described in [[http://​smoothieware.org/​getting-smoothie|http://​smoothieware.org/​getting-smoothie]]
   * If you wish, you can switch between branches using the git eclipse plugin later   * If you wish, you can switch between branches using the git eclipse plugin later
   * In the **workspace directory** there should be a directory named **Smoothie** now. It will be our the **project directory**   * In the **workspace directory** there should be a directory named **Smoothie** now. It will be our the **project directory**
Line 84: Line 84:
  
 **If the Indexer does not find the Types of the mbed system (e.g. SDCard, USB, DFU, SDFAT, ... in main.cpp), try this: **If the Indexer does not find the Types of the mbed system (e.g. SDCard, USB, DFU, SDFAT, ... in main.cpp), try this:
-@@[@@This seems to be not necessary any more, i keep it here for testing@@]@@**+@@[[@@This|seems to be not necessary any more, i keep it here for testing@@]]@@**
 * Goto project properties ​ * Goto project properties ​
  * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items.  * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items.
Line 104: Line 104:
 * To clean select **Project->​Clean..:​** from the main menu. Make your selection and click ok. * To clean select **Project->​Clean..:​** from the main menu. Make your selection and click ok.
  * The **Console** should should show:  * The **Console** should should show:
-[[code]]+<code>
 <​Time>​ **** Clean-only build of configuration Debug for project Smoothie **** <​Time>​ **** Clean-only build of configuration Debug for project Smoothie ****
 make clean  make clean 
Line 116: Line 116:
  
 <​Time>​ Build Finished (took 416ms) <​Time>​ Build Finished (took 416ms)
-[[/code]]+</code>
 * Click on the hammer icon in the main tool bar * Click on the hammer icon in the main tool bar
  * the **Console** view should show:  * the **Console** view should show:
-[[code]]+<code>
 <​Time>​ **** Build of configuration Debug for project Smoothie **** <​Time>​ **** Build of configuration Debug for project Smoothie ****
 make all  make all 
Line 138: Line 138:
  
 <​Time>​ Build Finished (took 1m:​16s.206ms) <​Time>​ Build Finished (took 1m:​16s.206ms)
-[[/code]]+</code>
  
  
 **If you get many error markers when you open a file even when the project builds without complaints, try this: **If you get many error markers when you open a file even when the project builds without complaints, try this:
-@@[@@This seems to be not necessary any more, i keep it here for testing@@]@@**+@@[[@@This|seems to be not necessary any more, i keep it here for testing@@]]@@**
 * Goto project properties ​ * Goto project properties ​
  * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items.  * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items.