Install Cocos2d-x v3.3 on Ubuntu 14.04 & Ubuntu 14.1
发布时间:2020-12-14 19:58:18 所属栏目:百科 来源:网络整理
导读:Install Cocos2d-x v3.3 on Ubuntu 14.04 Ubuntu 14.101 get the source codesudo apt-get install gitgit clone https://github.com/cocos2d/cocos2d-x.gitor you can download at http://cn.cocos2d-x.org/download/2 init environmentcd cocos2d-x/build.
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
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |