Every few months I try and get user interface components working in a project I’m doing (buttons, scrollview, etc) and the result is complete failure. I come to these forums, ask for help, no one answers and I abandon it and just use my own classes.
I am now trying to get ScrollView working.
Please, can anyone give the EXACT steps needed to use either extensions or ui components in a c++ application in Windows? All platforms really, but for now I just want to prototype on the desktop.
I’ve read through every example online with outdated and useless information but the bottom line is it always fails with
unresolved external symbol
I’ve added “$(EngineRoot);” as an additional include dependency as suggested but still no go.
All of the documentation available gives examples of usage, but absolutely no indication as to how to actually add it to your project to compile.
What I’ve tried (summarized):
include "cocos-ext.h" and using namespace extension;
auto scrollView = ScrollView::create();
Fails.
Also tried:
include "ui\CocosGUI.h" and using namespace ui;
auto scrollView = ScrollView::create();
Fails
Am I stupid? Why can’t I get this working?
Using Visual Studio 2013 with Cocos2d-x 3.2
Thanks…