View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013586 | CMake | CMake | public | 2012-10-12 12:11 | 2013-03-04 08:38 | ||||
Reporter | sushil | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Android | OS | Ubuntu | OS Version | 12.04 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013586: 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@sushil:~/study/pcl/VES/Apps/Android/CMakeBuild/build$ cmake --version cmake version 2.8.7 sushil@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@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@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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0031224) Pat Marion (reporter) 2012-10-12 12:31 |
Hi Sushil, As I said in the VES bug report, please ask for compile help on the mailing list before posting to the bug tracker. The issue is likely a configuration problem with your environment. Please try downloading the latest Android NDK r8b and use the latest version of VES from the master branch. Pat |
(0031225) Brad King (manager) 2012-10-12 13:55 |
This is the CMake issue tracker, not VES. |
(0032470) Robert Maynard (manager) 2013-03-04 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-10-12 12:11 | sushil | New Issue | |
2012-10-12 12:31 | Pat Marion | Note Added: 0031224 | |
2012-10-12 13:55 | Brad King | Note Added: 0031225 | |
2012-10-12 13:55 | Brad King | Status | new => resolved |
2012-10-12 13:55 | Brad King | Resolution | open => no change required |
2013-03-04 08:38 | Robert Maynard | Note Added: 0032470 | |
2013-03-04 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |