Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

mac编译报错

$
0
0

@271112886 写道:

自己修改class中的东西,加了些类库,编译mac就报错, 然后我用官网原生的代码编译是好的,把class移除后再添加回来又报错了,这是什么情况
"AppDelegate::AppDelegate()", referenced from:
-[AppController startup] in SimulatorApp.o
"_adler32", referenced from:
pngicc_set_sRGB in libcocos2d Mac.a(png.o)
"_crc32", referenced from:
cocos2d::unzReadCurrentFile(void*, void*, unsigned int) in libcocos2d Mac.a(unzip.o)
pngreset_crc in libcocos2d Mac.a(png.o)
pngcalculate_crc in libcocos2d Mac.a(png.o)
pngicc_set_sRGB in libcocos2d Mac.a(png.o)
"_deflate", referenced from:
pngcompress_IDAT in libcocos2d Mac.a(pngwutil.o)
pngtext_compress in libcocos2d Mac.a(pngwutil.o)
PixarLogPostEncode in libcocos2d Mac.a(tifpixarlog.o)
PixarLogEncode in libcocos2d Mac.a(tifpixarlog.o)
ZIPPostEncode in libcocos2d Mac.a(tifzip.o)
ZIPEncode in libcocos2d Mac.a(tifzip.o)
(maybe you meant: Curlunencode_deflate_write)
"_deflateEnd", referenced from:
pngdestroy_write_struct in libcocos2d Mac.a(pngwrite.o)
pngdeflate_claim in libcocos2d Mac.a(pngwutil.o)
PixarLogCleanup in libcocos2d Mac.a(tifpixarlog.o)
ZIPSetupDecode in libcocos2d Mac.a(tifzip.o)
ZIPCleanup in libcocos2d Mac.a(tifzip.o)
"deflateInit2", referenced from:
pngdeflate_claim in libcocos2d Mac.a(pngwutil.o)
"deflateInit", referenced from:
PixarLogSetupEncode in libcocos2d Mac.a(tifpixarlog.o)
ZIPSetupEncode in libcocos2d Mac.a(tifzip.o)
"_deflateParams", referenced from:
PixarLogVSetField in libcocos2d Mac.a(tifpixarlog.o)
ZIPVSetField in libcocos2d Mac.a(tifzip.o)
"_deflateReset", referenced from:
pngdeflate_claim in libcocos2d Mac.a(pngwutil.o)
PixarLogPreEncode in libcocos2d Mac.a(tifpixarlog.o)
ZIPPreEncode in libcocos2d Mac.a(tifzip.o)
"_gzclose", referenced from:
cocos2d::ZipUtils::inflateGZipFile(char const*, unsigned char**) in libcocos2d Mac.a(ZipUtils.o)
"_gzopen", referenced from:
cocos2d::ZipUtils::inflateGZipFile(char const*, unsigned char**) in libcocos2d Mac.a(ZipUtils.o)
"_gzread", referenced from:
cocos2d::ZipUtils::inflateGZipFile(char const*, unsigned char**) in libcocos2d Mac.a(ZipUtils.o)
"_iconv", referenced from:
cocos2d::FontAtlas::conversionU16TOGB2312(std::1::basic_string1::char_traits, std::1::allocator > const&, std::1::unordered_map1::hash, std::1::equal_to, std::1::allocator1::pair > >&) in libcocos2d Mac.a(CCFontAtlas.o)
"iconvclose", referenced from:
cocos2d::FontAtlas::~FontAtlas() in libcocos2d Mac.a(CCFontAtlas.o)
"iconvopen", referenced from:
cocos2d::FontAtlas::conversionU16TOGB2312(std::1::basic_string1::char_traits, std::1::allocator > const&, std::1::unordered_map1::hash, std::1::equal_to, std::1::allocator1::pair > >&) in libcocos2d Mac.a(CCFontAtlas.o)
"_inflate", referenced from:
cocos2d::unzReadCurrentFile(void*, void*, unsigned int) in libcocos2d Mac.a(unzip.o)
cocos2d::ZipUtils::inflateMemoryWithHint(unsigned char*, long, unsigned char**, long*, long) in libcocos2d Mac.a(ZipUtils.o)
pnginflate_read in libcocos2d Mac.a(pngrutil.o)
pngdecompress_chunk in libcocos2d Mac.a(pngrutil.o)
pngread_IDAT_data in libcocos2d Mac.a(pngrutil.o)
FTGzip_Uncompress in libcocos2d Mac.a(ftgzip.o)
ftgzip_file_fill_output in libcocos2d Mac.a(ftgzip.o)
...
"_inflateEnd", referenced from:
cocos2d::unzCloseCurrentFile(void*) in libcocos2d Mac.a(unzip.o)
cocos2d::ZipUtils::inflateMemoryWithHint(unsigned char*, long, unsigned char**, long*, long) in libcocos2d Mac.a(ZipUtils.o)
pngdestroy_read_struct in libcocos2d Mac.a(pngread.o)
FTStream_OpenGzip in libcocos2d Mac.a(ftgzip.o)
ftgzip_stream_close in libcocos2d Mac.a(ftgzip.o)
FTGzip_Uncompress in libcocos2d Mac.a(ftgzip.o)
inflatestream in libcocos2d Mac.a(libcurl_la-content_encoding.o)
...
"inflateInit2", referenced from:
cocos2d::unzOpenCurrentFile3(void*, int*, int*, int, char const*) in libcocos2d Mac.a(unzip.o)
cocos2d::ZipUtils::inflateMemoryWithHint(unsigned char*, long, unsigned char**, long*, long) in libcocos2d Mac.a(ZipUtils.o)
pnginflate_claim in libcocos2d Mac.a(pngrutil.o)
FTStream_OpenGzip in libcocos2d Mac.a(ftgzip.o)
FTGzip_Uncompress in libcocos2d Mac.a(ftgzip.o)
inflatestream in libcocos2d Mac.a(libcurl_la-content_encoding.o)
Curlunencode_gzip_write in libcocos2d Mac.a(libcurl_la-content_encoding.o)
...
"inflateInit", referenced from:
Curlunencode_deflate_write in libcocos2d Mac.a(libcurl_la-content_encoding.o)
PixarLogSetupDecode in libcocos2d Mac.a(tifpixarlog.o)
ZIPSetupDecode in libcocos2d Mac.a(tifzip.o)
"_inflateReset", referenced from:
pngreset_zstream in libcocos2d Mac.a(png.o)
pngdecompress_chunk in libcocos2d Mac.a(pngrutil.o)
FTStream_OpenGzip in libcocos2d Mac.a(ftgzip.o)
ftgzip_file_io in libcocos2d Mac.a(ftgzip.o)
PixarLogPreDecode in libcocos2d Mac.a(tifpixarlog.o)
ZIPPreDecode in libcocos2d Mac.a(tifzip.o)
"_inflateReset2", referenced from:
pnginflate_claim in libcocos2d Mac.a(pngrutil.o)
"_inflateSync", referenced from:
PixarLogDecode in libcocos2d Mac.a(tifpixarlog.o)
ZIPDecode in libcocos2d Mac.a(tifzip.o)
"_uncompress", referenced from:
FileServer::loopReceiveFile() in libsimulator Mac.a(FileServer.o)
cocos2d::ZipUtils::inflateCCZBuffer(unsigned char const*, long, unsigned char**) in libcocos2d Mac.a(ZipUtils.o)
cocostudio::CocoLoader::ReadCocoBinBuff(char*) in libcocos2d Mac.a(CocoLoader.o)
(maybe you meant: ssl3do_uncompress, _ZN7runtime14FileSendProtos23sethas_uncompress_sizeEv , _ZNK7runtime14FileSendProtos19hasuncompress_sizeEv , _ZN7runtime14FileSendProtos19setuncompress_sizeEy )
"_zlibVersion", referenced from:
Curlunencode_gzip_write in libcocos2d Mac.a(libcurl_la-content_encoding.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 warnings only

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>