warp-ctc
warp-ctc copied to clipboard
'THC.h' file not found error
I've tried to install torch binding, but always got error
/tmp/luarocks_warp-ctc-scm-1-3075/warp-ctc/torch_binding/binding.cpp:16:14: fatal error:
'THC.h' file not found
#include "THC.h"
I'm using Mac OSX 11. Could you please tell me which kind is this error ?
suppose you don't have the torch development files such as their C headers.
This happens when CUDA is installed but cutorch is not. The build system will detect CUDA and then assume the cutorch headers are there. Please install cutorch and retry.
@dxyzab Is it possible to catch this problem in CMake and give a better error message?
I also got the same problem,how to fix it?