GithubHelp home page GithubHelp logo

Comments (7)

WetzelVictor avatar WetzelVictor commented on May 31, 2024 1

Someone also answered on my StackOverflow question

The cxx_std_11 compiler meta-feature is not available in your version of CMake. it was introduced in 3.8, so this would explain the error, CMake 3.8 release notes.

So either the CMakeLists.txt should request a higher Cmake version (3.8 which is not delivered directly in stock Ubuntu 16.04 LTS distros for instance), or we retrograde to the mentionned commit in order to have backward compatibility with older versions of Cmake..

from pyphs.

afalaize avatar afalaize commented on May 31, 2024

Thank you.
This is a retrograde change compared to this commit. I have not a clear idea on the rational underlying this change. I will ask the author to clarify.

from pyphs.

FabricioS avatar FabricioS commented on May 31, 2024

Thanks Antoine for the quick answer.
FYI, Eigen is C++98 compliant. Moreover, it is a header only library, it is theoretically not concerned by the way the standard is set.

from pyphs.

afalaize avatar afalaize commented on May 31, 2024

Yes. The need for cxx1 spec is related to the use of "dynamic initialization" of eigen matrices in the c++ code generated by PyPHS (see here). This is somehow related to this stack overflow answer. This is a choice of implementation which, as everything in PyPHS, is not a definitive choice. Any proposal on this point is welcome.
I will consider the merge of PR #100 this week-end.

from pyphs.

FabricioS avatar FabricioS commented on May 31, 2024

Thanks Antoine for considering the pull request.
There is no trouble per se with the use of C++11 standard, just with the way to specify it to cmake (and to the compiler) or to ensure cmake has the requested feature.

The remaining question is whether there was a rationale for Remy to suggest that modification in his commit

from pyphs.

WetzelVictor avatar WetzelVictor commented on May 31, 2024

Issue solved with PR #101 and #104

from pyphs.

afalaize avatar afalaize commented on May 31, 2024

We will close this issue when passed into master branch

from pyphs.

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.