搜索
您的当前位置:首页正文

mac编译cocos2d

2020-11-09 来源:爱go旅游网

mac编译cocos2d-x-3.2*的android工程。。。cocos巨坑

mac编译cocos2d-x-3.2*的android工程。。。cocos巨坑啊。。换了几个ndk版本都没用。。用下面这篇文章的方式解决了

参考文章:

http://blog.csdn.net/wk3368/article/details/37829017

http://www.cocoachina.com/bbs/read.php?tid=215931


Assertion failed: (0 <= N && N < static_cast(m_columnToByte.size() - 1)), function startOfNextColumn, file /Volumes/data/ndk-toolchain/src/llvm-3.4/llvm/tools/clang/lib/Frontend/TextDiagnostic.cpp, line 294.
2 warnings generated.
0 clang++ 0x000000010239cf05 llvm::SmallVectorTemplateBase::grow(unsigned long) + 629
1 clang++ 0x000000010239db3b llvm::SmallVectorTemplateBase::grow(unsigned long) + 3755
2 libsystem_platform.dylib 0x00007fff9441d5aa _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 1807624816
4 clang++ 0x000000010239ce5e llvm::SmallVectorTemplateBase::grow(unsigned long) + 462
5 clang++ 0x000000010239cea5 llvm::SmallVectorTemplateBase::grow(unsigned long) + 533
6 clang++ 0x00000001000c9b0a std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, llvm::BitstreamWriter::Block const&) + 23690
7 clang++ 0x00000001000cabbd std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator

Traceback (most recent call last):
 File "build_native.py", line 159, in 
 build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
 File "build_native.py", line 146, in build
 do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
 File "build_native.py", line 82, in do_build
 raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
Exception: Build dynamic library for project [ /Users/zhaoming/Documents/workspace/dmy/gameJumpWheel/proj.android ] fails!
Top