-
Notifications
You must be signed in to change notification settings - Fork 115
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
Project is not compiling with the defaults settings on linux #32
Comments
Good catch, thanks! I will push this change very soon! |
mikebmcl
added a commit
that referenced
this issue
Jul 3, 2016
… correct font size. Minor change to the vcxproj to allow for a VS 2015 code map. Edited entrypoint.cpp to show the canonical "hello world" example. Edited the run-configure-with-* for GCC to use "-std=c++14" instead of "-std=c++1y" in response to issue #32 (note: not yet tested by me).
I just tested the fix I implemented (it was c++1y to c++14, btw) using GCC 5 on OpenSUSE and it builds and runs correctly. I'm closing the issue but please let me know if the fix doesn't work for you (and if so what distro you are using and what version of GCC and libstdc++) so I can investigate further. Thank you again! |
cristianadam
pushed a commit
to cristianadam/io2d
that referenced
this issue
Sep 19, 2016
… correct font size. Minor change to the vcxproj to allow for a VS 2015 code map. Edited entrypoint.cpp to show the canonical "hello world" example. Edited the run-configure-with-* for GCC to use "-std=c++14" instead of "-std=c++1y" in response to issue cpp-io2d#32 (note: not yet tested by me).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default configuration uses c++11 with gcc (but c++14 with clang), making std::make_unique impossible to compile. Running
grep -rl 'c++11' ./ | xargs sed -i 's/c++11/c++14/g'
solves the problem.The text was updated successfully, but these errors were encountered: