Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding CUDA_SDK_ROOT_DIR

I am trying to set up Point Cloud Library trunk build with CUDA options enabled.

I believe I have installed CUDA correctly, following these instructions.

In the cmake options for the PCL build, some options are unrecognised:

enter image description here

Is there something I can manually set CUDA_SDK_ROOT_DIR to? Likewise for the other unfound options.

like image 888
Bill Cheatham Avatar asked Oct 18 '25 17:10

Bill Cheatham


1 Answers

CUDA_SDK_ROOT_DIR should be set to the direction in which you installed the NVIDIA's GPU Computing SDK. The GPU Computing SDK is downloadable from the same page at NVIDIA where you downloaded CUDA. By default, this SDK will install to $HOME/NVIDIA_GPU_Computing_SDK. Set it appropriately and then rerun cmake.

Edit:

The CUDA_SDK_ROOT_DIR variable is actually looking for the sub-directory beneath $HOME/NVIDIA_GPU_Computing_SDK that contains the version of CUDA you're using. For me, this is $HOME/NVIDIA_GPU_Computing_SDK/CUDA/v4.1.

like image 112
Nathan Avatar answered Oct 22 '25 02:10

Nathan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!