Questions tagged [libzip]

libzip is a widely used open source library for creating, writing and processing zip files

82 questions
0
votes
2 answers

How to build libzip library?

I'm having problems when trying to build it on Windows 10 x64. My environ is MingGW 3.20 CMake 3.3.0 libzip-1.0.1 What I did was download the project in libzip site, open to CLion IDE (last version) and try to compile. The entire build process…
alex
  • 104
  • 4
  • 10
0
votes
1 answer

libzip can't close file

I'm currently using libzip in a C++11 program to extract the contents of a compressed file and store them into a data structure that will also hold metadata related to the file. I'm using the current method to explode the zip file and get the…
ruipacheco
  • 15,025
  • 19
  • 82
  • 138
0
votes
3 answers

Extracting data from compressed file returns random data

I'm using libzip to extract the content of each file in a zip into my own data structure, a C++ immutable POD. The problem is that every time I extract the content of a file, I get some random data with tacked on to the end. Here's my code: void…
ruipacheco
  • 15,025
  • 19
  • 82
  • 138
0
votes
1 answer

libzip Windows compilation for libraries

I need libzip.lib .h to use libzip in other projects. So I followed libzip with Visual Studio 2010 and all is fine until step 11. In fact, I open C:\devel\libzip-0.10.1\build\libzip.sln, execute "Generate the solution" and I get the following errors…
SteveTJS
  • 635
  • 17
  • 32
-1
votes
1 answer

Trouble opening zip files with libzip

I'm trying to open a zip archive in C++ using LibZip. Because I didn't find any working tutorials on that, I looked up the documentation and came to this code: int err = 0; zip_t *z = zip_open("file.zip", 0, &err); zip_stat_t…
user10134426
-1
votes
1 answer

Upgrading Libzip in MAMP Windows 10

How can I upgrade to the latest version of libzip on a Windows 10 machine running MAMP 4.0? I haven't a clue where to start and have trawled the web for advice. Compiling means little to me as I don't know where to begin. I'm trying to use…
Lee Harding
  • 17
  • 1
  • 3
-2
votes
2 answers

How to get zip.h header file for unzipping the zip file?

currently i am trying to unzip the zip file and i am following the steps mentioned in this link http://www.nih.at/libzip/ but i am not getting zip.h header file , how to get that header file ? Thank you.
1 2 3 4 5
6