Skip to content

Commit 84271e6

Browse files
authored
Merge pull request #8 from rerun-io/andreas/update-with-embedded-arrow
Update & improve build instructions for auto-bundled arrow-cpp, and get windows to work out of the box
2 parents 05bada5 + 44c32d8 commit 84271e6

File tree

4 files changed

+1013
-3836
lines changed

4 files changed

+1013
-3836
lines changed

README.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,36 @@ The easiest way to get started is to install [pixi](https://prefix.dev/docs/pixi
3737

3838
### Manually
3939
First install the required dependencies:
40-
* `arrow-cpp` (required by Rerun)
4140
* `eigen` and `opencv` (required by this example)
42-
* `cmake` and `ninja` (build tools)
41+
* `cmake` (for building)
4342

44-
Build using:
4543

44+
### Linux & Mac
45+
46+
Build:
4647
```bash
47-
mkdir build
48-
cd build
49-
cmake ..
50-
cmake --build . -- -j8
48+
cmake -B build
49+
cmake --build build -j
5150
```
5251

5352
Then run the binary with:
54-
5553
`build/rerun_ext_example`
54+
55+
56+
### Windows using Visual Studio 2022
57+
58+
59+
Build
60+
```cmd
61+
cmake -B build -G 'Visual Studio 17 2022'
62+
cmake --build build
63+
```
64+
Instead of building via CMake you can also open `build/rerun_external_cpp_proj.sln` in Visual Studio and build & run from there.
65+
66+
Then run the binary with
67+
```cmd
68+
build\RelWithDebInfo\rerun_ext_example.exe
69+
```
70+
Make sure that all dependent dlls (OpenCV & Eigen) are in PATH or next to the executable.
71+
72+

cspell.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3+
"version": "0.2",
4+
"usePnP": true,
5+
"ignoreWords": [
6+
"eigen",
7+
"Eigen",
8+
"pixi",
9+
"srcset"
10+
]
11+
}

0 commit comments

Comments
 (0)