KugaMaxx / cuke-emlb

A benchmark for event-based denoising.
MIT License
30 stars 4 forks source link

dv runtime not found for cmake #7

Closed shiba24 closed 4 months ago

shiba24 commented 4 months ago

Hi, thank you for publishing this benchmark. When I try the installation, "dv-runtime" cannot be found.

The command: CC=gcc-10 CXX=g++-10 cmake .. -DEMLB_ENABLE_PYTHON=ON

-- EMLB_ENABLE_PYTHON ON
-- EMLB_ENABLE_MODULES ON
-- EMLB_ENABLE_SAMPLES 
-- EMLB_ENABLE_LIBTORCH OFF
CMake Error at CMakeLists.txt:53 (find_package):
  By not providing "Finddv.cmake" in CMAKE_MODULE_PATH this project has asked
  CMake to find a package configuration file provided by "dv", but CMake did
  not find one.

  Could not find a package configuration file provided by "dv" with any of
  the following names:

    dvConfig.cmake
    dv-config.cmake

  Add the installation prefix of "dv" to CMAKE_PREFIX_PATH or set "dv_DIR" to
  a directory containing one of the above files.  If "dv" provides a separate
  development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

I have "dv-processing" installed (for example, /usr/lib/x86_64-linux-gnu/cmake/dv-processing/dv-processing-config.cmake is there), and it seems like "dv-toolkit" installation is also successful (Successfully installed dv_toolkit-0.1.0 after pip3 install external/dv-toolkit/.)

Actually, looking into CMakeLists.txt, then I'm supposed to have installed something like "dv" https://github.com/KugaMaxx/cuke-emlb/blob/main/CMakeLists.txt#L53

Do you know what I'm missing?

shiba24 commented 4 months ago

nvm, I found the solution: apt install dv-runtime-dev. Thank you