Comments (5)
SDL2_image is one such library. When statically-compiled (eg when using
MXE/MinGW), it usually results in link errors.
Original comment by [email protected]
on 28 Sep 2013 at 11:16
from miniz.
Ok - That's a good idea, and I'll get this or something like it into the next
release (v1.16).
Original comment by [email protected]
on 13 Oct 2013 at 6:06
- Changed state: Accepted
from miniz.
I ported to c/h file to avoid duplicate symbol linking errors. Not sure it is
the best approach, but it worked in my case and you can find notes about the
issues I ran into at
https://github.com/mapnik/mapnik/blob/master/include/mapnik/miniz_png.hpp#L34-L4
1
Original comment by [email protected]
on 14 Oct 2013 at 6:45
from miniz.
+1 for separate .c/.h files. When building a library, this would allow miniz to
inherit any library-wide build settings for symbol visibility, rather than
defining its own. It would also work in some odd situations where including a
.c file doesn't work (e.g. when building with qmake —
https://bugreports.qt-project.org/browse/QTBUG-24906). Right now I'm working
around this with `MINIZ_HEADER_FILE_ONLY`.
Original comment by [email protected]
on 28 Oct 2013 at 10:30
from miniz.
When you implement building a shared library, please don't forget to version
the library properly. (E.g. the feature is called SONAME in ELF executable
format.) Proper versioning ensures that if the library changes ABI,
applications built against older incompatible library version get notified at
start.
Original comment by [email protected]
on 16 Oct 2014 at 2:06
from miniz.
Related Issues (20)
- PATCH: Add allocation and free functions to allocate compressor/decompressor structures HOT 2
- PATCH: Undefined symbols for 64-bit variants of stdio functions on Mac OS X
- Compiler warnings on strict aliasing HOT 1
- enumeral and non-enumeral type in conditional expression
- Windows "Extract All..." functionality doesn't like tiny files in zip files created by miniz
- Suggestion: Filter parameter for tdefl_write_image_to_png_file_in_memory()
- [PATCH] supports armcc
- Support for reading archive comments
- mz_zip_writer_add_file does not support directory
- Remove archived file from central directory
- Wrong number of files returned for more that 65535 entries HOT 1
- Can not be used as drop-in replacement for zlib with libpng
- Multiple linker errors in VisualStudio HOT 1
- Extract all files from zip without knowing their names.
- Compress a folder
- Package Pre-Built Binaries Separately
- API to delete a file from zip
- Has anyone got it working on android devices (arm based platforms) HOT 5
- Add support for zips with extra data embedded at the front
- Example 6 completely broken 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 miniz.