vchoutas / torch-mesh-isect

Other
281 stars 72 forks source link

set the environment variable $CUDA_SAMPLES_INC to the path that contains the header helper_math.h #14

Closed electronicliujiang closed 4 years ago

electronicliujiang commented 4 years ago

how to set the environment variable $CUDA_SAMPLES_INC to the path that contains the header helper_math.h?

electronicliujiang commented 4 years ago

include "helper_math.h"

                     ^

compilation terminated. error: command '/usr/local/cuda-10.0/bin/nvcc' failed with exit status 1

nileshkulkarni commented 4 years ago

Download samples from here, and export CUDA_SAMPLE_INC path accordingly. That solution worked for me.

vchoutas commented 4 years ago

I just updated the README with a link to the CUDA samples repo, thanks @nileshkulkarni .