[Ves] Building for Andoird on 12.04 ubuntu
Pat Marion
pat.marion at kitware.com
Fri Sep 14 14:07:05 EDT 2012
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:
toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/g++
Pat
On Thu, Sep 13, 2012 at 2:36 AM, 신승영 <sy8096.shin at samsung.com> wrote:
>
>
> Hi, All
>
>
>
> I'm tired to build VES for android on 12.04 Ubuntu 32bit.
>
> I had setted NDK r8 environment variable: "export ANDROID_NDK=my ndk path"
>
> I also followed below instruction.
>
> export ANDROID_NDK=/path/to/android-ndk-r6
> cd Apps/Android/CMakeBuild
> cmake -P configure.cmake
> cd build
> make -j4
>
>
>
> I get lot of error
>
>
>
> Coud you tell me what I have to do something?
>
>
>
> thanks
>
> ---------------------------------------
>
>
>
> -- Build files have been written to:
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android
> [ 54%] Performing build step for 'vtk-android'
> [ 0%] Built target vtkMaterialLibraryConfiguredFiles
> [ 1%] [ 2%] Built target vtkzlib
> Building CXX object
> Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o
> [ 2%] [ 2%] Building CXX object
> Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMParser.cxx.o
> Building CXX object
> Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o
> In file included from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:25:
> /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
> /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
> /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
> In file included from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:26:
> /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
> In file included from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.cxx:28:
> /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
> /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:
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/string:36:18:
>
> error: string: No such file or directory
> /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
> In file included from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMParser.cxx:29:
> /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
> /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
> /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
> 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,
> from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/Utilities/KWSys/vtksys/stl/string:49,
> from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Directory.cxx:17:
> /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
> Built target vtkjpeg
> 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:
> /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
> In file included from
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:26:
> /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
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:54:
> error: expected ')' before '&' token
> /home/robot/pcl-trunk/mobile_apps/android/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.h:54:
> error: expected ';' before '&' token
> [ 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
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20120914/9bd364ee/attachment-0002.html>
More information about the Ves
mailing list