[Ves] Building and Debugging with an IDE
Candemir Doger
cd.doger at gmail.com
Fri Jun 28 04:35:24 EDT 2013
Hi Carlos,
Thank you for the answer, I am experienced in Android development but I
still find it hard to combine the ves library and the android project in
Eclipse with all the makefiles and stuff. So you used visual studio for
compiling that's ok.. but you can't put a breakpoint in that while an
android app is working in your phone right? So are you basically making the
modifications in the windows side checking it and importing them to android?
I am actually trying to migrate the build process from build files to the
android ndk-build. Then maybe I can try ndk-gdb:
http://tools.android.com/recent/usingthendkplugin
I am still open for other suggestions thanks =)
On Thu, Jun 27, 2013 at 10:34 PM, Carlos <ves at calculoandamios.com> wrote:
> Hi,****
>
> ** **
>
> My experience on this issue is the following:****
>
> ** **
>
> **· **Ves/Kiwi is my first approach to develop mobile apps, both
> for Android an IOS, so I’m not an experienced mobile developer.****
>
> **· **I have never used before Eclipse nor Xcode in Mac. I mainly
> use Visual Studio.****
>
> **· **I started as you compiling Kiwi for android in Windows
> using the Developers guide.****
>
> **· **Then I created an Eclipse project to modify the project.
> For this I imported the Kiwi project for Android. I remember it was not too
> much difficult.****
>
> **· **Even I’m pretty sure it is possible to create an Eclipse
> project for the VES library, I was not able to create it. I found a lot of
> problems with the headers and libraries related with the ARM7.****
>
> **· **In order to debug some modifications in the VES code, I
> used visual studio to compile the Windows desktop version of Kiwi. At this
> point the help given by Joachim Pouderoux in this list was crucial. You can
> check previous emails.****
>
> **· **For creating a VS project I just created a library project
> for each library (Kiwi / VES / VesShaders) and I added all the .cpp files.
> I did not remember big problems to solve the errors that appeared. In this
> way you do not need the superbuild and you are able to debug your app.****
>
> ** **
>
> Recently I started using Xcode in IOS and it is also quite easy to create
> a project from the scratch and it has the advantage that the interaction
> with the app is more natural that in the desktop version.****
>
> ** **
>
> ** **
>
> So I would say that in theory it is possible to create an eclipse project
> for building the Ves libraries but medium / advanced android develop
> knowledge using Eclipse is required. If not I would recommend you to
> compile the Desktop version and check there your changes. Then you can use
> Eclipse for the debugging the java code.****
>
> ** **
>
> Hope this helps.****
>
> ** **
>
> Carlos****
>
> ** **
>
> *De:* ves-bounces at public.kitware.com [mailto:
> ves-bounces at public.kitware.com] *En nombre de *Candemir Doger
> *Enviado el:* miércoles, 26 de junio de 2013 14:58
> *Para:* ves at public.kitware.com
> *Asunto:* [Ves] Building and Debugging with an IDE****
>
> ** **
>
> Hello all,****
>
> ** **
>
> I have succesfully compiled VES and run the Kiwi application from Eclipse
> by following the instructions here:
> http://www.vtk.org/Wiki/VES/Developers_Guide_(Windows)****
>
> ** **
>
> However, I would like to create an IDE setup to rapidly make code changes
> in kiwi and ves-android source code and debug these changes (if possible).
> Thus, I tried to create Eclipse project files with CMake and I imported it.
> However, there were problems during the build process. ****
>
> ** **
>
> I will not mentioned about the problems I encounter during the Eclipse
> import but I would like to ask some simple questions:****
>
> ** **
>
> 1- Would it be possible for me to debug the ves-android application from
> Eclipse? e.g. running the Android app and putting a breakpoint in
> ves-android source code to see when it's called.****
>
> ** **
>
> 2- Can I add the ves-android project(if I can add it to Eclipse) to the
> android ndk project (the real android project) as a reference in Eclipse?
> So when I make a change in the ves-android code the ndk project gets
> compiled again?****
>
> ** **
>
> Previously I worked with android ndk and created a good Eclipse setup with
> autocompletion and auto-build features but I am not sure if it is possible
> with an additional project, in this case ves-android.****
>
> ** **
>
> I am looking forward for some answers or at least someone can say it's not
> possible and I can manually build the ves-code from command console and run
> the android application from eclipse.****
>
> ** **
>
> Thanks.****
>
> -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/20130628/d1701a31/attachment-0001.html>
More information about the Ves
mailing list