Giter Club home page Giter Club logo

Comments (8)

sethloco avatar sethloco commented on June 6, 2024

Hello,

The project provides prebuilt shared libraries for Windows/Linux/Mac as stated in the project description.
However, others have contributed to the project to ensure it works for android/ios and I will continue to accept pull-requests for those contexts.

I'm assuming you built the native shared libraries for brotli on ios? If not, then that is the issue here.

from es_compression.

fuyunmanbu avatar fuyunmanbu commented on June 6, 2024

Hello,
Use blob_builder operation failed and the native shared library could not be established. What is wrong with my operation?
Try mkdir build && cd build, and then cmake.., make. The native shared library cannot be created. Do you have detailed steps? My device is Mac, MacOS Monterey 12.3. I'm not very skilled in this. Sorry.

from es_compression.

sethloco avatar sethloco commented on June 6, 2024

You need to provide the complete output of your cmake build command and your make command for me to try and help identify your issue.

Btw, I’m not sure how to build on ios. A contributor provided what was necessary to build on Android in the examples section.

Also, the native mac library that ships with es_compression is built in Intel/Mac, not M1/Mac

from es_compression.

fuyunmanbu avatar fuyunmanbu commented on June 6, 2024

What is included in building a local shared library and how should it be used? I can only create dylib and .a files through the zstd library, not through blob_builder

from es_compression.

fuyunmanbu avatar fuyunmanbu commented on June 6, 2024

Do you plan to make it support more platforms?

from es_compression.

sethloco avatar sethloco commented on June 6, 2024

Hello,

Background:
This project was created with 2 goals in mind:

  1. General framework for writing compressors (native or pure dart)
  2. Pre-built FFI implementations for Windows/Linux/Mac (Intel) as my development platforms are server-side.

Project Lifecycle:

  • Every time a new version of brotli, lz4 and zstd come out, I rebuild this project with the updated prebuilt shared libraries that are distributed with this package using the instructions at the top of the CMakeLists.txt file in the blob_builder.
  • I accept pull requests and fixes for those interested in running FFI implementations on Android, as seen in pr #22 and pr #29
  • I accept pull requests and fixes for those interested in running FFI implementations on ios, as seen in pr #33 which was in the lastest release.
  • If anyone wants to create pure dart implementations of lz4, brotli, zstd...I would also accept those.

"Do you plan to make it support more platforms?"

Mobile
Based on the pull requests I described above...I can only assume that this package runs on Android and ios. It just sounds like it requires a specific way of building the shared libraries that you are not able to work out just yet. I know Android works for sure as I've done that in an emulator before. And based on pr #33, sounds like it works for ios too.

Web
This requires pure dart implementations. I think it's interesting but don't have the time to do this work. As stated, I am happy to accept contributions for those.

"What is included in building a local shared library and how should it be used?"
These instructions I use to build on Win/Linux/Mac are at the top of the CMakeLists.txt

from es_compression.

fuyunmanbu avatar fuyunmanbu commented on June 6, 2024

Thank you for taking such a long time to discuss this problem

from es_compression.

sethloco avatar sethloco commented on June 6, 2024

You're very welcome

from es_compression.

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.