Android Port

partyk1d24
Posts: 3
Joined: Mon May 27, 2013 10:24 pm

Android Port

Post by partyk1d24 »

I am interested in an Android port, however, I am fairly new to CPP. I am trying to compile one src Folder at a time, I started with LinearMath and that worked fine. I then went to MiniCL, however, I get the following error...
/Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/me/Development/porting/ported/bullet/obj/local/armeabi/objs/bullet/src/MiniCL/MiniCL.o: in function clCreateContextFromType:/Users/me/Development/porting/ported/bullet/jni/src/MiniCL/MiniCL.cpp:697: error: undefined reference to 'PosixThreadSupport::PosixThreadSupport(PosixThreadSupport::ThreadConstructionInfo&)'
/Users/me/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/me/Development/porting/ported/bullet/obj/local/armeabi/objs/bullet/src/MiniCL/MiniCL.o: in function clCreateContextFromType:/Users/me/Development/porting/ported/bullet/jni/src/MiniCL/MiniCL.cpp:677: error: undefined reference to 'SequentialThreadSupport::SequentialThreadSupport(SequentialThreadSupport::SequentialThreadConstructionInfo&)'
collect2: ld returned 1 exit status


I know there are some core differences between the Android LibC (BionC) and the normal LibC and that much of that revolve around POSIX compliance. Is there a particularly easy way around this one or will it require a larger amount of POSIX understanding?

Thanks
partyk1d24
Posts: 3
Joined: Mon May 27, 2013 10:24 pm

Re: Android Port

Post by partyk1d24 »

NM good ole' commenting out worked, is there a cleaner solution I am really new at the Make file stuff?
partyk1d24
Posts: 3
Joined: Mon May 27, 2013 10:24 pm

Re: Android Port

Post by partyk1d24 »