thpp/if/gen-cpp2/Tensor_types.h: No such file or directory
Opened this issue · 7 comments
ravi03071991 commented
Hi,
After installing thpp it could not generate if/gen-cpp2/Tensor_types.h files is not created and giving following error while trying to use crnn. Kindly help me in this issue.
In file included from /media/mpl1/mpl_hd1/Utkarsh/ravi/crnn/src/cpp/Tensor.h:14:0,
from /media/mpl1/mpl_hd1/Utkarsh/ravi/crnn/src/cpp/ctc.cpp:8:
/home/mpl1/torch/install/include/thpp/Storage.h:22:43: fatal error: thpp/if/gen-cpp2/Tensor_types.h: No such file or directory
compilation terminated.
CMakeFiles/crnn.dir/build.make:86: recipe for target 'CMakeFiles/crnn.dir/ctc.cpp.o' failed
make[2]: *** [CMakeFiles/crnn.dir/ctc.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/crnn.dir/all' failed
make[1]: *** [CMakeFiles/crnn.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
cp: cannot stat '*.so': No such file or directory
(base) mpl1@mpl1:/media/mpl1/mpl_hd1/Utkarsh/ravi/crnn/src$ sh build_cpp.sh
mkdir: cannot create directory ‘build’: File exists
-- Configuring done
-- Generating done
-- Build files have been written to: /media/mpl1/mpl_hd1/Utkarsh/ravi/crnn/src/cpp/build
Regards,
D. RAvi Theja.
wangxuesnow commented
Did you solved the problem?I miss it also.Thank you for your help.
ilovin commented
same issue
Argument Error: Language cpp2 not defined.
Scanning dependencies of target thpp
[ 10%] Building CXX object CMakeFiles/thpp.dir/Storage.cpp.o
In file included from /tmp/fblualib-build.Osdkme/thpp/thpp/Storage.cpp:11:0:
/tmp/fblualib-build.Osdkme/thpp/thpp/../thpp/Storage.h:22:43: fatal error: thpp/if/gen-cpp2/Tensor_types.h: No such file or directory
compilation terminated.
CMakeFiles/thpp.dir/build.make:84: recipe for target 'CMakeFiles/thpp.dir/Storage.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/Storage.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/thpp.dir/all' failed
make[1]: *** [CMakeFiles/thpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
saxenarohit commented
same issue
khalilo commented
Hi @saxenarohit
How you solved the problem ? I meet the same question.
Dugujiujian12321 commented
How to solve the problem?
hui2000ji commented
Same problem here!
Caused me a great deal of trouble installing all these...
kdnarwani commented
Have you solved this issue, I am also facing this issue