<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><br><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">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">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"><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>