Event Frame GPU Loading Sample using C++

Event Frame GPU Loading Sample using C++

Hello,

I am trying to run the Event Frame GPU Loading Sample using C++ and I am getting an unexpected error. I installed CUDA 11.7, and i am running in a Windows OS. I am following the steps as stated here: Event Frame GPU Loading Sample using C++ — Metavision SDK Docs 4.5.2 documentation (prophesee.ai)

For first compiling the sample I am supposed to write in the terminal:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release

Once i get to the cmake .. -DCMAKE_BUILD_TYPE=Release i get this: 

-- Found OpenCV: C:/Program Files/Prophesee/third_party (found version "4.8.0") found components: core imgproc imgcodecs

CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:460 (message):
  No CUDA toolset found.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCUDACompiler.cmake:283 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:20 (enable_language)

For this I implemented in the CMakeLists.txt the following line: 

# Find CUDA Package:
find_package(CUDA REQUIRED)

And for this i get the confirmation that I do have the CUDA installed with the correct version but still error is there: 

-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7 (found version "11.7")

CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:460 (message):
  No CUDA toolset found.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
  C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCUDACompiler.cmake:283 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:25 (enable_language)

Maybe I am missing some instructions or some downloading. Could you help me? Thanks!
    As a Prophesee customer, join the community conversation. 
    Request your free access today.