Boost C++ Library on Android

196 views
Skip to first unread message

tantdyalf

unread,
Dec 7, 2009, 7:29:18 PM12/7/09
to android-ndk
I have had success porting several 3rd party C and C++ libraries to
the NDK (Android 1.5 / 16 NDK) thanks to the included documentation
and helpful internet postings from people outside of Android.

I am about to start on a new one, and this one requires Boost:

#include "boost/lexical_cast.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/version.hpp>
#include <boostext/md5.hpp>

Was curious if anyone has tried this and has any thoughts. Is the
shared_ptr (memory management) stuff going to be impossible?

Having had success with STL and some other pretty big libraries--with
a lot of ups and downs--I am cautiously optimistic.

There doesn't seem to be very much chatter about Boost, excepting some
references from the Gnash project, which makes me think this will be
difficult.

Thoughts?

If I succeed I will post how.


IvanIvanSpb

unread,
Jan 9, 2010, 11:35:02 AM1/9/10
to android-ndk
How is it going?
I need <boost/shared_ptr.hpp> in my program. But got compilation
error.
Reply all
Reply to author
Forward
0 new messages