[Ves] About Android.mk and Debugging

Ariel Hernán Curiale curiale at gmail.com
Wed Jul 3 05:04:11 EDT 2013


Hi Candemir,

I couldn't find a cool way to use cmake + eclipse + debug for native code. How you said I could debug native code but not using VES and cmake. The only way to debug VES code that I found was creating and empty native android project using eclipse and adding manually all VES libraries. But I give up to find a easy way to do that with cmake.


__________________________________
| Ariel Hernán Curiale Ph.D Student
| ETSI Telecomunicación
| Universidad de Valladolid
| Campus Miguel Delibes
| 47011 Valladolid, Spain
| Phone: 983-423000 ext. 5590
| Web: www.curiale.com.ar
|_________________________________

El 01/07/2013, a las 16:19, Pat Marion escribió:

> I haven't done native debugging with gdb on an Android device.  I would think that it should be possible to setup, without needing Android.mk, or with using a minimal Android.mk.  CMake is only used to compile code, so you can insert any compile flags you need, then you can use the standard android tools to launch the app and debug.
> 
> Pat
> 
> 
> On Mon, Jul 1, 2013 at 10:04 AM, Candemir Doger <cd.doger at gmail.com> wrote:
> Hello,
> 
> I have checked the website. I already managed to make the project work on Eclipse but without "Native Support". I manage to compile and debug other application with Android.mk files which are built by ndk-build.
> However, like in Ariel's case I don't know how to do it with VES and the website does not include anything about native debugging.
> 
> -Candemir
> 
> 
> 
> 
> On Mon, Jul 1, 2013 at 3:55 PM, Pat Marion <pat.marion at kitware.com> wrote:
> You might want to browse the documentation and tutorials provided by the OpenCV project.  They use cmake and the cmake android toolchain in a similar way to the VES project.  You might find something helpful here:
> 
> http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html
> 
> Pat
> 
> 
> On Mon, Jul 1, 2013 at 9:49 AM, Candemir Doger <cd.doger at gmail.com> wrote:
> Hello Ariel,
> 
> I have found your previous mails from VES mailing list:
> http://public.kitware.com/pipermail/ves/2012-November/000168.html
> 
> I would like to ask something; did you configure the VES project succesfully with an Android.mk file and are you able to debug it? I will try to do the same thing but if you already did it I would be happy to re-use it. Would you like to share the Android.mk file and configuration steps.
> 
> If this method is not working is there any other way to debug the native code while the android app is working?
> 
> Thanks in advance.
> -Candemir
> 
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130703/dab9e450/attachment-0002.html>


More information about the Ves mailing list