Skip to content

CMake - Shell build fails when using miniz #110

Closed
@jammerxd

Description

@jammerxd

When using the CMake build system, the shell fails to build with the following errors when enabling miniz:

shell.obj : error LNK2019: unresolved external symbol mz_crc32 referenced in function zipfileRemoveEntryFromList [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_version referenced in function do_meta_command [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_deflateInit2 referenced in function zipfileDeflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_deflate referenced in function zipfileDeflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_deflateEnd referenced in function zipfileDeflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_deflateBound referenced in function zipfileDeflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_compress referenced in function sqlarCompressFunc [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_compressBound referenced in function sqlarCompressFunc [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_inflateInit2 referenced in function zipfileInflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_inflate referenced in function zipfileInflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_inflateEnd referenced in function zipfileInflate [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
shell.obj : error LNK2019: unresolved external symbol mz_uncompress referenced in function sqlarUncompressFunc [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]
D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\Debug\sqlite3mc_shell.exe : fatal error LNK1120: 12 unresolved externals [D:\3rdparty\sqlite3multipleciphers\SQLite3MultipleCiphers\sqlite3mc_shell.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions