Comments (8)
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.
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.
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.
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.
Do you plan to make it support more platforms?
from es_compression.
Hello,
Background:
This project was created with 2 goals in mind:
- General framework for writing compressors (native or pure dart)
- 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.
Thank you for taking such a long time to discuss this problem
from es_compression.
You're very welcome
from es_compression.
Related Issues (20)
- Hello, I have already packed so file HOT 1
- Excuse me, does not support the flutter ios application? HOT 4
- Failed to load dynamic library 'esbrotli-android64.so': dlopen failed: library "esbrotli-android64.so not found HOT 3
- how to decompress data from websocket in streambuilder? HOT 7
- Building lz4 library for iOS (flutter) HOT 2
- .so files not found on Android release mode HOT 3
- gzip for flutter ? HOT 1
- lz4 block format support? HOT 1
- how to use it on the web platform? HOT 1
- Invalid argument(s): Failed to lookup symbol 'LZ4_versionNumber': dlsym(RTLD_DEFAULT, LZ4_versionNumber): symbol not found HOT 1
- Do you have any plan to support Lempel–Ziv–Welch (LZW) algorithm? HOT 1
- How to add multiple files at once to lz when saving to file? HOT 1
- unable to load library in android (flutter). HOT 1
- Why your library can't run in flutter ? HOT 3
- type 'Null' is not a subtype of type 'String' in type cast (version 2.0.9) HOT 3
- Are there have some examples about ios immplements? HOT 1
- zip with password HOT 1
- lib libeslz4-android64.so HOT 2
- Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libesbrotli-android64.so': dlopen failed: library "libesbrotli-android64.so" not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es_compression.