getting_started:write_app:use_on_bbb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:write_app:use_on_bbb [2023/04/12 15:44] – [Say Hello with EEROS] ursgraf | getting_started:write_app:use_on_bbb [2024/06/13 13:55] (current) – [Use Existing Project] 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:// | 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:// | ||
+ | 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 60: | Line 61: | ||
===== Use Existing Project ===== | ===== Use Existing Project ===== | ||
As an example we use the [[getting_started: | As an example we use the [[getting_started: | ||
- | - Clone the code for the project | + | - Clone the code for the project, change into the directory |
$ git clone https:// | $ git clone https:// | ||
$ cd simple-motor-control | $ cd simple-motor-control | ||
+ | $ git checkout v1.0.0 | ||
</ | </ | ||
- Create a build directory and change into it with < | - Create a build directory and change into it with < | ||
Line 68: | Line 70: | ||
$ cd build-armhf | $ cd build-armhf | ||
</ | </ | ||
- | - Build the project with < | + | |
+ | $ . ~/ | ||
+ | </ | ||
$ cmake -DUSE_BBBLUE=TRUE .. | $ cmake -DUSE_BBBLUE=TRUE .. | ||
$ make | $ make |
getting_started/write_app/use_on_bbb.txt · Last modified: 2024/06/13 13:55 by ursgraf