[gecode-users] Gecode version with ANDROID NDK ?

Guido Tack tack at gecode.org
Sat Oct 12 01:42:19 CEST 2013


Hi,

we don't have plans to support the Android NDK (we simply don't have the resources right now to adapt and test everything on every possible system).  But of course if you manage to create a patch that would make Gecode work with the NDK, that would be very welcome and we may include it in the main distribution.

Technically I believe the pthread API in Android is a bit limited compared to full posix threads, so I'm not even sure it can be done. Alternatively you could switch off thread support altogether.  Currently configure just checks for the presence of pthread.h, but if you simply remove the call to AC_GECODE_THREADS from configure.ac and run autoconf, configure, make, this might work.  Please let me know, if this solves the problem I'll add a configure switch to disable thread support entirely.

Cheers,
Guido

On 12/10/2013, at 1:28 AM, christine bouzant <christine.bouzant at gmail.com> wrote:

> Hello all,
> 
> I'd like to know if it is planned to make a version compatible with the android ndk ?
> It seems that the case for the NDK's pthread.h is not implemented and so an application cannot compile. Unless there is something wrong in my configuration...
> 
> Best regards,
> 
> Christine
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-- 
Guido Tack,
http://www.csse.monash.edu/~guidot/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20131012/19d29f0b/attachment.html>


More information about the users mailing list