LUA calls custom C + + classes

Source: Internet
Author: User
Tags lua

Got a day, finally. Lua invokes a custom C + + class. It's not easy.

My computer is 64-bit, loaded 64 of Python No, installed 32-bit on it, rely on! Here is the error message

Python Pyyaml Cheetah are all packed in 32-bit, where the Python version is available with 2.7.8.

Cocos2d-x v3.2

Cocos Code IDE 1.2.0

NDK r9d

Dos2unix,windows may have this error while executing the script. is to create a project without this file, you can go to cocos2dx inside copy one, such as

There's a dos2unix.exe under E:\cocos2d-x-3.2\cocos2d-x-3.2\tools\bindings-generator\tools\win32.

Copy to my new LUA project E:\cocos\cocos\LuaCTest\frameworks\cocos2d-x\tools\bindings-generator\tools\win32

Reference: http://cn.cocos2d-x.org/tutorial/show?id=1749

LUA calls custom C + + classes

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.