Install Cocos2d-x v3.3 on Ubuntu 14.04 & Ubuntu 14.10(转)

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
时间: 2024-08-25 18:57:42

Install Cocos2d-x v3.3 on Ubuntu 14.04 & Ubuntu 14.10(转)的相关文章

如何在 Ubuntu 16.04,15.10,14.04 中安装 GIMP 2.8.16(类似于PS软件)

GIMP 图像编辑器 2.8.16 版本在其20岁生日时发布了.下面是如何安装或升级 GIMP 在 Ubuntu 16.04, Ubuntu 15.10, Ubuntu 14.04, Ubuntu 12.04 及其衍生版本中,如 Linux Mint 17.x/13, Elementary OS Freya. GIMP 2.8.16 支持 OpenRaster 文件中的层组,修复了 PSD 中的层组支持以及各种用户界面改进,修复了 OSX 上的构建系统,以及更多新的变化.请阅读 官方声明. GI

ubuntu 14.04 安装 vmware 10 X64 后无法启动解决方法

ubuntu 14.04 安装成功后,平时的工作什么的都够用了, 最近需要做一个测试,测试环境还必须是windows的.所以就准备整个虚拟机来,kvm 跟 vmware 考虑再三,选择了 vmware .vmware 10的安装方法,就不做说明了.度娘或谷哥还是有蛮多方法.我这里所写的是,vmware 安装后,启动时报错. 报错图片如下: 解决方法: 当然方法有很多种,我也试过几种方法,有使用patch 的,但是我用这种方法的时候,出现错误了,继续找方法的时候,有网友有告诉过这样一种方法,就是手

install the Mondo Rescue utility in Ubuntu 12.04 or 12.10.

  1. Open a terminal window. 2. Type in the following commands, then hit Enter after each. wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{print $2}'`/mondorescue.sources.listsudo sh -c "cat mondorescue.sources.list >> /etc/apt/sour

ubuntu 16.04 和 windows 10系统安装mysql 允许远程访问 | mysql user guide on ubuntu 16.04 and windows 10

本文首发于个人博客https://kezunlin.me/post/36e618e7/,欢迎阅读! mysql user guide on ubuntu 16.04 and windows 10 Part-1: Ubuntu install sudo apt-get install mysql-server # root,123456 mysql -uroot -p123456 allow remote access change bind-address cd /etc/mysql grep

给Ubuntu 13.04、13.10最新源

首先,备份一下Ubuntu 13.04 13.10原来的源地址列表文件 sudo cp /etc/apt/sources.list /etc/apt/sources.list.old ##个人收集的源.注意deb是软件源,deb-src是软件源代码源,13.10的源码源我已加#屏蔽了如有需要请自行去掉#号## ##------ubuntu13.10的源-------## #中科大源 deb http://mirrors.ustc.edu.cn/ubuntu/ saucy main restric

Ubuntu 14.04 编译newLISP 10.6.0

1. 确保安装了gcc4.8.2 2. 安装须要的库: apt-get install libreadline6 libreadline6-dev 3. 下载并解压newLISP源码,这个不多说了,去newlisp.org网站下载. 放到/usr/src文件夹下 wget http://www.newlisp.org/downloads/newlisp-10.6.0.tgz 4. 解压后进入文件夹, 编译并安装.均在root权限下执行. tar zxvf newlisp-10.6.0.tgz c

ubuntu 12.04及12.10无法安装 ia32-libs

[email protected]:~$ sudo apt-get install ia32-libs [sudo] password for administrator: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装.如果您用的是 unstable 发行版,这也许是 因为系统无法达到您要求的状态造成的.该版本中可能会有一些您需要的软件 包尚未被创建或是它们已被从新到(Incoming)目录移出. 下列信息可能会对解决问题有所帮

Ubuntu 18.04 下 PostgreSQL 10 的安装与基础配置

下载安装 在命令行执行如下语句: apt-get install postgresql-10 该指令会帮助你下载如下PostgreSQL组件: ` | ` -- | -- postgresql-client-10 | client libraries and client binaries postgresql-10 | core database server postgresql-contrib-9.x | additional supplied modules (part of the p

Ubuntu 12.04/14.04 重大内核更新:漏洞修复

关于Linux的学习,请查阅书籍<Linux就该这么学> 今天,Ubuntu的开发团队为Ubuntu带来了重要的内核更新,在本次更新中,主要修复了七大安全漏洞. 此前,Ubuntu官方曾经发布公告,表示其在Ubuntu 12.04和14.04 LTS版本中发现了多达7项重大安全漏洞,并且这些漏洞的影响范围十分广泛. 而目前Ubuntu 16.04 LTS已经收到了这一次的更新,至于Ubuntu 15.10则将在大约一个月后收到次更新. 更新方法: 打开Unity Dash,搜索Software