This repository is personally forked from https://github.com/IntelRealSense/librealsense/tree/v1.12.4 to fix issues to use legacy RealSense devices.
An original readme file is here.
Basic build method with CMake:
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build . --config Release
$ ls Release
You can test the library with <device-name>-live-test
executable.
For example, if you want to test for F200, execute the following command.
$ ./Release./F200-live-test
I confirmed the following on Windows 11 + Visual Studio 2019 environment.
> mkdir build
> cd build
> cmake ..
> cmake --build . --config Release
:
:
> ls Release
Directory: J:\repos\librealsense1\build\Release
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2023/01/09 22:51 401408 F200-live-test.exe
-a--- 2023/01/09 22:51 494592 LR200-live-test.exe
-a--- 2023/01/09 22:52 390144 offline-test.exe
-a--- 2023/01/09 22:51 498688 R200-live-test.exe
-a--- 2023/01/09 22:51 571904 realsense.dll
-a--- 2023/01/09 22:51 13334 realsense.exp
-a--- 2023/01/09 22:51 22520 realsense.lib
-a--- 2023/01/09 22:51 424960 SR300-live-test.exe
-a--- 2023/01/09 22:52 542720 ZR300-live-test.exe
> .\Release\F200-live-test.exe
===============================================================================
All tests passed (47133 assertions in 15 test cases)
PS J:\repos\librealsense1\build>