Problem Building dschaefer / android-box2d
Posted
by Qwark
on Stack Overflow
See other posts from Stack Overflow
or by Qwark
Published on 2010-05-15T11:33:45Z
Indexed on
2010/05/15
12:04 UTC
Read the original article
Hit count: 440
I'm trying to build dschaefer android-box2d, and did follow the recipe. I do get this error when trying to build the TestBox2d with eclipse:
make all /cygdrive/c/android/android-ndk-r3/build/prebuilt/windows/arm-eabi-4.2.1/bin/arm-eabi-ld \ -nostdlib -shared -Bsymbolic --no-undefined \ -o obj/libtest.so obj/test.o -L../box2d/lib/android -lbox2d \ -L/cygdrive/c/android/android-ndk-r3/build/platforms/android-3/arch-arm/usr/lib \ -llog -lc -lstdc++ -lm \ /cygdrive/c/android/android-ndk-r3/build/prebuilt/windows/arm-eabi-4.2.1/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a \
/cygdrive/c/android/android-ndk-r3/build/prebuilt/windows/arm-eabi-4.2.1/bin/arm-eabi-ld: cannot find -lbox2d make: * [obj/libtest.so] Error 1
The only thing I did change was in the TestBox2d\Makefile where i did change the path to the NDK.
There are some other that have the same problem HERE but I do not know how to fix it.
© Stack Overflow or respective owner