diff --git a/README.md b/README.md index 1cfd3a014d..2b1a5fa297 100644 --- a/README.md +++ b/README.md @@ -97,11 +97,12 @@ $ open samples.xcodeproj * For Linux ``` -$ cd cocos2d-x -$ cmake CMakeLists.txt -$ make +$ cd cocos2d-x/build +$ ./make-all-linux-project.sh ``` +You may meet building errors when building libGLFW.so. It is because libGL.so directs to an error target, you should make it to direct to a correct one. + * For Windows Open the `cocos2d-x/build/cocos2d-win32.vc2012.sln`