Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LNK2001: unresolved external symbol _BZ2_compressBlock #15

Closed
cen1 opened this issue Mar 30, 2014 · 4 comments
Closed

LNK2001: unresolved external symbol _BZ2_compressBlock #15

cen1 opened this issue Mar 30, 2014 · 4 comments

Comments

@cen1
Copy link
Contributor

cen1 commented Mar 30, 2014

Back in November I sent you an email regarding this linker error and it appears that the fixed version from the website was removed with 9.00 release and the bug re-introduced. I assume because it was never patched on github and you forgot about it.

If you could find a way to finally solve this in git that would be great.

@ladislav-zezula
Copy link
Owner

I'll look at it - could you please remind me what did you link and in which version of Visual Studio?

@cen1
Copy link
Contributor Author

cen1 commented Apr 1, 2014

VS 2010, StormlibRUS build. Your email response as reminder:

"This happened because I decided to update ZLIB v1.2.3 to ZLIB 1.2.5.
Unfortunately, file dates of ZLIB1.2.3 in StormLib\src\zlib were reset
back when I put StormLib to GitHub - for some reason, Git thinks it
can deliberately change date of a file. So when I replaced all files in src\zlib
by newer version, they actually had older date than the ones that were on github.
This error propagates wherever I copy the lib (so also the ZIP on the web) -
most file updaters take file date into account and will never replace newer file
with an older one.

I fixed the ZIP on the web, please, delete all files in src\zlib in your
local work directory and unpack StormLib again."

@ladislav-zezula
Copy link
Owner

Ok, I only have project files for VS 2008 (the *.vcproj) and for 2012 (the *.vcxproj). Could you try to update your local directory, open a *.vcproj in VS 2010 and rebuild?
Should be fixed in commit 9e154f9

@cen1
Copy link
Contributor Author

cen1 commented Apr 1, 2014

All seems allright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants