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
Failure to build with Visual Studio 2008 #520
Comments
Comment #1 originally posted by kientzle on 2015-02-21T05:45:28.000Z:
|
1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32 ------ |
CMake configure log: The C compiler identification is MSVC 15.0.30729.1 |
I just pushed a fix for this: 10>.\archive_write_set_format_filter_by_ext.c(74) : error C2275: 'size_t' : illegal use of this type as an expression The root problem here: Visual Studio 2008 does not support C99. |
I added a local definition of BCRYPT_SUCCESS, which seems to be missing from VS2008. |
These seem to be the remaining problems: 2>.\archive_hmac.c(92) : error C2065: 'BCRYPT_HASH_REUSABLE_FLAG' : undeclared identifier |
Can I get the compiled library somewhere as building it myself is a real pain? |
The libarchive project does not distribute compiled versions. There are people who do distributed compiled versions of libarchive, but I do not keep track of them. |
I was trying to define BCRYPT_HASH_REUSABLE_FLAG myself and STATUS_SUCCESS that is claimed to be undefined either. BCRYPT_SUCCESS is also needed in archive_hmac.c, so I duplicated the definition from archive_cryptor.h (must be a better solution). But can't do anything about BCryptDeriveKeyPBKDF2. Is it maybe possible to exclude this BCrypt functionality somehow? I need only to extract archives (mainly .rar and .zip files), so probably that is not really needed in my case or am I wrong? |
I believe this has been fixed in github master. FYI: BCryptDeriveKeyPBKDF2() is only available with the Win7 SDK; I've (temporarily) changed the CMake default Windows platform to Win7 until we can find another way to provide that functionality. |
Original issue 412 created by Google Code user
pugach.yaroslav2
on 2015-02-17T14:34:51.000Z:See attachment: BuildLog.htm
The text was updated successfully, but these errors were encountered: