getting_started:write_app:use_on_cb20
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_cb20 [2024/06/13 13:54] – [Use Existing Project] ursgraf | getting_started:write_app:use_on_cb20 [2026/05/13 15:08] (current) – [Use Existing Project] ursgraf | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| add_executable(helloworld main.cpp) | add_executable(helloworld main.cpp) | ||
| - | target_link_libraries(helloworld PRIVATE eeros) | + | target_link_libraries(helloworld PRIVATE |
| </ | </ | ||
| - Create a build directory and change into it with < | - Create a build directory and change into it with < | ||
| Line 46: | Line 46: | ||
| </ | </ | ||
| - Source the script for the SDK which has been installed in [[getting_started: | - Source the script for the SDK which has been installed in [[getting_started: | ||
| - | $ . ~/ost-devel/tdx-xmayland/ | + | $ . /opt/ |
| </ | </ | ||
| - Build the project with < | - Build the project with < | ||
| Line 60: | Line 60: | ||
| ===== 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.1 | ||
| </ | </ | ||
| - | - Create a build directory, change into it and checkout a stable version | + | - Create a build directory |
| $ mkdir build-armhf | $ mkdir build-armhf | ||
| $ cd build-armhf | $ cd build-armhf | ||
| - | $ git checkout v1.0.0 | ||
| </ | </ | ||
| - Source the script for the SDK which has been installed in [[getting_started: | - Source the script for the SDK which has been installed in [[getting_started: | ||
| - | $ . ~/ost-devel/tdx-xmayland/ | + | $ . /opt/ |
| - | </ | + | </ |
| + | - Build the project with < | ||
| $ cmake -DUSE_FLINK=TRUE .. | $ cmake -DUSE_FLINK=TRUE .. | ||
| $ make | $ make | ||
getting_started/write_app/use_on_cb20.1718279642.txt.gz · Last modified: by ursgraf
