[Cocos2d-x] Unknown EABI object attribute 44 error solution.

Source: Internet
Author: User

Today, the latest cocos2d-x (cocos2d-2.1rc0-x-2.1.2) version was suddenly downloaded.

After a sneak peek, the most exciting thing is to add a dynamic update example. You can refer to the demo to record the errors in the update process.

Problem 1: Unknown EABI object attribute 44 occurs during Android compilation.
First, refer to the "Unknown mandatory EABI object attribute 44" on the Internet. It seems like this is what I found.
Related solutions: (the cause of this problem is that the selected tool chain and pre-compiled libraries use different versions of tool chain)
Modification method:
1. Select the same tool chain as the pre-compiled library
2. If the source code is available, re-compile the pre-compiled library.
It's just confusing at first glance... I don't understand what it means for the first time... until I repeatedly read several times in the first article was inspired, and then google updated the next ndk (android-ndk-r8c), a try really passed...

Problem 2: ndk-r8c always recompile the project
Every time you modify the C ++ file, the compilation process starts again, which is a waste of time... finally, Baidu's solution:
Open the root directory of the NDK, find the build/core/definitions. mk file, and then open the file, in row 289.
$1: $ (_ ndk_file_dir)
Change
$1: | $ (_ ndk_file_dir)


More Cocos2d-x development Blog at Koyoter's Blog original title: Cocos2d-x Unknown EABI object attribute 44 error solution.


This article is from the "A programmer" blog, please be sure to keep this source http://koyoter.blog.51cto.com/6156214/1203696

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.