Several Applications and Samples are delivered with HAL to help you get started with the library. In the following sections, you will find information on how to build, run and install those applications and samples.
mkdir build cd build cmake .. cmake --build .
In this code sample, our CMakeLists.txt is configured in a such way that the executable is generated in the “build” directory.
Here, we’ll use HAL Viewer Sample sample, but other samples can be started in the same way.
Go to the “build” directory. Run the sample as usual, for example:
Alternatively, you could also specify where the plugins are located by using the MV_HAL_PLUGIN_PATH variable, for example:
set "MV_HAL_PLUGIN_PATH=C:\Program Files\Prophesee\lib\metavision\hal\plugins\" metavision_hal_viewer.exe
Go to the “build” directory and run the command:
sudo cmake --install .