当前位置:Gxlcms > mysql > mac编译cocos2d

mac编译cocos2d

时间:2021-07-01 10:21:17 帮助过:37人阅读

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!

人气教程排行