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

Compiler errors; Needs to be compiled with ISO C++ 2011 standard #1

Open
alinabee opened this issue Mar 20, 2018 · 0 comments
Open

Comments

@alinabee
Copy link

I wasn't able to compile because of the below error:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Fixed by adding the following to CMakeLists.txt:

set (CMAKE_CXX_STANDARD 11)
target_link_libraries(hole_fixer pthread)
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