當我編譯我的cocos2d MAC項目中,我得到這個錯誤:Clang:找不到符號。 cocos2d的MAC
Undefined symbols for architecture x86_64:
"_inflateInit2_", referenced from:
_ccInflateMemoryWithHint in ZipUtils.o
"_inflate", referenced from:
_ccInflateMemoryWithHint in ZipUtils.o
"_inflateEnd", referenced from:
_ccInflateMemoryWithHint in ZipUtils.o
"_gzopen", referenced from:
_ccInflateGZipFile in ZipUtils.o
"_gzread", referenced from:
_ccInflateGZipFile in ZipUtils.o
"_gzclose", referenced from:
_ccInflateGZipFile in ZipUtils.o
"_uncompress", referenced from:
_ccInflateCCZFile in ZipUtils.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
找到了這個,並幫助我 - 現在圖書館被稱爲「libz.tbd」 – Maxxx 2015-12-04 12:09:53