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 error #15

Open
zplizzi opened this issue Nov 18, 2019 · 1 comment
Open

Build error #15

zplizzi opened this issue Nov 18, 2019 · 1 comment

Comments

@zplizzi
Copy link

zplizzi commented Nov 18, 2019

I am trying to install as recommended with

$ git clone --recursive https://github.com/NVlabs/cule
$ python setup.py install

I have Ubuntu 16.04, GCC 5.4.0, and CUDA 10.0.

But get a huge amount of build errors, mainly in pybind. One error seemed to suggest that a -std=c++11 or -std=gnu++11 flag was missing. Full output here.

Output of nvcc --version:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

Output of gcc --version:

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
@zplizzi
Copy link
Author

zplizzi commented Nov 18, 2019

Adding -std=c++11 to cxx_flags and nvcc_flags in setup.py seems to have solved that problem. Took like an hour to build, though.

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