isunchy / cuboid_abstraction

Code release for "Learning Adaptive Hierarchical Cuboid Abstractions of 3D Shape Collections" (SIGGRAPH Asia 2019)
Other
53 stars 10 forks source link

error: Specify CUDA_TOOLKIT_ROOT_DIR #2

Closed MHaoYun closed 4 years ago

MHaoYun commented 4 years ago

when I run camke .. , I have a following error

CMake Error at /usr/share/cmake-3.5/Modules/FindCUDA.cmake:617 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred! See also "/data/miaohy/VR/cuboid_abstraction-master/cext/build/CMakeFiles/CMakeOutput.log".

This seems to be because I did not specify the CUDA dir. I know I should use -D CUDA_TOOLKIT_ROOT_DIR=... to specify the dir, and I have installed cuda9.0 with anaconda, but I don't know what the dir path is?