vchoutas / torch-mesh-isect

Other
295 stars 73 forks source link

“double_vec_ops.h”: No such file or directory #21

Closed BaldrLector closed 3 years ago

BaldrLector commented 3 years ago

Does anyone know how to fix this error? Thanks

Elody-07 commented 3 years ago

Does anyone know how to fix this error? Thanks

Hello~ I have met the same problem. Did you solve it ?

monacv commented 3 years ago

@Elody-07 and @BaldrLector could you please guide how you solved this problem? I have the same exact error:

double_vec_ops.h: No such file or directory

Tendocat commented 3 months ago

If anyone has the same issue, I have changed the include relative path to the real path in setup.py l.59

bvh_include_dirs = torch.utils.cpp_extension.include_paths() + [
    'include',
    osp.expandvars('$CUDA_SAMPLES_INC')]

to

bvh_include_dirs = torch.utils.cpp_extension.include_paths() + [
    '/FULL/PATH/include',
    osp.expandvars('$CUDA_SAMPLES_INC')]

It might be an issue coming from a different compiler.