Porting NTL for C++ software dev using NDK

Put problems with the Android NDK in this forum.

Porting NTL for C++ software dev using NDK

Postby devBev » Sun Jan 09, 2011 1:02 am

I am interested in using the number theory library (NTL) for developing C++ Android software, but I don't believe NTL is supported by NDK. What could I do so I can use NTL?
devBev
Freshman
Freshman
 
Posts: 2
Joined: Sun Jan 09, 2011 12:53 am

Top

Re: Porting NTL for C++ software dev using NDK

Postby jonbonazza » Sun Jan 09, 2011 5:49 am

If the source for the library is available, then you could place the soruce in with your native code and compile it into the same library.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Re: Porting NTL for C++ software dev using NDK

Postby devBev » Thu Jan 13, 2011 9:04 pm

Thanks for the idea. I tried doing that but the NTL Library has dependencies such as iostream which for some reason doesn't appear to be supported by NTL. Is there a suggestion on how to deal with this?

Thanks.
devBev
Freshman
Freshman
 
Posts: 2
Joined: Sun Jan 09, 2011 12:53 am

Re: Porting NTL for C++ software dev using NDK

Postby jonbonazza » Wed Jan 19, 2011 8:29 pm

look here:
http://smartctl.net/android/ndk-r4.php

It's a modified version fo teh NDK that has support for the full STL library (including iostream).
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 2 guests