-
Notifications
You must be signed in to change notification settings - Fork 193
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
Compilation failure on old system #356
Comments
Update: The files that are failing to compile is mailbox_safe.cpp and mailbox.cpp. If I manually add the -std=c++11 flag, then it will compile. I can see that autoconf tools are being used and that there are tests for "gnu11" to set the -std flag so they must be failing for some reason. |
Found a solution. I had to create an environment variable CXXFLAGS and set it to -std=c++11.
I don't know if this is considered a "good" solution but it works for me. |
Same issue,thanks for the solution |
I'm trying to compile on an old Centos7 machine. All I've done is add the zmq = "0.10.0" dependency to my Cargo.toml file and rebuild and zmq-sys fails with this error:
So my question is where do I add that c++ compiler option?
The text was updated successfully, but these errors were encountered: