Skip to content

Commit 0316429

Browse files
committed
fix installation
1 parent a6d4fa8 commit 0316429

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/get-started/installation.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,21 @@ To get started simply choose your language interface and follow the easy install
2121

2222
`git clone https://github.com/TinyMPC/TinyMPC.git`
2323

24-
Build TinyMPC from source
24+
Navigate to root directory and run
2525

26-
`cd TinyMPC & cmake -S. - Bbuild & cmake --build build`
26+
`cd TinyMPC && mkdir build && cd build`
2727

28-
Run an example
28+
Run CMake configure step
29+
30+
`cmake ..`
2931

30-
`./build/examples/quadrotor_hovering`
32+
Build TinyMPC
33+
34+
`cmake --build .`
3135

36+
Run an example
37+
38+
`./examples/quadrotor_hovering`
3239

3340
=== "Python"
3441

@@ -42,7 +49,6 @@ To get started simply choose your language interface and follow the easy install
4249

4350
Run the `interactive_cartpole.ipynb` example
4451

45-
4652
=== "Julia"
4753

4854
Clone the GitHub repository with submodule

0 commit comments

Comments
 (0)