<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 19, 2014 at 2:19 PM, Daniel Fuentes <span dir="ltr"><<a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000"><div><p>Hi Aashish. You have right about the enviroment variable.<br>
Sorry about that, I tried again with explicit path and works ok.<br>VES and Kiwi are compiled ok.</p><p>A question, are build using the libraries for android using like target x86 architecture?</p></div></div></div></blockquote>
<div><br></div><div>With the newer NDK, it shouldn't. The old one was using the x86 If I understood your question correctly. </div><div><br>Thanks for the feedback. </div><div><br></div><div>- Aashish</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000"><div class=""><div><br></div><div><span name="x"></span>Daniel Fuentes<br>
Software del Centro<br><a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a><br><div><br></div>(0249)430-5085<br>Int 1103<span name="x"></span><br></div><div>
<br></div><hr></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>De: </b>"Aashish Chaudhary" <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>><br>
<b>Para: </b>"Daniel Fuentes" <<a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a>><br><b>CC: </b><a href="mailto:ves@public.kitware.com" target="_blank">ves@public.kitware.com</a><br>
<b>Enviados: </b>Lunes, 19 de Mayo 2014 14:24:22<br><b>Asunto: </b>Re: [Ves] problems building ves for android (Aashish Chaudhary)<div><div class="h5"><br><div><br></div><div dir="ltr">It didn't find toolchain file. (<span style="font-family:arial,sans-serif;font-size:13px">$VES_SRC/CMake/toolchains/</span><span style="font-family:arial,sans-serif;font-size:13px">android.toolchain.cmake) </span><span style="font-family:arial,sans-serif;font-size:13px">I don't think you can use environment variable. </span><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br>Can you try it without it? </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">- Aashish</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><div><br></div><div class="gmail_quote">On Mon, May 19, 2014 at 9:49 AM, Daniel Fuentes <span dir="ltr"><<a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Aashish, I tried compile ves from your patch *android_cmake_fixes* (according to the steps that I described to Mohammad before).<br>
 VES source compile ok.<br> But when I tried Kiwi, I had the next error messages:<br> <br> <br> $ cd  $VES_SRC/Apps/Android/Kiwi/jni<br> $ cmake -DCMAKE_TOOLCHAIN_FILE=\$VES_SRC/CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=8 -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR .<br>
 CMake Error at /home/daniel.fuentes/local/opt/cmake-2.8.12.2/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:99 (message):<br>   Could not find toolchain file:<br>   $VES_SRC/CMake/toolchains/android.toolchain.cmake<br>
 Call Stack (most recent call first):<br> <br> <br> <br> CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br> Missing variable is:<br> CMAKE_C_COMPILER_ENV_VAR<br> CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
 Missing variable is:<br> CMAKE_C_COMPILER<br> CMake Error: Could not find cmake module file: /home/daniel.fuentes/local/proys/plavmovil/ves/VES.stage/Apps/Android/Kiwi/jni/CMakeFiles/<a href="http://2.8.12.2/CMakeCCompiler.cmake" target="_blank">2.8.12.2/CMakeCCompiler.cmake</a><br>
 CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br> Missing variable is:<br> CMAKE_CXX_COMPILER_ENV_VAR<br> CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
 Missing variable is:<br> CMAKE_CXX_COMPILER<br> CMake Error: Could not find cmake module file: /home/daniel.fuentes/local/proys/plavmovil/ves/VES.stage/Apps/Android/Kiwi/jni/CMakeFiles/<a href="http://2.8.12.2/CMakeCXXCompiler.cmake" target="_blank">2.8.12.2/CMakeCXXCompiler.cmake</a><br>
 CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage<br> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage<br> -- Configuring incomplete, errors occurred!<br> <br> I used cmake 2.8.12.2 and android ndk r9c, but the same oucurrs with cmake 2.8.9.<br>
 Regards<br> <br> <br> Daniel Fuentes<br> Software del Centro<br> <a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a><br> <br> (0249)430-5085<br> Int 1103<br>
 _______________________________________________<br> Ves mailing list<br> <a href="mailto:Ves@public.kitware.com" target="_blank">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><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span face="trebuchet ms, sans-serif" style="font-family:'trebuchet ms',sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>
| Kitware Inc.            <br></i></span><div><i><span face="trebuchet ms, sans-serif" style="font-family:'trebuchet ms',sans-serif">| </span><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></div><div><br></div></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>