c++ - Can't Clean Box2D from my Eclipse Android Project -


i new eclipse/android. have cocos2d-x project , have added box2d based on responses http://www.cocos2d-x.org/boards/6/topics/20827.

when project/clean/(clean projects) get

clean: box2d_static [armeabi]

rm -rf (target_objs)

/bin/sh: -c: line 0: syntax error near unexpected token `('

i haven't been able find rm -rf (target_objs) line in shell scripts, have no idea error coming from.

my hunch may mixing copy of box2d source in project copy in cocos2d-x home folder.

here full build output, followed android.mk project.

11:19:03 ** clean-only build of configuration default project racerx ** bash /users/paul/projects/racerx/proj.android/build_native.sh ndk_debug=1 v=1 clean

ndk_root = /users/paul/tools/android-ndk-r8e

cocos2dx_root = /users/paul/tools/cocos2d-x-2.1.4

app_root = /users/paul/projects/racerx/proj.android/..

app_android_root = /users/paul/projects/racerx/proj.android

using prebuilt externals

make: entering directory `/users/paul/projects/racerx/proj.android'

clean: box2d_static [armeabi]

rm -rf (target_objs)

/bin/sh: -c: line 0: syntax error near unexpected token `('

make: leaving directory `/users/paul/projects/racerx/proj.android'

/bin/sh: -c: line 0: `rm -rf (target_objs)'

make: * [clean-box2d_static-armeabi] error 2

11:19:03 build finished (took 481ms)

my android.mk:

local_path := $(call my-dir)

include $(clear_vars)

local_module := game_shared

local_module_filename := libgame

local_src_files := hellocpp/main.cpp \ ../../classes/bike.cpp \ ../../classes/terrain.cpp \ ../../classes/appdelegate.cpp \ ../../classes/worldlayer.cpp \ ../../classes/gles-render.cpp

local_c_includes := $(local_path)/../../classes \ ../racerx/libs/box2d

local_whole_static_libraries := cocos2dx_static cocosdenshion_static cocos_extension_static box2d_static include $(build_shared_library)

$(call import-module,cocosdenshion/android) \ $(call import-module,cocos2dx) \ $(call import-module,external/box2d) \ $(call import-module,extensions)


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -