Skip to content

Commit cced0c5

Browse files
committed
Update to Rerun 0.12
1 parent 23568c1 commit cced0c5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
99
endif()
1010

1111
include(FetchContent)
12-
FetchContent_Declare(rerun_sdk URL https://build.rerun.io/commit/746dbf3/rerun_cpp_sdk.zip) # TODO: 2023-11-28. Update to latest commit.
12+
FetchContent_Declare(rerun_sdk URL https://github.com/rerun-io/rerun/releases/download/0.11.0/rerun_cpp_sdk.zip)
1313
FetchContent_MakeAvailable(rerun_sdk)
1414

1515
find_package(Eigen3 REQUIRED)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ If you choose not to use pixi, you will need to install a few things yourself be
2626
The Rerun C++ SDK works by connecting to an awaiting Rerun Viewer over TCP.
2727

2828
If you need to install the viewer, follow the [installation guide](https://www.rerun.io/docs/getting-started/installing-viewer). Two of the more common ways to install the Rerun are:
29-
* Via cargo: `cargo install rerun-cli`
30-
* Via pip: `pip install rerun-sdk`
29+
* Via cargo: `cargo install rerun-cli@0.11.0`
30+
* Via pip: `pip install rerun-sdk==0.11.0`
3131

3232
After you have installed it, you should be able to type `rerun` in your terminal to start the viewer.
3333

@@ -58,7 +58,7 @@ cmake --build build
5858
```
5959
Instead of building via CMake you can also open `build/rerun_external_cpp_proj.sln` in Visual Studio and build & run from there.
6060

61-
Then run the binary with
61+
Then run the binary with
6262
```cmd
6363
build\RelWithDebInfo\rerun_ext_example.exe
6464
```

src/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ rerun::Collection<rerun::TensorDimension> tensor_shape(const cv::Mat& img) {
2323
};
2424

2525
int main() {
26+
std::cout << "Rerun SDK Version: " << rerun::version_string() << std::endl;
27+
2628
const auto rec = rerun::RecordingStream("rerun_example_cpp");
2729
rec.spawn().exit_on_failure();
2830

0 commit comments

Comments
 (0)