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

CMake Error:install TARGETS given no LIBRARY DESTINATION for shared library target #2

Closed
josh-zhu opened this issue Aug 12, 2017 · 4 comments
Labels

Comments

@josh-zhu
Copy link

I try to install this package,but get the following error:

-- TORCH_BUILD_DIR: /usr/local/lib/python2.7/dist-packages/torch/lib
-- Autodetected CUDA architecture(s): 3.0
-- Torch_INSTALL_INCLUDE:/usr/local/lib/python2.7/dist-packages/torch/lib/include/usr/local/lib/python2.7/dist-packages/torch/lib/include/TH/usr/local/lib/python2.7/dist-packages/torch/lib/include/THC/home/ubuntu/pytorch/torch/lib/THC
CMake Error at CMakeLists.txt:78 (INSTALL):
install TARGETS given no LIBRARY DESTINATION for shared library target
"ENCODING".

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/soushi/reg/DeepTEN/encoding/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/soushi/reg/DeepTEN/encoding/build/CMakeFiles/CMakeError.log".
make: *** No rule to make target 'install'. Stop.
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extra_compile_args'
warnings.warn(msg)

@zhanghang1989
Copy link
Owner

zhanghang1989 commented Aug 13, 2017

Hi, have you install PyTorch from source at your $HOME directory?
https://github.com/zhanghang1989/PyTorch-Encoding-Layer#installation

@josh-zhu
Copy link
Author

O, I installed it on other place

@zhanghang1989
Copy link
Owner

@josh-zhu
Copy link
Author

thx, it works now

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

No branches or pull requests

2 participants