Jump to content
  • Advertisement
Sign in to follow this  
JoshKlint_34394

Including MiniZip

This topic is 2609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I included ZLib into my VS 2008 project with no problems. To include MiniZip, I included this file in my main header:
#include "../Source/Libraries/zlib-1.2.5/contrib/minizip/unzip.h"

And I added these .c files to the project:
ioapi.c
iowin32.c
mztools.c
unzip.c

(I am only concerned with unzipping files.)

When I compile the project, I get the following linker errors:
1>unzip.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function _unzOpenCurrentFile3
1>unzip.obj : error LNK2019: unresolved external symbol _inflate referenced in function _unzReadCurrentFile
1>unzip.obj : error LNK2019: unresolved external symbol _crc32 referenced in function _unzReadCurrentFile
1>unzip.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function _unzCloseCurrentFile

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!