« Previous -
Version 3/23
(diff) -
Next » -
Current version
Minggo Zhang, 2011-09-20 02:56
How to run HelloWorld and tests on linux¶
This document will describe how to run HelloWorld and tests on linux.
1. Set up environment¶
- get cocos2d-x source code
- get latest code from git
- get released version
- install needed libs
sudo apt-get install libjpeg8.dev freeglut3-dev libgl1-mesa-dev libglfw-dev zlib
2. Run with makefile¶
3. Run with eclipse¶
- install jdk
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get update sudo apt-get install sun-java6-jdk
- install eclipse
- install cdt plugin
4. Run on android emulator¶
- install android sdk