Giter VIP home page Giter VIP logo

Comments (9)

jmcnamara avatar jmcnamara commented on May 12, 2024

Hi Sanhue,

There isn't very much information to go on here.

Some questions:

  1. What is ZipArchive? I presume this: https://cocoapods.org/pods/ZipArchive
  2. What are the steps to reproduce this? Please give a complete example.

I took a quick look at the ZipArchive source and the version of ioapi.h isn't wrapped in a #ifndef _ZLIBIOAPI64_H sentinel. 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

from libxlsxwriter.

sanhue0302 avatar sanhue0302 commented on May 12, 2024

a simple way to reproduce this issue is:

  • create a new project
  • add a podfile with
  pod 'ZipArchive'
  pod 'libxlsxwriter'
  • pod update
  • build the workspace

from libxlsxwriter.

sanhue0302 avatar sanhue0302 commented on May 12, 2024

yes, i think ZipArchive and libxlsxwriter use different version of minzip

any idea to solve the problem?

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on May 12, 2024

yes, i think ZipArchive and libxlsxwriter use different version of min zip . any idea to solve the problem?

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.

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on May 12, 2024

Can you also post a full error log.

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on May 12, 2024

P.S. An error log when using SSArchiveZip.

from libxlsxwriter.

sanhue0302 avatar sanhue0302 commented on May 12, 2024
/Users/sanhue/Desktop/test/Pods/libxlsxwriter/third_party/minizip/ioapi.c:62:29:
error:use of undeclared identifier 'MAXU32'

        if ((tell_uLong) == MAXU32)

my test sample:
test.zip

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on May 12, 2024

@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.

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on May 12, 2024

Closing. Can't fix.

from libxlsxwriter.

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.