8000 Test executable doesn’t build in version 3 · Issue #560 · zlib-ng/minizip-ng · GitHub
[go: up one dir, main page]

Skip to content

Test executable doesn’t build in version 3 #560

Closed

Description

@vitekcerny

Hi, I’m using minizip for simple decompression of zip file on windows. My build configuration is as follows: cmake -B build -A Win32 -D MZ_COMPAT=OFF -D MZ_BZIP2=OFF -D MZ_LZMA=OFF -D MZ_ZSTD=OFF -D MZ_PKCRYPT=OFF -D MZ_WZAES=OFF -D MZ_SIGNING=OFF -D MZ_ICONV=OFF -D MZ_DECOMPRESS_ONLY=ON -D MZ_BUILD_TESTS=ON
And I build using: cmake --build build --config Release --parallel

This was working fine previously, but starting with version 3 I get several link errors of unresolved external symbol _mz_crypt_xxx. A workaround is to enable signing by simply remove the flag -D MZ_SIGNING=OFF. This seems to work but I still think that signing support should be optional.

Activity

  1. nmoinvaz commented on Apr 11, 2021

    @nmoinvaz
    Member

    Should be fixed in dev. Thanks for reporting.

  2. vitekcerny commented on Apr 11, 2021

    @vitekcerny
    Author

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0