Can't make Cocos 2d-x on Ubuntu 14.04

Answers are here:Can't make Cocos2d-x compile on Ubuntu 18.04