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

fatal error: THC/THC.h: No such file or directory #407

Open
archenroot opened this issue Jan 4, 2017 · 1 comment
Open

fatal error: THC/THC.h: No such file or directory #407

archenroot opened this issue Jan 4, 2017 · 1 comment

Comments

@archenroot
Copy link

I am on Gentoo GCC 6.2.0 r1 with dev-util/nvidia-cuda-toolkit-8.0.44.

While trying to run Gentoo ebuild for torch-cunn master branch I experience:
lib/THCUNN/CMakeFiles/THCUNN.dir/build.make:84: recipe for target 'lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_BatchNormalization.cu.o' failed make[2]: *** [lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_BatchNormalization.cu.o] Error 1 In file included from /tmp/portage/sci-libs/torch-cunn-9999/work/torch-cunn-9999/lib/THCUNN/VolumetricReplicationPadding.cu:1:0: /tmp/portage/sci-libs/torch-cunn-9999/work/torch-cunn-9999/lib/THCUNN/THCUNN.h:1:21: fatal error: THC/THC.h: No such file or directory #include <THC/THC.h> ^ compilation terminated.

It could be potentially issue with my ebuild package file while not getting all dependencies in place. What is this THC.h file?

Thanks.

@archenroot
Copy link
Author

Ahh, I realized I will need first CUTORCH installed where this file is included.. just trying out...

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

No branches or pull requests

1 participant