[Ves] About Android.mk and Debugging

Pat Marion pat.marion at kitware.com
Mon Jul 1 10:19:53 EDT 2013


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/20130701/2e2e7dd1/attachment-0001.html>


More information about the Ves mailing list