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:
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 ')