Giter VIP home page Giter VIP logo

Comments (6)

prashanthr05 avatar prashanthr05 commented on June 12, 2024 1

I updated the macOS to Catalina 10.15. Still the gcc version was only 8. I upgraded the gcc. The version was bumped to 10.0.
So apparently, this version of gcc fully supports C++17 standards. And I was able to compile without any errors.

I will close this issue.

from bipedal-locomotion-framework.

traversaro avatar traversaro commented on June 12, 2024

As in GitHub actions we are testing only macOS 10.15 (see https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources), should we just update the macOS machine and support only macOS >= 10.15 ?

from bipedal-locomotion-framework.

S-Dafarra avatar S-Dafarra commented on June 12, 2024

A quick test could be to change https://github.com/dic-iit/bipedal-locomotion-framework/blob/26f45d714097ad3fe299025122cae1864cbef497/src/GenericContainer/tests/GenericContainerTestPlusYarp.cpp#L35 to

GenericContainer::Vector<double> container(iDynTree::make_span(vector)); 

but if we are able to match the machine we are using in the Actions, that would be even better 🤔

from bipedal-locomotion-framework.

prashanthr05 avatar prashanthr05 commented on June 12, 2024

As in GitHub actions we are testing only macOS 10.15 (see https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources), should we just update the macOS machine and support only macOS >= 10.15 ?

I am running an update for that.

However, looks like C++17 is not being enforced by the gcc version that was existing. I will see if there is a bump in the gcc version after the upgrade and see if it allows the use of C++17.

from bipedal-locomotion-framework.

traversaro avatar traversaro commented on June 12, 2024

Interesting: I would expect that on macOS with XCode by default clang is used, not gcc.

from bipedal-locomotion-framework.

prashanthr05 avatar prashanthr05 commented on June 12, 2024

Interesting: I would expect that on macOS with XCode by default clang is used, not gcc.

Uhm, not sure. But I was compiling it from the terminal.

from bipedal-locomotion-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.