Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/home/PyTorch-Encoding-Layer-master/encoding/src/encoding_lib.cpp:12:26: fatal error: thc_encoding.h: No such file or directory #8

Closed
gaopeng-eugene opened this issue Oct 21, 2017 · 9 comments

Comments

@gaopeng-eugene
Copy link

No description provided.

@gaopeng-eugene
Copy link
Author

Unable to solve this problem

@zhanghang1989
Copy link
Owner

Please follow the installation instructions http://hangzh.com/PyTorch-Encoding/notes/compile.html

@zhanghang1989
Copy link
Owner

Let me know if you still have the problem. Thanks!

@Tangzy7
Copy link

Tangzy7 commented Oct 26, 2017

@zhanghang1989 I have the same problem

@zhanghang1989
Copy link
Owner

zhanghang1989 commented Oct 26, 2017

First make sure you have installed PyTorch to your $HOME directory http://hangzh.com/PyTorch-Encoding/notes/compile.html#install-pytorch-encoding

Can you attach the entire terminal output, if you still have troubles. Thanks!

@david2021
Copy link

I have the same issue

@david2021
Copy link

Actually, before this it has some errors as below:
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_00006bd3_00000000-7_thc_encoding.cpp1.ii".
Compilation terminated.
CMake Error at ENCODING_generated_thc_encoding.cu.o.cmake:264 (message):
Error generating file
/home/lin1.sun/PyTorch-Encoding/encoding/build/CMakeFiles/ENCODING.dir/kernel/./ENCODING_generated_thc_encoding.cu.o

make[2]: *** [CMakeFiles/ENCODING.dir/kernel/./ENCODING_generated_thc_encoding.cu.o] Error 1
make[1]: *** [CMakeFiles/ENCODING.dir/all] Error 2
make: *** [all] Error 2

@zhanghang1989
Copy link
Owner

Can you attach the entire terminal outputs, so that I can locate the error. Thanks!

@zhanghang1989
Copy link
Owner

See the new commit c92a7c2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants