Forums » C++ Framework » How to use ZipUtils.h in game? »
| Leo Liu | How to use ZipUtils.h in game? | ||
|---|---|---|---|
|
I used ZipUtils in my game like this: but some error happened: 1>HelloWorldScene.obj : error LNK2019: unresolved external symbol "public: static int __cdecl cocos2d::ZipUtils::ccInflateMemory(unsigned char *,unsigned int,unsigned char * *)" (?ccInflateMemory@ZipUtils@cocos2d@ |
||
| Minggo Zhang | RE: How to use ZipUtils.h in game? | ||
|
Added by Minggo Zhang 11 months ago
Because this class is not exported. class ZipUtils to class CC_DLL ZipUtils |
||
| Leo Liu | RE: How to use ZipUtils.h in game? | ||
|
think you, but it still have error. |
||
| Leo Liu | RE: How to use ZipUtils.h in game? | ||
|
Minggo Zhang wrote:
it doesn't work after add CC_DLL. |
(1-3/3)