<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLChar
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>Thank you. I followed the old instruction material. I will try with this instruction.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Aashish Chaudhary [mailto:aashish.chaudhary@kitware.com] <br><b>Sent:</b> Tuesday, December 10, 2013 6:16 PM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> ves@public.kitware.com<br><b>Subject:</b> Re: [Ves] Compile error of Android KiwiViewer<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Did you follow Bill's instructions here: <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>These steps should work:<br><br><br>Download this:<br></span><span lang=EN-US><a href="http://developer.android.com/sdk/index.html" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://developer.android.com/sdk/index.html</span></a></span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br><br>Then the NDK<br></span><span lang=EN-US><a href="http://developer.android.com/tools/sdk/ndk/index.html" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://developer.android.com/tools/sdk/ndk/index.html</span></a></span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br><br>Get a copy of VES<br>git clone git://</span><span lang=EN-US><a href="http://vtk.org/stage/VES.git" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>vtk.org/stage/VES.git</span></a></span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>git checkout improve_ves_android<br><br>Configure VES with CMake<br>****** This is important, you must run a Visual Studio build command prompt shell<br>open a VS build shell<br>set ANDROID_NDK=c:\Users\hoffman\android-windows\android-ndk-r9<br>run cmake use full path to your install of cmake<br>cmake-gui  (must be 2.8.12.1)<br><br>Turn on VES_ANDROID_SUPERBUILD<br>Run nmake.<br><br><br>Build Kiki:<br>Run cmake-gui on Kiwi, be sure to use toolchain option  (specify toolchain for cross-compiling)<br>Use the full path to VES/CMake/toolchains/android.toolchain.cmake<br><br>You will also need to set these variables:<br>VTK_DIR to VES-build/CMakeExternals/Build/vtk-android<br>VES_DIR = VES-build/CMakeExternals/Build/ves-android<br>ANT_EXECUTABLE=C:/full/path/to/android-windows/adt-bundle-windows-x86_64-20130917/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant.bat<br>ANDROID_EXECUTABLE:FILEPATH=c:/full/path/to/android-windows/adt-bundle-windows-x86_64-20130917/sdk/tools/android.bat<br><br>ANDROID_TARGET has bad default should fix this, have to change to this<br>android-18</span><span lang=EN-US><o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>On Tue, Dec 10, 2013 at 3:55 AM, Xiaopeng Yang <<a href="mailto:yxp233@postech.ac.kr" target="_blank">yxp233@postech.ac.kr</a>> wrote:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>Dear VES users,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'> </span><span lang=EN-US><o:p></o:p></span></p><pre><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>I am trying to compile Android KiwiViewer under windows 7 64 bit. I succeeded in </span><span lang=EN> configure_cmake.bat</span><span lang=EN-US><o:p></o:p></span></pre><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN style='font-family:SimSun'>configure_ant.bat</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN style='font-family:SimSun'> </span><span lang=EN-US><o:p></o:p></span></p><pre><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>b</span><span lang=EN>u</span><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>t failed at </span><span lang=EN> compile.bat </span><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>step.</span><span lang=EN-US><o:p></o:p></span></pre><pre><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'> </span><span lang=EN-US><o:p></o:p></span></pre><pre><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>Can anybody tell me how to solve the problem please?</span><span lang=EN-US><o:p></o:p></span></pre><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN style='font-family:SimSun'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>Thanks,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'>Xiaopeng</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'><img border=0 width=677 height=729 id="_x0000_i1025" src="cid:image002.png@01CEF5E2.92E5C9B0"></span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#44546A'><img border=0 width=677 height=1386 id="_x0000_i1026" src="cid:image003.png@01CEF5E2.92E5C9B0"></span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br>_______________________________________________<br>Ves mailing list<br><a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-US>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    <o:p></o:p></span></p></div></div></body></html>