mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #55] Problem using libxlsxwriter and ZipArchive together #47
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sanhue0302 on GitHub (Jun 29, 2016).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/55
Originally assigned to: @jmcnamara on GitHub.
while i use pod libxlsxwriter and ZipArchive together
build would failed with "Use of undeclared identifier 'MAXU32'"
i think that because pod will misunderstand include ioapi.h at Ziparchive rather than libxlsxwriter
any idea to use these two together?
@jmcnamara commented on GitHub (Jun 29, 2016):
Hi Sanhue,
There isn't very much information to go on here.
Some questions:
I took a quick look at the ZipArchive source and the version of ioapi.h isn't wrapped in a
#ifndef _ZLIBIOAPI64_Hsentinel. Or perhaps it isn't a recent version from the zlib master branch. You could try replacing the minizip parts in ZipArchive with the ones from zlib master or libxlsxwriter.John
@sanhue0302 commented on GitHub (Jun 29, 2016):
a simple way to reproduce this issue is:
@sanhue0302 commented on GitHub (Jun 29, 2016):
yes, i think ZipArchive and libxlsxwriter use different version of minzip
any idea to solve the problem?
@jmcnamara commented on GitHub (Jun 29, 2016):
Just the idea that I suggested above. To replace the minizip version in ZipArchive with the one from zlib master (or the 1.28 tarball) or the one from libxlsxwriter.
@jmcnamara commented on GitHub (Jun 29, 2016):
Can you also post a full error log.
@jmcnamara commented on GitHub (Jun 29, 2016):
P.S. An error log when using SSArchiveZip.
@sanhue0302 commented on GitHub (Jun 29, 2016):
my test sample:
test.zip
@jmcnamara commented on GitHub (Jul 2, 2016):
@lrossi Any chance you could take a look at this issue if you get some time. Basically there is some sort of incompatibility between libxlsxwriter and SSArchiveZip with installed from pods since they both include a complete copy of minizip from zlib.
I don't know enough about either Xcode or Cocoapods to help the OP resolve their issue.
@jmcnamara commented on GitHub (Dec 20, 2016):
Closing. Can't fix.