<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Well, I¡¯m quite proud to say, it works, finally.</div>
<div><br>
</div>
<div>I can now set breakpoints in Eclipse! The scripting to pull the code into the right places is documented on my GitHub project:</div>
<div><a href="https://github.com/palmerc/VES-Kiwi-NDK">https://github.com/palmerc/VES-Kiwi-NDK</a></div>
<div><br>
</div>
<div>I still need to clean this up further, do some better organization and apply it to our custom version, but I might actually meet my self imposed deadline to finish my first paper next month.</div>
<div><br>
</div>
<div>The work done here on VTK is super valuable. It would be a pity if it stays locked behind cmake.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>mandag 27. oktober 2014 19.53<br>
<span style="font-weight:bold">To: </span>Cameron Lowell Palmer <<a href="mailto:cameron.palmer@ntnu.no">cameron.palmer@ntnu.no</a>><br>
<span style="font-weight:bold">Cc: </span>Bill Hoffman <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>>, "<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>" <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [vtk-developers] VES-Kiwi<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">FYI: Most (if not all) of the debugging we did was using command line tools (some of them generates stack trace which can be viewed in the eclipse plugin (specially the OpenGL ones). 
<div><br>
</div>
<div>- Aashish</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Oct 27, 2014 at 9:55 AM, Cameron Lowell Palmer <span dir="ltr">
<<a href="mailto:cameron.palmer@ntnu.no" target="_blank">cameron.palmer@ntnu.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That is what I don©öt get, how was the original Kiwi C++ code debugged on<br>
Android?<br>
<br>
I would be happy if cmake could generate a Makefile that just output a<br>
hierarchy of source and Android.mk files.<br>
<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
On 27.10.14, 14.28, "Bill Hoffman" <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>> wrote:<br>
<br>
>On 10/25/2014 5:26 AM, Cameron Lowell Palmer wrote:<br>
>><br>
>> Let me illustrate. <a href="https://www.youtube.com/watch?v=kjsC-lKUgM8" target="_blank">
https://www.youtube.com/watch?v=kjsC-lKUgM8</a> is a<br>
>> video from Intel demonstrating debugging the NDK with Eclipse. This is a<br>
>> great resource for getting started with this problem, but it is<br>
>> unworkable because cmake creates a build directory with a project that<br>
>> is effectively just a binary with no source. I think it is important to<br>
>> address in the roadmap leveraging the Best Practices for the supported<br>
>> targets.<br>
>><br>
>> At least that is my current thinking.<br>
>The idea would be to continue to enhance CMake to support the mobile<br>
>IDEs better as time moves forward.  We need something that is seamless<br>
>across windows, mac, and Linux, and works with iOS and Android.  Having<br>
>to maintain N different IDE files in VTK will never work.   NVIDIA has<br>
>been working on adding this type of support to CMake:<br>
><br>
><a href="http://www.cmake.org/pipermail/cmake-developers/2014-September/011308.html" target="_blank">http://www.cmake.org/pipermail/cmake-developers/2014-September/011308.html</a><br>
><br>
>We worked some to get the build and debugging working with Eclipse here:<br>
><a href="http://www.kitware.com/blog/home/post/642" target="_blank">http://www.kitware.com/blog/home/post/642</a><br>
><br>
>Ditching CMake does not make sense for VTK, it is how VTK is developed.<br>
>  CMake does need some enhancements to make it work better with mobile<br>
>development environments.  Working on enhancing CMake would be a much<br>
>better place to put effort than to have multiple build systems inside<br>
>VTK-VES.<br>
><br>
>-Bill<br>
><br>
><br>
>--<br>
>Bill Hoffman<br>
>Kitware, Inc.<br>
>28 Corporate Drive<br>
>Clifton Park, NY 12065<br>
><a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a><br>
><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
><a href="tel:518%20881-4905" value="+15188814905">518 881-4905</a> (Direct)<br>
><a href="tel:518%20371-3971%20x105" value="+15183713971">518 371-3971 x105</a><br>
>Fax <a href="tel:%28518%29%20371-4573" value="+15183714573">(518) 371-4573</a><br>
>_______________________________________________<br>
>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
>Visit other Kitware open-source projects at<br>
><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
>Follow this link to subscribe/unsubscribe:<br>
><a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><font face="trebuchet ms,sans-serif"><i>| Aashish Chaudhary <br>
| Technical Leader         <br>
| Kitware Inc.            <br>
</i></font>
<div><i><font face="trebuchet ms,sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>