Buoyancy in cocos2d-x

Buoyancy in cocos2d-x
0.0 0


I’m trying to get simple effect of buoyancy in box2d and cocos2d-x.
Here is info that is very helpful:

It is for cocos2d-iphone but the classes remain the same. I managed to put Controllers in the Box2D, changed some classes according to this page. When I try to define b2BuoyancyControllerDef (or create controller with BuoyancyControllerDef) I get this error:

Level.obj : error LNK2019: unresolved external symbol "public: class b2Controller * __thiscall b2World::CreateController(class b2ControllerDef *)" 
(?CreateController@b2World@@QAEPAVb2Controller@@PAVb2ControllerDef@@@Z) referenced in function "public: void __thiscall Level::createWater(void)" 

Does anyone managed to get Buoyancy to work with cocos2d-x? If so - any help would be very appreciated