-
Notifications
You must be signed in to change notification settings - Fork 124
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 error - Ubuntu 16.04 #594
Comments
Can you run |
Here is the result for make VERBOSE=1 It doesn't seem like it's compiling with -std=c++11. Should I add the flag myself?
|
I installed Ubuntu 16.04 on a virtual machine to test this out. I used g++ version 5.4.0 and libjsoncpp-dev version 1.7.2—both from the Ubuntu repositories—and it compiled successfully for me (without the Which versions of |
gcc version 5.4.0 20160609 |
Fwiw, Travis ci is now doing the same thing. (There is a submodule of vrpn but we don't use it, iirc) Assuming this is an API break in jsoncpp (or a bug there) - did they go to version 2? Pretty sure 0.y.z and 1.x worked last time I checked. |
@rpavlik That's odd. Travis CI is building with jsoncpp version 1.8.4. When I build within my VM, I used that same branch and everything worked okay. My guess is that the master branch of jsoncpp is using newer C++ features that gcc 5.4.0 doesn't yet support. @BenoitGeslain Instead of using the master branch of jsoncpp, try checking out and building the 1.8.4 branch and building OSVR against that. |
I'm getting this error while compiling OSVR from source following this guide.
On make, I get this:
OS: Ubuntu 16.04
cmake: version 3.13.0-rc3
Compiler: GNU 5.4.0
The text was updated successfully, but these errors were encountered: