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

Problem installing #1

Open
lds2 opened this issue Nov 8, 2017 · 2 comments
Open

Problem installing #1

lds2 opened this issue Nov 8, 2017 · 2 comments

Comments

@lds2
Copy link

lds2 commented Nov 8, 2017

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.

@drufat
Copy link
Owner

drufat commented Nov 8, 2017

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.

@Wilson-De-Oliveira
Copy link

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?

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

3 participants