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

Build broken with master? #345

Open
sidharthms opened this issue Mar 2, 2017 · 1 comment
Open

Build broken with master? #345

sidharthms opened this issue Mar 2, 2017 · 1 comment

Comments

@sidharthms
Copy link
Contributor

Here's the error log:

-- Found Torch7 in ...
-- CUDNN_INSTALL: Installing CUDNN 5.1, lib:.../torch/install/lib, inc:.../torch/install/include, bin:.../torch/install/bin
CMake Error at cmake/FindCUDNN.cmake:97 (get_filename_component):
  get_filename_component unknown component DIRECTORY
Call Stack (most recent call first):
  CMakeLists.txt:17 (CUDNN_INSTALL)


-- Found CUDNN: .../torch/install/lib/libcudnn.so.5 (found suitable exact version "5") 
-- Configuring incomplete, errors occurred!

Error: Build error: Failed building.

However, I was able to get it to install by reverting to commit 93d17a1

@ngimel
Copy link
Collaborator

ngimel commented Mar 2, 2017

Looks like it's breaking on DIRECTORY, perhaps your CMake is <= 2.8.11?
https://cmake.org/cmake/help/v3.0/command/get_filename_component.html
@shivak, can you please fix your commit so that it does not break for older CMakes?

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

2 participants