-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error installing nel #6
Comments
Are you using the '-stdlib=libc++' flag in api/python/setup.py? https://stackoverflow.com/questions/11972603/cmake-clang-and-cv11-on-os-x-10-8 |
Nope, I use '-std=c++11' flag only. If I include '-stdlib=libc++' flag, it gives the error FYI, my system is macOS Mojave OS10.14, and the most recent xcode-select |
Hi, I tried to install the entire xcode 10.0 and make sure the path for xcode-select is correct. However, it seems that by '-std=c++11' flag only, it still could not find the correct path for files like 'thread' and gives the same error as above |
Hi, I got the error while install nel on Mac. May I know what went wrong and if there is a way to solve it? Thanks
building 'nel.simulator_c' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I../.. -I../../deps -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c nel/simulator.cpp -o build/temp.macosx-10.6-intel-2.7/nel/simulator.o -std=c++11 -Wall -Wpedantic -Ofast -DNDEBUG -fno-stack-protector -mtune=native -march=native
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the
command line to use the libc++ standard library instead
[-Wstdlibcxx-not-found]
In file included from nel/simulator.cpp:1:
In file included from /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:534:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register PyObject obj, / Object */
^~~~~~~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:553:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register PyObject obj / Object */
^~~~~~~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:575:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register const wchar_t w, / wchar_t buffer */
^~~~~~~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:593:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register wchar_t w, / wchar_t buffer */
^~~~~~~~~
In file included from nel/simulator.cpp:1:
In file included from /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:94:
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:173:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register PyObject obj, / string or Unicode object */
^~~~~~~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:174:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register char *s, / pointer to buffer variable */
^~~~~~~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:175:5: warning:
'register' storage class specifier is deprecated and incompatible with
C++17 [-Wdeprecated-register]
register Py_ssize_t len / pointer to length variable or NULL
^~~~~~~~~
nel/simulator.cpp:6:10: fatal error: 'thread' file not found
#include
^~~~~~~~
8 warnings and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
The text was updated successfully, but these errors were encountered: