Giter Site home page Giter Site logo

Comments (4)

shuyuan-liu avatar shuyuan-liu commented on August 26, 2024 1

Thanks @navnavnav for the quick fix! The develop branch compiles fine now for me with GCC 12.

Oddly, I don't get this error when compiling with G++10.

I tried GCC 10, same result as yours. As you said it might have become stricter; not sure when or why though.

Are you using CMake to trigger the build?

Yes I used the commands given by the main README, although I changed Debug to Release.

may I ask why you're building from source?

Oh I didn't realise there were binary packages! I first searched the AUR and found bloom-git, which builds from source, and thought that was the only thing available. I tried your package just now and it worked, thanks!

from bloom.

navnavnav avatar navnavnav commented on August 26, 2024

Hi @shuyuan-liu

Thanks for reporting this.

Yes, the <optional> header should have been included there. I will fix this in the next release. In the meantime, you can just include it yourself to get the compilation to work.

Oddly, I don't get this error when compiling with G++10. Are you using CMake to trigger the build?

Also, may I ask why you're building from source? I distribute an Arch package via the Download page on the Bloom website: https://bloom.oscillate.io/download. Have you been having issues with this package?

from bloom.

navnavnav avatar navnavnav commented on August 26, 2024

I've just pushed the changes to correct the missing header includes to the develop branch. If you build from that branch, those errors should no longer occur.

from bloom.

navnavnav avatar navnavnav commented on August 26, 2024

BTW I just compiled Bloom with G++ 12.2.1 (on the develop branch) for the first time - it worked fine with those header include changes. I was also able to replicate the issue you had when building from master - so looks like G++ has become more strict with header includes, since v10.

from bloom.

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.