![]() I open it in VS2008 SP1, click on "Build" and receive the message that "zlib.h" cannot be found. It builds fine in both Debug and Release Mode, but any test I try will abort with linker errors like this : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void _thiscall QuaZip::close(void)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: virtual void _thiscall QuaZipFile::close(void)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: int _thiscall QuaZipFile::getZipError(void)const " (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: _thiscall QuaZipNewInfo::~QuaZipNewInfo(void)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: bool _thiscall QuaZipFile::open(class QFlags,struct QuaZipNewInfo const &,char const *,unsigned int,int,int,bool,int,int,int)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: _thiscall QuaZipNewInfo::QuaZipNewInfo(class QString const &,class QString const &)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: virtual _thiscall QuaZipFile::~QuaZipFile(void)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: _thiscall QuaZipFile::QuaZipFile(class QuaZip *,class QObject *)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void _thiscall QuaZip::setComment(class QString const &)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: _thiscall QuaZip::~QuaZip(void)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: int _thiscall QuaZip::getZipError(void)const " (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: bool _thiscall QuaZip::open(enum QuaZip::Mode,struct zlib_filefunc_def_s *)" (_ referenced in function "bool _cdecl testCreate(void)" : error LNK2019: unresolved external symbol "_declspec(dllimport) public: _thiscall QuaZip::QuaZip(class QIODevice *)" (_ referenced in function "bool _cdecl testCreate(void)" have a "quazip" directory with a "zlib" subdirectory, built both of them and then I create a VS project with qmake for each test. For the last 3 hours I've been trying to get QuaZip (0.4.1 with zlib 1.2.5) to work, but so far no success. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |