Skip to content

Install fails to find "FindTorch.cmake"? #58

@vpzomtrrfrt

Description

@vpzomtrrfrt

Full Log: https://gist.github.com/vpzomtrrfrt/5ab2313ff07a8cf2b3ba2eaba830c7ac

install.sh is failing for me.

Probably this error:

CMake Error at CMakeLists.txt:4 (FIND_PACKAGE):
  By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Torch", but
  CMake did not find one.

  Could not find a package configuration file provided by "Torch" with any of
  the following names:

    TorchConfig.cmake
    torch-config.cmake

  Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
  "Torch_DIR" to a directory containing one of the above files.  If "Torch"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_sys-1.1-0-5977/sys/build/CMakeFiles/CMakeOutput.log".

Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/sys-1.1-0.src.rock - Build error: Failed building.
Updating manifest for /home/colin/torch-cl/install/lib/luarocks/rocks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions