-
Notifications
You must be signed in to change notification settings - Fork 129
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
C++11 is not enabled with Kinetic #89
Comments
The tests for kinetic will not be run by travis directly, but in a Xenial-based Docker container..
|
You are using moveit, so better have a look at moveit/moveit#289 |
I have installed gcc 6.2 before launching the build and it still fails; https://travis-ci.org/InstitutMaupertuis/simple_rviz_plugin/builds/188198224 I need Did anyone solve this issue? Help would be appreciated. |
As pointed out above, the tests for kinetic are run in a separate Docker environment. You cannot install packages into it.
Ah, now I understand, what's wrong ^^ |
Ah, looks like my brain didn't want to read that 😄 I'll try to install gcc-6 within the docker or use another docker image if this is possible. I'll report my test results here. Deleting the directory would be a temporary fix, this really isn't a "solution" ! |
You would have to fork industrial_ci and have to add it to the Dockerfile.
The solution is to fix |
I fixed Closing as the issue is not related to |
I'm migrating some packages from Indigo to Kinetic and Travis fails because of missing C++11 features.
Example pull request:
https://github.com/InstitutMaupertuis/simple_rviz_plugin/pull/3
Errors in the build:
https://travis-ci.org/InstitutMaupertuis/simple_rviz_plugin/jobs/187695811#L6273
The package compiles fine on my machine because I'm using gcc 6 which enables C++14 by default (https://gcc.gnu.org/gcc-6/changes.html).
The default gcc version on Travis is gcc 4.8.4 so the build fails. I think that
industrial_ci
should upgrade the compiler to gcc 6 whenever kinetic (or later versions of ROS) is used.REP 3 states that with Kinetic C+11 must be available, I think we should enable it by default.
The text was updated successfully, but these errors were encountered: