User Tools

Site Tools


getting_started:write_app:use_on_bbb

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
getting_started:write_app:use_on_bbb [2023/04/12 15:45] – [Use Existing Project] ursgrafgetting_started:write_app:use_on_bbb [2024/11/07 12:25] (current) – [Say Hello with EEROS] ursgraf
Line 4: Line 4:
 You will use C++ to develop your EEROS applications. For this you need at least some knowledge of the basic language features. A good starting point might be [[https://www.cplusplus.com/doc/tutorial/]]. Minimal help can also be found under [[tools:cplusplus|]]. You will use C++ to develop your EEROS applications. For this you need at least some knowledge of the basic language features. A good starting point might be [[https://www.cplusplus.com/doc/tutorial/]]. Minimal help can also be found under [[tools:cplusplus|]].
  
 +All the necessary libraries are already on our images, notably eeros, librobotcontrol and bbblue-eeros.
 What do you want to do next? What do you want to do next?
  
Line 39: Line 40:
  
 add_executable(helloworld main.cpp) add_executable(helloworld main.cpp)
-target_link_libraries(helloworld PRIVATE eeros)+target_link_libraries(helloworld PRIVATE EEROS::eeros)
 </code>  </code> 
   - Create a build directory and change into it with <code>   - Create a build directory and change into it with <code>
Line 60: Line 61:
 ===== Use Existing Project ===== ===== Use Existing Project =====
 As an example we use the [[getting_started:tutorials:oneaxis|]] demo program. As an example we use the [[getting_started:tutorials:oneaxis|]] demo program.
-  - Clone the code for the project and change into the directory <code>+  - Clone the code for the projectchange into the directory and checkout a stable version with<code>
 $ git clone https://github.com/eeros-project/simple-motor-control.git $ git clone https://github.com/eeros-project/simple-motor-control.git
 $ cd simple-motor-control $ cd simple-motor-control
 +$ git checkout v1.0.0
 </code> </code>
   - Create a build directory and change into it with <code>   - Create a build directory and change into it with <code>
getting_started/write_app/use_on_bbb.1681307151.txt.gz · Last modified: 2023/04/12 15:45 by ursgraf