首页  >  文章  >  数据库  >  mac编译cocos2d

mac编译cocos2d

WBOY
WBOY原创
2016-06-07 15:49:091096浏览

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 (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<llvm_regmatch_t false>::grow(unsigned long) + 629
1  clang++                  0x000000010239db3b llvm::SmallVectorTemplateBase<llvm_regmatch_t false>::grow(unsigned long) + 3755
2  libsystem_platform.dylib 0x00007fff9441d5aa _sigtramp + 26
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 1807624816
4  clang++                  0x000000010239ce5e llvm::SmallVectorTemplateBase<llvm_regmatch_t false>::grow(unsigned long) + 462
5  clang++                  0x000000010239cea5 llvm::SmallVectorTemplateBase<llvm_regmatch_t false>::grow(unsigned long) + 533
6  clang++                  0x00000001000c9b0a std::vector<:bitstreamwriter::block std::allocator> >::_M_insert_aux(__gnu_cxx::__normal_iterator<:bitstreamwriter::block std::vector std::allocator> > >, llvm::BitstreamWriter::Block const&) + 23690
7  clang++                  0x00000001000cabbd std::vector<:bitstreamwriter::block std::allocator> >::_M_insert_aux(__gnu_cxx::__normal_iterator<:bitstreamwriter::block std::vector std::allocator><br>
<pre class="brush:php;toolbar:false">Traceback (most recent call last):
  File "build_native.py", line 159, in <module>
    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!
</module>


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn