How to build C++ library within android build system

by kalikali » Wed, 02 Dec 2009 02:30:52 GMT


Sponsored Links
 Hi all,

As i know, android has a mini version support on C++ library. But I
have a third party source code that implement by C++ and use more
library than android support. How can I build the third party library
within android build system and work fine?  I try to modify make file
to build but fail in linking process, this just because i don't use
the --no-undefined parameter in compiler process. If I use the --no-
undefined parameter in compiler process, shared library can be built
out but fail in library loading process

Is there any one can give me a way to solve this problem?  I think
this kind of problem will confuse many android porting guys....

Best regards
Michael

-- 



How to build C++ library within android build system

by kalikali » Wed, 02 Dec 2009 02:31:04 GMT


 Hi all,

As i know, android has a mini version support on C++ library. But I
have a third party source code that implement by C++ and use more
library than android support. How can I build the third party library
within android build system and work fine?  I try to modify make file
to build but fail in linking process, this just because i don't use
the --no-undefined parameter in compiler process. If I use the --no-
undefined parameter in compiler process, shared library can be built
out but fail in library loading process

Is there any one can give me a way to solve this problem?  I think
this kind of problem will confuse many android porting guys....

Best regards
Michael

-- 


Sponsored Links


How to build C++ library within android build system

by RaviY » Wed, 02 Dec 2009 09:20:11 GMT


 Why don't you build and link everything that is not defined in
Anrdoid?
What are the libraries that you think are missing in Android?
More details would help you get a solution faster.

-Ravi




-- 



Other Threads

1. Kenapa ?

Kenapa sepi...
--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

2. Issue with Android Location

Hi I'm new to Android and I am trying to get a simple location
application working. The app, lifted from a book, aims to just display
the longitude and latitude in two text boxes. However when i try to
access the location object to get the two values the application
crashes. The code is displayed bellow:

        //get handle for LocationManager
        lm = (LocationManager) getSystemService
(Context.LOCATION_SERVICE);

        //connect to the GPS LocationManager
        loc = lm.getLastKnownLocation("gps");

        //fill in the TextViews
        tvLatitude.setText(Double.toString(loc.getLatitude()));
        tvLongitude.setText(Double.toString(loc.getLongitude()));


If however i do (bellow) the app runs fine

         //fill in the TextViews
        tvLatitude.setText(Double.toString(10.01));
        tvLongitude.setText(Double.toString(10.01));

I'm trying to run the app using the eclipse avd and Android 1.6 - api
level 4.

Anyone have any ideas why this is happening?


-- 

3. Gaming on android - somewhat disappointing...

4. Help with creating a sport scoring application

5. Root access and legality...

6. getApplicationContext() & AlertDialog.Builder

7. Changing an image when clicked