Cocostudio header File error resolution under Windows

Source: Internet
Author: User

Thanks to this author's reference:http://www.itnose.net/detail/6099109.html

Cocos2d-x 3.2 Learning log, porting error C1083: cannot open include file : "Extensions/extensionmacros.h": no such files or cannot open the include file : "cocostudio/cocostudio.h": No such files

Today in Do Mac 3.2 transplant to the Windows platform when the import expansion package appeared error, after a multi-party search, finally solved the problem, to share, to provide a reference for you.

The first step, we need to import three packages, import way: Solution (right-click)-"Add -" existing Project

Import First libgui.vcxproj (H:\mycompany\EditBoxTest\cocos2d\cocos\ui\proj.win32)

Import a second libextensions.vcxproj (H:\mycompany\EditBoxTest\cocos2d\extensions\proj.win32 )

Import a third libcocosstudio.vcxproj(H:\mycompany\EditBoxTest\cocos2d\cocos\editor-support\ Cocostudio\proj.win32)

After the guide, take the second step.

The second step is to refer the project we have imported to our project, which is the cause of the problem,

Toadd a new reference to the project name, right -"reference -"

Click to add a new reference to the front of the hook

Then select the check box in front of our newly added item and add it later:

Click Properties:

Then select the check box in front of our newly added item and add it later:

Click Properties:

The third step is to add the Include directory to our project

Project name right -"Properties -"c/c++-"Additional include directory -" edit

Then choose here to add:

We're done here!

Fill in the content

$ (Engineroot)

$ (engineroot) Cocos

$ (engineroot) Cocos\editor-support

Finally, compile it, there's no mistake.

Cocostudio header File error resolution under Windows

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.