You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried installing pybindcpp using pip install and received the following error message:
In file included from pybindcpp/dispatch.cpp:4:
pybindcpp/include/pybindcpp/module_cpp_imp.h:6:10: fatal error: 'type_traits' file not found
#include <type_traits>
Thanks.
The text was updated successfully, but these errors were encountered:
It may be because you are not using a recent enough C++ compiler. It needs to support type traits.
Bare in mind that this is still pre-alpha software.
At the moment I am rewriting it to minimize the dependence on the CPython API, and increase the dependence on the pure python ctypes library. The next version may not require type_traits at all. Also I am planning to add more examples and unit tests.
So I would recommend you wait a little bit before using it for anything serious.
I had the same issue with the same error message. I use MacOS Sierra 10.12.6 and have just (this week) updated Xcode which contains all of C, C++ compilers and libraries for the MacOS. So what version of the C++ compiler one needs to run the package?
Hi
I tried installing pybindcpp using pip install and received the following error message:
In file included from pybindcpp/dispatch.cpp:4:
pybindcpp/include/pybindcpp/module_cpp_imp.h:6:10: fatal error: 'type_traits' file not found
#include <type_traits>
Thanks.
The text was updated successfully, but these errors were encountered: