About the "cocos2dx-3.0beta-making Flappybird" tutorial in the 3.2 project there is no way to find the CCMenuItem.h solution

Source: Internet
Author: User

Article Original: http://blog.csdn.net/kantian_/article/details/36187141

The author upgrades the source code, which can be run under the 3.1 platform.

Mine is vs2013+cocos2dx-3.2.

Originally thought according to the author's method to create a new project can use, did not expect to always appear this " cannot open include files:" CCMenuItem.h ": No such file or directory".

The problem is simple, is not found, this can not be found in the project contains the header file to refer to the file path. This is usually the case with this type of problem.

Add the appropriate folder directory to the "Project---Properties->c/c++-> general--and additional Include Directories" (mine is).


Cocos This folder, modify the error header file for #include "CCMenuItem.h"------------->#include "2d/ccmenuitem.h"

About the "cocos2dx-3.0beta-making Flappybird" tutorial in the 3.2 project there is no way to find the CCMenuItem.h solution

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.