Previously used in the COCOS2DX 3.6 version of some of the things in the Ext library, using Visual Studio 2013, when compiling the error:
file or directory
The final solution is to right-click the project-Properties-Configuration Properties-c/c++-Additional include directory, add contains $ (engineroot)
The solution is as follows:
Think about, open the project path, found that the project path/cocos/extensions/under the ExtensionMacros.h this file is the project contains the path configuration is incorrect.
Right-click on Project-Properties-Configuration Properties-c/c++-Additional include directory, click to open the found inside contains:
$ (engineroot) cocos\audio\include$ (engineroot) external$ (engineroot) external\chipmunk\include\chipmunk$ ( Engineroot) Extensions ...
Macro Engineroot refers to the project path/cocos/
In other words, the project that cocos generated by default did include most of the libraries, but did not include $ (engineroot), causing the project not to search the path/cocos/the project path, or the official forgot to put the extensions/in some of the files ExtensionMacros.h changed to ExtensionMacros.h.
What is the cause of this problem is unknown, but the simplest solution is to right-click the project-Properties-configuration property-c/c++-Additional Include directory, add contains $ (engineroot)
COCOS2DX 3.x contains ext library error Resolution