Install Cocos2d-x v3.3 on Ubuntu 14.04 & Ubuntu 14.10 1 get the source code sudo apt-get install git git clone https://github.com/cocos2d/cocos2d-x.git or you can download at http://cn.cocos2d-x.org/download/ 2 init environment cd cocos2d-x/build ./install-deps-linux.sh python ../download-deps.py 3 make code cmake .. make cpp-empty-test 4 Test run the sample cd /bin/cpp-empty-test ./cpp-empty-tes some problems when you make (1) Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY) Answer: sudo apt-get install glew-utils libglew-dev
#####if it still show eor,"checking for module 'glfw3' -- package 'glfw3' not found CMake Error at cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):"
see the link:
http://stackoverflow.com/questions/17768008/how-to-build-install-glfw-3-and-use-it-in-a-linux-project (2) Could not find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Answer: sudo apt-get install libcurl4-openssl-dev
(3) if had not gcc,then run:
sudo apt-get install build-essential