Skip to content

Commit 97f4283

Browse files
committed
Add instructions for how to build and run using pixi
1 parent fa25775 commit 97f4283

File tree

4 files changed

+14981
-41
lines changed

4 files changed

+14981
-41
lines changed

.gitignore

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,5 @@
11
# Build directory
2-
build/
2+
build
33

4-
# LSP files
5-
compile_commands.json
6-
.cache
7-
8-
# Prerequisites
9-
*.d
10-
11-
# Compiled Object files
12-
*.slo
13-
*.lo
14-
*.o
15-
*.obj
16-
17-
# Precompiled Headers
18-
*.gch
19-
*.pch
20-
21-
# Compiled Dynamic libraries
22-
*.so
23-
*.dylib
24-
*.dll
25-
26-
# Fortran module files
27-
*.mod
28-
*.smod
29-
30-
# Compiled Static libraries
31-
*.lai
32-
*.la
33-
*.a
34-
*.lib
35-
36-
# Executables
37-
*.exe
38-
*.out
39-
*.app
4+
# Pixi environment
5+
.pixi

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,27 @@
22

33
This is a minimal CMake project that shows how to use [Rerun](https://github.com/rerun-io/rerun) in your code in conjunction with [Eigen](https://eigen.tuxfamily.org/) and [OpenCV](https://opencv.org/).
44

5-
## Depedencies
5+
## How to build and run
66

7-
TODO
7+
### Using `pixi`
8+
The easiest way to get started is to install [pixi](https://prefix.dev/docs/pixi/overview) and then run: `pixi run run`.
89

9-
## How to build and run
10+
### Manually
11+
12+
First install the required dependencies:
13+
* `arrow-cpp`` (required by Rerun)
14+
* `eigen` and `opencv` (required by this example)
15+
* `cmake` and `ninja` (build tools)
16+
17+
Build using:
1018

1119
```bash
1220
mkdir build
1321
cd build
1422
cmake ..
15-
cmake --build .
23+
cmake --build . -- -j8
1624
```
25+
26+
Then run the binary with:
27+
28+
`build/rerun_ext_example`

0 commit comments

Comments
 (0)