Skip to content

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

Open

Description

@archenroot

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.

Activity

  1. archenroot commented on Jan 4, 2017

    @archenroot
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions