Hi again!
I just created a brand new iOS project with cocos2d-x ver. 3.12 and whenever i try to build the project - it gives an error. It says that “ui/UIRadioButton.h file not found” and actually the same thing happens to a lot other header files included in CocosGui.h.
Can anybody tell me how to fix this and why this is happened to a untouched project?
Thanks!
Have you tried to include only this?
#include "ui/CocosGUI.h"
No but I am not home right now and will do when I am. How should that be able fix it?
And I do not even want to use cocosGui and have not touched/changed anything in the project yet so I seems very strange to me
Okay so now i have tried it and here was what happened with the untouched code:
Said for all the headers
And when only including cocosGui.h
Plus some other errors, actually 16
And btw including the header inside of the actual header… I know maybe that was not what you meant but
Anyone?
Thanks again
Okay so i just found a way to fix this issue:
Go to CSLoader.cpp and replace “#include “…/…/cocos/ui/CocosGUI.h”” with "#include “ui/CocosGUI.h”
But still, can anybody explain this happens?