diff --git a/cocos2dx/proj.linux/Makefile b/cocos2dx/proj.linux/Makefile index 009e01d258..bbddb59751 100644 --- a/cocos2dx/proj.linux/Makefile +++ b/cocos2dx/proj.linux/Makefile @@ -165,8 +165,8 @@ OBJECTS = ../actions/CCAction.o \ ../../extensions/GUI/CCControlExtension/CCControlUtils.o \ ../../extensions/GUI/CCControlExtension/CCInvocation.o \ ../../extensions/GUI/CCControlExtension/CCScale9Sprite.o \ - ../../extensions/GUI/CCControlExtension/CCControlPotentiometer.cpp \ - ../../extensions/GUI/CCControlExtension/CCControlStepper.cpp \ + ../../extensions/GUI/CCControlExtension/CCControlPotentiometer.o \ + ../../extensions/GUI/CCControlExtension/CCControlStepper.o \ ../../extensions/network/HttpClient.o \ ../kazmath/src/aabb.o \ ../kazmath/src/plane.o \ diff --git a/make-all-linux-project.sh b/make-all-linux-project.sh index fd421a442e..678567d8fe 100755 --- a/make-all-linux-project.sh +++ b/make-all-linux-project.sh @@ -26,7 +26,8 @@ if ! test -d $DIR_GLEW170/glew-1.7.0/; then DEPENDS+=' libglfw-dev' DEPENDS+=' g++' DEPENDS+=' libzip-dev' - DEPENDS+=' libcurl4-gnutls-dev' + DEPENDS+=' libcurl4-gnutls-dev' + DEPENDS+=' libfontconfig1-dev' for i in $DEPENDS; do echo -e $TXTCOLOR_GREEN"sudo apt-get install $i, please enter your password:"$TXTCOLOR_DEFAULT sudo apt-get install $i @@ -40,15 +41,6 @@ if ! test -d $DIR_GLEW170/glew-1.7.0/; then make -C ./glew-1.7.0/ cd - fi - - DIR_SPIDERMONKEY_LINUX=$COCOS2DX20_TRUNK/scripting/javascript/spidermonkey-linux - if ! test -d $DIR_SPIDERMONKEY_LINUX/js-1.8.5; then - cd $DIR_SPIDERMONKEY_LINUX - echo -e $TXTCOLOR_GREEN"building spidermonkey ..."$TXTCOLOR_DEFAULT; - tar -zxf js185-1.0.0.tar.gz - cd ./js-1.8.5/js/src - ./configure && make - fi fi #OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/Debug/ diff --git a/samples/HelloCpp/proj.linux/.cproject b/samples/HelloCpp/proj.linux/.cproject index 57d73ccd60..6cf45d4792 100644 --- a/samples/HelloCpp/proj.linux/.cproject +++ b/samples/HelloCpp/proj.linux/.cproject @@ -16,13 +16,13 @@ - + - - - + + + - + - + - + - + diff --git a/samples/HelloCpp/proj.linux/main.cpp b/samples/HelloCpp/proj.linux/main.cpp index 74529cfc6d..bb6061e8fe 100644 --- a/samples/HelloCpp/proj.linux/main.cpp +++ b/samples/HelloCpp/proj.linux/main.cpp @@ -1,8 +1,7 @@ #include "main.h" - #include "../Classes/AppDelegate.h" #include "cocos2d.h" -#include "CCEGLView.h" + #include #include diff --git a/samples/TestCpp/proj.linux/.cproject b/samples/TestCpp/proj.linux/.cproject index 872c32dce7..d05b0d5421 100755 --- a/samples/TestCpp/proj.linux/.cproject +++ b/samples/TestCpp/proj.linux/.cproject @@ -16,7 +16,7 @@ - + @@ -58,7 +58,7 @@ - +