Skip to content

Commit 18ae377

Browse files
committed
Update & improve build instructions for auto-bundled arrow-cpp, and get windows to work out of the box
1 parent 8e11fe7 commit 18ae377

File tree

3 files changed

+3512
-6912
lines changed

3 files changed

+3512
-6912
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+

0 commit comments

Comments
 (0)