cat555
Member
|
Android - undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
Hi, when building my Android application, i get this:
Code:
[armeabi-v7a] SharedLibrary : libProject.so
[armeabi] SharedLibrary : libProject.so
[x86] SharedLibrary : libProject.so
[armeabi-v7a] Install : libProject.so => libs/armeabi-v7a/libProject.so
[armeabi] Install : libProject.so => libs/armeabi/libProject.so
/home/cvieira/gamedev/android-ndk-r9c/toolchains/x86-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: ./obj/local/x86/objs/Project/Main.o: in function Car::updateStability():jni/../../Source/Car.cpp:536: error: undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
/home/cvieira/gamedev/android-ndk-r9c/toolchains/x86-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: ./obj/local/x86/objs/Project/Main.o: in function Car::updateStability():jni/../../Source/Car.cpp:537: error: undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
/home/cvieira/gamedev/android-ndk-r9c/toolchains/x86-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: ./obj/local/x86/objs/Project/Main.o: in function Car::updateStability():jni/../../Source/Car.cpp:539: error: undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
/home/cvieira/gamedev/android-ndk-r9c/toolchains/x86-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: ./obj/local/x86/objs/Project/Main.o: in function Car::updateStability():jni/../../Source/Car.cpp:540: error: undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
collect2: ld returned 1 exit status
make: *** [obj/local/x86/libProject.so] Error 1
make: *** Waiting for unfinished jobs....
When using Linux it works fine.
I've already tried to clean/build engine and then clean/build android libs, but i still have undefined references...
|
|
10-23-2014 04:17 PM |
|
Esenthel
Administrator
|
RE: Android - undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
Hi,
I've just committed a fix to the source, this is most probably due to Android for x86 CPU's which doesn't use PhysX yet.
|
|
10-24-2014 01:20 AM |
|
cat555
Member
|
RE: Android - undefined reference to 'EE::Vehicle::wheelCompress(EE::WHEEL_TYPE) const'
Hi, thanks for the fix!
It's working now
|
|
10-24-2014 12:05 PM |
|