-
Notifications
You must be signed in to change notification settings - Fork 8
Installation Using Eclipse
Matthias Wolff edited this page Dec 21, 2015
·
8 revisions
These installation instructions apply to the Eclipse Mars (4.5) and Neon (4.6) IDEs. See Installation Using Eclipse Kepler (4.3) and Luna (4.4) for instructions for legacy versions or Command Line Installation for alternative instructions using command line tools only.
You need:
| Software | ||
|---|---|---|
| GCC (on Windows e.g. part of MinGW) | required | see Windows: Installation and Configuration of MinGW |
| Eclipse Plug-Ins | ||
| Git or SVN team provider | required | |
| CDT (C/C++ Development Tooling) | required | |
| dLabPro Plug-In | optional | |
| MACHINE | optional | unique identifier of the machine type (e.g. "x86_win64"); useful if the workspace is located on a network drive and you compile for different machines |
| DLABPRO_HOME | optional | dLabPro home folder <workspace_loc>/dLabPro |
| PATH | recommended | add the dLabPro binary folder <workspace_loc>/dLabPro/bin.release |
Using Git (2a) - or - SVN (2b):
- in Eclipse: Window / Show View / Other...
- select Git / Git Repositories
Ok
- Git Repositories view
- Clone a GIT repository
- Source Git Repository page
- URI: https://github.com/matthias-wolff/dLabPro.git
- enter GitHub credentials
Next>
- Branch Selection page
- uncheck everything but "master"
Next>
- Local Destination page
- Directory: <workspace_loc>/dLabPro
-
Finish
- in Eclipse: File / New / Project...
- proceed with 3.
- in Eclipse: File / New / Project...
- SVN / Project from SVN
Next>
- Enter Repository Location Information page
- URL: https://github.com/matthias-wolff/dLabPro
- enter GitHub credentials
Next>
- Select Resource page
- URL: https://github.com/matthias-wolff/dLabPro/trunk
Finish
- Check Out As page
- select: Check out as a Project using the New Project Wizard
Finish
- proceed with 3.
- Select a wizard page
- select: C/C++ / C Project
Next>
- C Project page
- Project name: dLabPro
- Project type: Makefile project / Empty Project
- Toolchains: Linux GCC, MinGW GCC, or any other appropriate
Finish
- for full build:
- open dLabPro/Makefile
- in the outline view right-click the entries CLEANALL, DEBUG, and RELEASE and select "Add make Target"
- for incremental builds (optional):
- Make Target view
- make sure that tool button "Hide Empty Folders" is unchecked
- right-click tree item dLabPro/programs/dlabpro, select "New..." and create make targets CLEANALL, DEBUG, and RELEASE
- optionally: repeat the last step for the tree items dLabPro/programs/dcg and dLabPro/programs/recognizer
- Make Target view
- Make Target view
- full build: double-click tree item dLabPro/DEBUG or dLabPro/RELEASE
- incremental build: double-click tree item dLabPro/dlabpro/DEBUG or dLabPro/dlabpro/RELEASE
Copyright 2013-2014 dLabPro contributors and others (see COPYRIGHT file)