Cocos2d for mac Compilation

Source: Internet
Author: User
Mac compiled cocos2d-x-3.2 * android project ...... Cocos

Mac compiled cocos2d-x-3.2 * android project ...... Cocos

Mac compiled cocos2d-x-3.2 * android project ...... Cocos .... It is useless to change several ndk versions .... Solved the problem in the following article:

References:

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) + 6291  clang++                  0x000000010239db3b llvm::SmallVectorTemplateBase
   
    ::grow(unsigned long) + 37552  libsystem_platform.dylib 0x00007fff9441d5aa _sigtramp + 263  libsystem_platform.dylib 000000000000000000 _sigtramp + 18076248164  clang++                  0x000000010239ce5e llvm::SmallVectorTemplateBase
    
     ::grow(unsigned long) + 4625  clang++                  0x000000010239cea5 llvm::SmallVectorTemplateBase
     
      ::grow(unsigned long) + 5336  clang++                  0x00000001000c9b0a std::vector
      
        >::_M_insert_aux(__gnu_cxx::__normal_iterator
       
         > >, llvm::BitstreamWriter::Block const&) + 236907 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!
           

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.