v3.2 How to use the new UI classes

I wanted to try using the UI controls in my latest project but I can’t seem to get it to work. I’ve attempted to follow what I believe is the latest documentation:
http://www.cocos2d-x.org/wiki/Overview_of_new_gui

For instance, I want to create a button in the scene.

So I include in the header:

#include "ui/CocosGUI.h"

Then add in the scene:

auto uButton = ui::Button::create();

This is exactly what was done in the wiki but mine fails to compile with:

unresolved external symbol "public: static class cocos2d::ui::Button * __cdecl cocos2d::ui::Button::create(void)"

I’ve looked at the tests but that hasn’t helped. Can someone who has it working explain the basic steps needed to create a simple button.

Thanks