Code Monkey home page Code Monkey logo

Comments (5)

Kurainu avatar Kurainu commented on August 23, 2024 1

@Morilli i tested your change on my Ubuntu box but it doesnt worked because it either dont found the bearssl directory (because linux is case sensitive you know) or it doesnt recognized parameters.

And this Error ocurrs:
Unbenannt

I Got it to compile Successfully on 10 and 9 and 8 (Version 7 which i have also installed errors out) after i modified the following points

  • if you rename the folder BearSSL -> bearssl it can find that folder
  • changed in the Makefile the line CONF := unix -> CONF := Unix

I you could it implement it would be great 👍

from manifestdownloader.

Morilli avatar Morilli commented on August 23, 2024

Yeah that one is caused due to me using and compiling with gcc 10 while you are using gcc 9. I compiled all *.a files with -flto which makes them larger, but improves the final binary size.

Apparently though, this makes the resulting files compiler-dependant, and they won't work with a different version anymore (at least not the version 10 ones with gcc 9).

I could either compile the .a files without the flto flag, or include the complete sources to have everyone compile them themselves; or maybe there is a way to make the files compiler-independant that I don't know about.

For the time being you can either use a gcc 10 version or compile the provided .a files yourself from their original sources, both of which can be annoying. I'll try and figure out whether there is something better I can do to make this work for everyone.

from manifestdownloader.

Kurainu avatar Kurainu commented on August 23, 2024

So I managed to compile the ManifestDownloader by compiling my own .a files for zstd and bearssl. And i also can compile the ManifestDownloader now without a problem when i switch between gcc 10, 9 and 8 (with sudo update-alternatives --config gcc)

from manifestdownloader.

Morilli avatar Morilli commented on August 23, 2024

I'm glad this worked for you now, but obviously this wasn't the best solution.

I've pushed some changes, including source code for all third-party libraries that I use, and added code in the makefile to build them automatically instead of distributing the built (and system-dependent) archive files.

I'd appreciate if you could test this on your end; it'd be nice to know whether it actually works without modifications on gcc 9 or lower now (it should!).

from manifestdownloader.

Morilli avatar Morilli commented on August 23, 2024

Okay, thanks for that information! I didn't even notice any issues with that because I just tested on my NTFS filesystem. I didn't wanna rename the BearSSL folder so I've just fixed all references to it in my code; compilation should now work perfectly ™️ on both linux and windows filesystems.

from manifestdownloader.

Related Issues (10)

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.