This is a very incomplete list of how to configure eclipse environment to code, build and execute PowerDEVS models. It is AS IS, but might help. Please send any additional steps or feedback.

Cheers

Enable c++11 support

  1. http://stackoverflow.com/questions/17687984/cant-find-the-tool-settings-in-eclipse-cdt
  2. http://stackoverflow.com/questions/17457069/enabling-c11-in-eclipse-juno-kepler-luna-cdt
  3. http://wiki.eclipse.org/CDT/User/FAQ#CDT_does_not_recognize_C.2B.2B11_features

Enable building PowerDEVS models from eclipse
At the end create a new “build configuration” to be able to build from eclipse (PD must create the Makefile according to the editor conections):
1. Proyect --> Build Configuration --> Manage --> new
2. Copy from “Default”, then OK/Apply
3. Proyect --> properties --> C/C++ build -> [tab] Builder Settings
4. unclik the “generate makefile automatically
5. Set build location to the build folder inside PD. For exaple: ${workspace_loc:/tdaq-simulation/build}

C++11 support in Eclipse Kepler Service Release 1 (Build id: 20130919-0819)
In the latest release Eclipse Kepler SR1 you only have to add -std=c++11
1. Right click on your project and click Properties
2. Navigate to C/C++ General and Preprocessor Include Paths, Macros etc.
3. Select the Providers tab
4. Add -std=c++11 to Command to get compiler specs:
5. Apply changes, the Index should be generated automatically.
The "Command to get compiler specs:"-line should look like:
${COMMAND} -E -P -v -dD "${INPUTS}" -std=c++11