<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=euc-kr" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
        MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
        MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
        MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
        LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: ±¼¸²Ã¼, arial; FONT-SIZE: 9pt
}
</STYLE>

<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P> </P>
<P>Hi,Pat Marion</P>
<P> </P>
<P>I changed NDK from v8r to v6. The build error is solved.</P>
<P>I had built PCL for android by v8r. </P>
<P>Do you think I have to compile PCL again by v6?</P>
<P> </P>
<P>thanks,</P>
<P> </P>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : Pat Marion<pat.marion@kitware.com></P>
<P><B>Date</B> : 2012-09-15 03:07 (GMT+09:00)</P>
<P><B>Title</B> : Re: [Ves] Building for Andoird on 12.04 ubuntu</P>
<P> </P>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 style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<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 border=0 src="" width=0 height=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>
<P> </P>
<P> </P>
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:BEI0XT4NZ5JE@namo.co.kr" width=520></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=245c6227ec1d438f710d2cb55c32e50d3c4b8f0202d329c693dc57c71c84c0a8b0dcf340aa3874861935a738688d84007086cce5a9a6e12ca728c55b39cc59eacf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>