After make I’ve got this:
[ 68%] Building CXX object cocos/CMakeFiles/cocos2dInternal.dir/2d/CCActionCamera.cpp.o
In file included from /home/joe/cocos2d-x-3.16/cocos/platform/CCGL.h:43:0,
from /home/joe/cocos2d-x-3.16/cocos/base/ccTypes.h:36,
from /home/joe/cocos2d-x-3.16/cocos/base/CCProtocols.h:33,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCNode.h:35,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCSpriteFrame.h:31,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCAnimation.h:34,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCActionInterval.h:34,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCActionCamera.h:31,
from /home/joe/cocos2d-x-3.16/cocos/2d/CCActionCamera.cpp:28:
/home/joe/cocos2d-x-3.16/cocos/platform/linux/CCGL-linux.h:31:10: fatal error: GL/glew.h: No such file or directory
#include “GL/glew.h”
^~~~~~~~~~~
compilation terminated.
cocos/CMakeFiles/cocos2dInternal.dir/build.make:86: recipe for target ‘cocos/CMakeFiles/cocos2dInternal.dir/2d/CCActionCamera.cpp.o’ failed
make[2]: *** [cocos/CMakeFiles/cocos2dInternal.dir/2d/CCActionCamera.cpp.o] Error 1
CMakeFiles/Makefile2:365: recipe for target ‘cocos/CMakeFiles/cocos2dInternal.dir/all’ failed
make[1]: *** [cocos/CMakeFiles/cocos2dInternal.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2