I have seen this type of error before, and it's caused by a misconfigure of vtk because the android ndk is not working properly. Can you tell me exactly which NDK version you have? Try NDK v8 or v7b, but not v8b. Also, try cd'ing into the ndk directory and locating the g++ compiler, and try running that without any arguments to make sure it's working. For me, it is located in the NDK at:<br>
<br>toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/g++<br><br>Pat<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 2:36 AM, 신승영 <span dir="ltr"><<a href="mailto:sy8096.shin@samsung.com" target="_blank">sy8096.shin@samsung.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><br><br>Hi, All</p>
<p> </p>
<p>I'm tired to build VES for android on 12.04 Ubuntu 32bit.</p>
<p>I had setted NDK r8 environment variable: "export ANDROID_NDK=my ndk path"</p>
<p>I also followed below instruction.</p>
<p> export ANDROID_NDK=/path/to/android-ndk-r6</p>
<div> cd Apps/Android/CMakeBuild</div>
<div> cmake -P configure.cmake</div>
<div> cd build</div>
<div> make -j4</div>
<div>
<p> </p>
<p>I get lot of error</p>
<p> </p>
<p>Coud you tell me what I have to do something?</p>
<p> </p>
<p>thanks</p>
<p>---------------------------------------</p></div>
<p> </p>
<p>-- Build files have been written to: /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android<br>[ 54%] Performing build step for 'vtk-android'<br>[ 0%] Built target vtkMaterialLibraryConfiguredFiles<br>
[ 1%] [ 2%] Built target vtkzlib<br>Building CXX object Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o<br>[ 2%] [ 2%] Building CXX object Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMParser.cxx.o<br>
Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o<br>In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:25:<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:47:24: error: iostream.h: No such file or directory<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:48:23: error: fstream.h: No such file or directory<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:49:23: error: iomanip.h: No such file or directory<br>In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:26:<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:33:18: error: string: No such file or directory<br>In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.cxx:28:<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:47:24: error: iostream.h: No such file or directory<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:48:23: error: In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Directory.cxx:17fstream.h: No such file or directory:<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/string:36:18: <br>error: string: No such file or directory<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:49:23: error: iomanip.h: No such file or directory<br>
In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.cxx:29:<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.h:33:15:[ 5%] error: map: No such file or directory<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.h:34:19: error: utility: No such file or directory<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.h:35:18: error: vector: No such file or directory<br>
In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/string.hxx:29,<br> from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/string:49,<br>
from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Directory.cxx:17:<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/ios/iostream:26:23: error: iostream.h: No such file or directory<br>
Built target vtkjpeg<br>In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Directory.cxx:18:<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/vector:36:18: error: vector: No such file or directory<br>
In file included from /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:26:<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:54: error: expected unqualified-id before '&' token<br>
/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:54: error: expected ')' before '&' token<br>/home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:54: error: expected ';' before '&' token<br>
[ 5%] /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:238: error: 'ifstream' in namespace '::' does not name a type<br>
</p></div><img src="" height="0" border="0" width="0"><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>
<br></blockquote></div><br>