Updates README.md for linux build

This commit is contained in:
James Chen 2014-01-07 16:25:37 +08:00
parent d733556270
commit 7b6bdf40f8
1 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,10 @@ Then
$ cd build $ cd build
$ cmake .. $ cmake ..
$ make -j4 $ make -j4
Run
$ bin/mygame
### Build new project for win32 ### ### Build new project for win32 ###
@ -130,6 +134,14 @@ $ cd cocos2d-x/build
$ ./install-deps-linux.sh $ ./install-deps-linux.sh
$ cmake .. $ cmake ..
$ make $ make
```
Run Samples
```
$ bin/hellocpp/hellocpp
or
$ bin/testlua/testlua
``` ```
You may meet building errors when building libGLFW.so. It is because libGL.so directs to an error target, You may meet building errors when building libGLFW.so. It is because libGL.so directs to an error target,