Error about cocos2d-X3.0 using extended library
Well For A Long Time did not update the blog, today's whim, looked at the coocs2d-X 3. x version, the use of extended library to create TableView, error, appear
Unable to open include file: "extensions/xxxxxxx. h"
Let's take a look at the projects created in 3.x:
Obviously, some additional libraries are not included in the project, so we have to add them if we use them. Let's talk less about them. Let's go straight to the topic.
Step 1: add additional libraries
Solution-> right-click-> Add-> existing project
We need to add three additional libraries: libCocosStudio, libExtensions, and libGUI.
LibCocosStudio
Project directory/cocos2d/cocos/editor-support/cocostudio/proj. win32/libCocoStuido. vcxproj
LibExtensions
Project directory/cocos2d/extensions/proj. win32/libExtensions. vcxproj
LibGUI
Project directory/cocos2d/cocos/gui/proj. win32/libGUI. vcxproj
OK.
Step 2: reference a project
Right-click your project and choose reference.
Select
Step 3: Add a directory
Right-click your project and choose Properties.
C/C ++-> General-> additional include directory
$ (EngineRoot)
$ (EngineRoot) cocos
$ (EngineRoot) cocoseditor-support
Add these three paths