I have copy some directory paths to the c++ attached contain directory.
like,
$(EngineRoot)cocos\ui
$(EngineRoot)cocos\editor-support\cocostudio
and so on.
I also add libraries , like libGUI.lib , libCocosStudio, libExtensions and so on.
But VS2012 tell me errors, cocosgui.h can’t open file “UI/UIWidget.h”
who can help me? good luck.
What you have at the moment is $(EngineRoot)cocos\ui so when VS2012 is looking for ui/Widget.h it does something like this: $(EngineRoot)cocos\ui\ + ui/Widget.h
And that directory does not exists.
With $(EngineRoot)cocos, VS2012 will do $(EngineRoot)cocos\ + ui/Widget.h
And that’s a win!
I’m having the same issue when running the build_native.py script. That makes sense but in this case where would I actually put this path extension in? The script itself?