[cmake-developers] [CMake 0013586]: Not able to compile VES for Android

Mantis Bug Tracker mantis at public.kitware.com
Fri Oct 12 12:11:20 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13586 
====================================================================== 
Reported By:                sushil
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13586
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-12 12:11 EDT
Last Modified:              2012-10-12 12:11 EDT
====================================================================== 
Summary:                    Not able to compile VES for Android
Description: 
Hi,

I'm following steps for Android mentioned here
http://vtk.org/Wiki/VES/Developers_Guide [^] but I'm not able to compile the
code and run the examples.
Please find other details related to configuration below.
1) OS : Ubuntu 12.04 64 bit
2) cmake version 2.8.7
3) NDK version = r6
4) java version "1.6.0_24"
5) g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
6) ia32-libs is installed.

When I run "make -j4" I get following error.

[ 24%] Built target eigen
[ 27%] Performing update step (git fetch) for 'vtk-host'
HEAD is now at 87c63fb... remove vtkftgl dependency from vtkRenderingFreeType
[ 30%] Performing configure step for 'vtk-host'
-- Checking old streams end-of-file bug level
-- Checking old streams end-of-file bug level - failed to compile test
-- Group StandAlone modules:
vtkFiltersGeometry;vtkFiltersSources;vtkFiltersTexture;vtkFiltersProgrammable;vtkFiltersVerdict;vtkFiltersStatistics;vtkFiltersExtraction;vtkFiltersGeneric;vtkFiltersAMR;vtkFiltersParallelStatistics;vtkFiltersHybrid;vtkFiltersCore;vtkFiltersModeling;vtkFiltersImaging;vtkFiltersGeneral;vtkFiltersHyperTree;vtkCommonMisc;vtkCommonSystem;vtkInteractionStyle;vtkIOGeometry;vtkIOExodus;vtkIOSQL;vtkIOMINC;vtkIOExport;vtkIOXML;vtkIOLSDyna;vtkIONetCDF;vtkIOEnSight;vtkIOImport;vtkIOImage;vtkIOCore;vtkIOInfovis;vtkIOPLY;vtkChemistryCore;vtkInfovisCore;vtkInfovisLayout;vtkParallelCore;vtkImagingSources;vtkImagingMorphological;vtkImagingColor;vtkImagingStencil;vtkImagingFourier;vtkImagingStatistics;vtkImagingMath;vtkImagingHybrid;vtkImagingCore;vtkImagingGeneral;vtkChartsCore
-- Group MPI modules:
vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOParallelNetCDF;vtkIOParallelMPI;vtkIOParallel;vtkParallelMPI
-- Group Imaging modules:
vtkFiltersImaging;vtkInteractionImage;vtkRenderingImage;vtkImagingSources;vtkImagingMorphological;vtkImagingColor;vtkImagingStencil;vtkImagingFourier;vtkImagingStatistics;vtkImagingMath;vtkImagingHybrid;vtkImagingGeneral
-- Group Qt modules:
vtkGUISupportQtSQL;vtkGUISupportQtWebkit;vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkRenderingQt;vtkViewsQt
-- Group Rendering modules:
vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingFreeTypeOpenGL;vtkRenderingOpenGL;vtkRenderingFreeType;vtkRenderingAnnotation;vtkRenderingVolumeOpenGL;vtkRenderingContext2D;vtkRenderingLabel;vtkRenderingHybridOpenGL;vtkRenderingLOD;vtkRenderingVolume
-- Group Views modules: vtkViewsContext2D;vtkViewsGeovis
-- Enabled 35 modules:
-- * vtkCommonComputationalGeometry, needed by 2 modules:
-- vtkFiltersGeneral
-- vtkFiltersSources
-- * vtkCommonCore, needed by 2 modules:
-- vtkCommonMath
-- vtkCommonSystem
-- * vtkCommonDataModel, needed by 6 modules:
-- vtkCommonComputationalGeometry
-- vtkCommonExecutionModel
-- vtkIOCore
-- vtkIOGeometry
-- vtkIOImage
-- vtkIOXML
-- * vtkCommonExecutionModel, needed by 5 modules:
-- vtkFiltersCore
-- vtkIOCore
-- vtkIOPLY
-- vtkImagingCore
-- vtkRenderingCore
-- * vtkCommonMath, needed by 7 modules:
-- vtkCommonComputationalGeometry
-- vtkCommonDataModel
-- vtkCommonMisc
-- vtkCommonTransforms
-- vtkFiltersCore
-- vtkIOImage
-- vtkImagingCore
-- * vtkCommonMisc, needed by 8 modules:
-- vtkCommonDataModel
-- vtkCommonExecutionModel
-- vtkFiltersCore
-- vtkIOCore
-- vtkIOGeometry
-- vtkIOImage
-- vtkIOPLY
-- vtkIOXML
-- * vtkCommonSystem, needed by 7 modules:
-- vtkCommonComputationalGeometry
-- vtkCommonDataModel
-- vtkFiltersCore
-- vtkIOGeometry
-- vtkIOImage
-- vtkIOXML
-- vtkImagingCore
-- * vtkCommonTransforms, needed by 5 modules:
-- vtkCommonDataModel
-- vtkFiltersCore
-- vtkIOImage
-- vtkImagingCore
-- vtkRenderingCore
-- * vtkDICOMParser, needed by vtkIOImage.
-- * vtkFiltersCore, requested by Module_vtkFiltersCore.
-- * vtkFiltersExtraction, needed by vtkRenderingCore.
-- * vtkFiltersGeneral, needed by 4 modules:
-- vtkFiltersExtraction
-- vtkFiltersModeling
-- vtkFiltersSources
-- vtkRenderingCore
-- * vtkFiltersGeometry, requested by Module_vtkFiltersGeometry.
-- * vtkFiltersModeling, requested by Module_vtkFiltersModeling.
-- * vtkFiltersSources, requested by Module_vtkFiltersSources.
-- * vtkIOCore, needed by 2 modules:
-- vtkIOGeometry
-- vtkIOXML
-- * vtkIOGeometry, requested by Module_vtkIOGeometry.
-- * vtkIOImage, requested by Module_vtkIOImage.
-- * vtkIOPLY, requested by Module_vtkIOPLY.
-- * vtkIOXML, requested by Module_vtkIOXML.
-- * vtkImagingCore, requested by Module_vtkImagingCore.
-- * vtkMetaIO, needed by vtkIOImage.
-- * vtkParallelCore, requested by Module_vtkParallelCore.
-- * vtkRenderingCore, requested by Module_vtkRenderingCore.
-- * vtkRenderingFreeType, requested by Module_vtkRenderingFreeType.
-- * vtkUtilitiesHashSource, needed by vtkParallelCore.
-- * vtkUtilitiesMaterialLibrary, needed by vtkIOGeometry.
-- * vtkexpat, needed by vtkIOXML.
-- * vtkfreetype, needed by vtkRenderingFreeType.
-- * vtkjpeg, needed by 2 modules:
-- vtkIOImage
-- vtktiff
-- * vtkoggtheora, needed by vtkIOImage.
-- * vtkpng, needed by vtkIOImage.
-- * vtksys, needed by 6 modules:
-- vtkCommonCore
-- vtkCommonSystem
-- vtkDICOMParser
-- vtkIOCore
-- vtkUtilitiesHashSource
-- vtkUtilitiesMaterialLibrary
-- * vtktiff, needed by vtkIOImage.
-- * vtkzlib, needed by 5 modules:
-- vtkIOCore
-- vtkIOGeometry
-- vtkMetaIO
-- vtkpng
-- vtktiff
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host
[ 33%] Performing build step for 'vtk-host'
[ 0%] [ 0%] Built target vtkMaterialLibraryConfiguredFiles
Building CXX object
Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o
[ 1%] [ 1%] Built target vtkzlib
Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o
[ 5%] Built target vtkjpeg
[ 5%] Building CXX object
Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Glob.cxx.o
In file included from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMFile.cxx:25:0:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/DICOMParser/DICOMConfig.h:47:24:
fatal error: iostream.h: No such file or directory
compilation terminated.
make[5]: ***
[Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o] Error 1
make[4]: *** [Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 5%] Building CXX object
Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/RegularExpression.cxx.o
[ 8%] Built target vtkoggtheora
[ 9%] Building CXX object
Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemTools.cxx.o
In file included from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string.hxx:29:0,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string:49,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/RegularExpression.hxx:36,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/RegularExpression.cxx:32:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/ios/iostream:26:23:
fatal error: iostream.h: No such file or directory
compilation terminated.
In file included from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string.hxx:29:0,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string:49,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Directory.cxx:17:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/ios/iostream:26:23:
fatal error: iostream.h: No such file or directory
compilation terminated.
In file included from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string.hxx:29:0,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string:49,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/RegularExpression.hxx:36,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/SystemTools.cxx:20:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/ios/iostream:26:23:
fatal error: iostream.h: No such file or directory
compilation terminated.
In file included from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string.hxx:29:0,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/stl/string:49,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/Glob.hxx:18,
                 from
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/Utilities/KWSys/vtksys/Glob.cxx:13:
/home/sushil/study/pcl/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host/Utilities/KWSys/vtksys/ios/iostream:26:23:
fatal error: iostream.h: No such file or directory
compilation terminated.
make[5]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o]
Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: ***
[Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/RegularExpression.cxx.o] Error 1
make[5]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemTools.cxx.o]
Error 1
make[5]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Glob.cxx.o] Error 1
make[4]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [CMakeExternals/Stamp/vtk-host/vtk-host-build] Error 2
make[1]: *** [CMakeFiles/vtk-host.dir/all] Error 2
make: *** [all] Error 2
sushil at sushil:~/study/pcl/VES/Apps/Android/CMakeBuild/build$ cmake --version
cmake version 2.8.7
sushil at sushil:~/study/pcl/VES/Apps/Android/CMakeBuild/build$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sushil/android-sdk-linux/platform-tools:/home/sushil/android-sdk-linux/tools:/home/sushil/android-ndk-r6
sushil at sushil:~/study/pcl/VES/Apps/Android/CMakeBuild/build$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
sushil at sushil:~/study/pcl/VES/Apps/Android/CMakeBuild/build$ g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-12 12:11 sushil         New Issue                                    
======================================================================




More information about the cmake-developers mailing list