User Tools

Site Tools


getting_started:tutorials:helloworld

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_started:tutorials:helloworld [2016/05/03 15:12] – [Preparation] grafgetting_started:tutorials:helloworld [2017/02/02 20:42] – external edit 127.0.0.1
Line 8: Line 8:
      - Choose Standard/Terminal as project type and type a project name (e.g. test-project). {{ :getting_started:tutorials:test-app-create-project.png?600 |}}      - Choose Standard/Terminal as project type and type a project name (e.g. test-project). {{ :getting_started:tutorials:test-app-create-project.png?600 |}}
      - Create the project by clicking Finish      - Create the project by clicking Finish
-     - Create the build configuration. It is recommended to put the target architecture in the name of the build folder. Put the location where EEROS is installed in the "Installation Prefix" field. Important: make sure that this is the location where you have installed EEROS (see [[getting_started:compile_eeros|Compiler EEROS]]. If EEROS is installed globally leave this field blank (not recommended). {{ :getting_started:tutorials:test-app-builddir.png?600 |}}+     - Create the build configuration. It is recommended to put the target architecture in the name of the build folder. Put the location where EEROS is installed in the "Installation Prefix" field. Important: make sure that this is the location where you have installed EEROS (see [[getting_started:compile_eeros|Compiler EEROS]]). If EEROS is installed globally leave this field blank (not recommended). {{ :getting_started:tutorials:test-app-builddir.png?600 |}}
      - Check the build sequence on the left bottom of Kdevelop. "eeros-framework" must be before the new project (in this example "test-project"). {{ :getting_started:tutorials:2buildsequence.png?200 |}}      - Check the build sequence on the left bottom of Kdevelop. "eeros-framework" must be before the new project (in this example "test-project"). {{ :getting_started:tutorials:2buildsequence.png?200 |}}
      - Build the project with the build button.      - Build the project with the build button.
Line 22: Line 22:
    
  StreamLogWriter w(std::cout);  StreamLogWriter w(std::cout);
- Logger<LogWriter>::setDefaultWriter(&w); + Logger log;
- Logger<LogWriter> log;+
    
  log.info() << "Hello, EEROS";  log.info() << "Hello, EEROS";
- +
  return 0;  return 0;
 } }