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

Package does not build unless C++11 standard defined #21

Open
tworkool opened this issue May 25, 2024 · 0 comments
Open

Package does not build unless C++11 standard defined #21

tworkool opened this issue May 25, 2024 · 0 comments

Comments

@tworkool
Copy link

I could not build the package, because I got many errors while running the setup. Once I added the following setup it worked:

In CmakeLists:
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

In setup.py:
add '-std=c++11' to extra_compile_args

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