Giter VIP home page Giter VIP logo

Comments (9)

mmatyas avatar mmatyas commented on May 29, 2024 1

I've managed to make it work only with C++11, using Boost.Regex on 14.04. Unfortunately Boost also causes the generated AppImages to be more than twice as big, around 20 MB. It seems to depend on the ICU Unicode libraries, that are almost 30 MB uncompressed on their own.

from openblok.

mmatyas avatar mmatyas commented on May 29, 2024 1

Ok, patches merged, and I'll likely set up a continuous branch later as well. Will keep you updated.

from openblok.

mmatyas avatar mmatyas commented on May 29, 2024 1

Ok, there's now a continuous release, updated on every commit.

from openblok.

probonopd avatar probonopd commented on May 29, 2024 1

Thank you, added to AppImage/appimage.github.io@0cd5f42.

Even with update information, cool!

from openblok.

mmatyas avatar mmatyas commented on May 29, 2024

OpenBlok uses some C++11/14 features, which were first implemented in GCC 4.9.0 (libstdc++ 3.4.20), eg. std::regex and std::make_unique. Some functions work differently (eg simply return false in 4.8), or have a different syntax between the two versions. I'm not sure if it'd be possible making it work with earlier libstdc++, without rewriting some parts of the code or adding new dependencies.

On the other hand I wonder if creating a static build would work? That is, building on Ubuntu 14.04, but using GCC 4.9 from the Ubuntu dev PPA.

from openblok.

mmatyas avatar mmatyas commented on May 29, 2024

Hm no, static build probably won't work either...

from openblok.

probonopd avatar probonopd commented on May 29, 2024

Are these C++11/14 features really needed?

from openblok.

mmatyas avatar mmatyas commented on May 29, 2024

Yes, but with some workaround I think I can add 4.8 compatibility. The main problem is the regex library, but I can add a wrapper layer that'd use eg. Boost.Regex on 4.8. I use some minor C++14 features like std::make_unique, but likely those can be replaced as well.

from openblok.

probonopd avatar probonopd commented on May 29, 2024

I think that's an acceptable price to pay for now.

from openblok.

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.