Porting to one of the cocos2d-x 3.8.1 errors (cannot open include file: ' Extensions/extensionexport.h ')

Source: Internet
Author: User

Never thought to put the previous 2. The x version of the game is ported to the current Cocos2d-x 3.8.1 Version (naturally test the WIN32 version first), also encountered such "superficial" bug.

Add: I use the system description in the Cocos command line generated by the project framework, and then the relevant files for copying operations.

Environment:

    • Windows 7 (64bits)

    • Visuall Studio 2013

    • Cocos3d-x 3.8.1 +cocos Studio 2.3.2

As shown in the following:

650) this.width=650; "title=" capture. JPG "src=" http://s3.51cto.com/wyfs02/M00/75/75/wKioL1Y5snLwm7LDAAIj-KNE-RE456.jpg "alt=" Wkiol1y5snlwm7ldaaij-kne-re456.jpg "/>

It appears that the header folder ' Extensions/extensionexport.h ' that is referenced in the system's built-in file Cocontrolutils.h is missing, which means there is a problem with the system internal path setting.

Workaround:

Carefully control the system built-in demo project Cpp-tests, found that the project attribute header file path reference is missing a key part:

As shown in the following:

650) this.width=650; "title=" capture. JPG "src=" http://s3.51cto.com/wyfs02/M01/75/75/wKioL1Y5s8rjc7bVAAK5BqZOmy0490.jpg "alt=" Wkiol1y5s8rjc7bvaak5bqzomy0490.jpg "/>

Then, add $ (engineroot) to the current position to eliminate the above compilation error. It looks like this cocos2d-x 3.8.1 to be upgraded quickly!

This article is from the "Green Peak" blog, please make sure to keep this source http://zhuxianzhong.blog.51cto.com/157061/1709651

Porting to one of the cocos2d-x 3.8.1 errors (cannot open include file: ' Extensions/extensionexport.h ')

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.