Can't build cocos2d-x 3.14 project for Tizen when include cocos2d-ext.h


#1

Hello. I’m working on small game for Tizen platform using cocos2d-x 3.14.

In my game i use TableView by include “cocos2d-ext.h” . But when import prj.tizen to Tizen IDE and build, i got strange error.

/TestTizen/cocos2d/extensions/GUI/CCControlExtension/CCControlUtils.h:39:40: fatal error: extensions/ExtensionExport.h: No such file or directory

But if i build project cpp-test , it work good and no problem. So i think this is a bug of template for tizen when create new project.

Anyone can help me? Thanks ! :slight_smile:


#2

Did you find any solution to it ? I am also stuck at this.


#3

Dear all,
about the compile error, please add the include path into the Properties setting dialog:
Two options:

Project-> right click->Properties->C/C++ build ->Settings->Tool Settings->C++ Compiler-> Includes->

  1. add “…/…/…/” in the Include paths(-l). The number of “…/” is related to the relative directory levels between your code file and the “extensions” folder.

  2. add absolute path of “extensions” folder, for example: “/home/wql/workspace/cocosZip/cocos2d-x-3.15.1”