Hi Mandar,<br><br>Could you confirm us that you compile the latest git master source? The support of Android NDK r8b being recent.<br>This error is symptomatic of a problem with the android toolchain, the compiler is not correctly recognized & setup.<br>
You may also try with Android NDK r8 or less.<br><br>Regards,<br>Joachim<br><br><div class="gmail_quote">2012/10/30 Mandar Deshpande <span dir="ltr"><<a href="mailto:mandar@kratin.co.in" target="_blank">mandar@kratin.co.in</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Pat,<br>
<br>
Thanks for your reply. I ran command "make -j4 VERBOSE=1", please
see the following errors.<br>
<br>
Re-run cmake no build system arguments<div class="im"><br>
-- Check if the system is big endian<br>
-- Searching 16 bit integer<br>
CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44
(MESSAGE):<br>
no suitable type found<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:192 (TEST_BIG_ENDIAN)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
make[2]: ***
[CMakeExternals/Stamp/vtk-android/vtk-android-configure] Error 1<br></div>
make[2]: Leaving directory
`/home/mandar/vision/VES/Apps/Android/CMakeBuild/build'<div class="im"><br>
make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2<br></div>
make[1]: Leaving directory
`/home/mandar/vision/VES/Apps/Android/CMakeBuild/build'<div class="im"><br>
make: *** [all] Error 2<br>
<br></div>
Thanks.<div><div class="h5"><br>
<br>
On Monday 29 October 2012 06:53 PM, Pat Marion wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">Can you check if you have ia32-libs installed? This
packages is required in order to invoke the android g++ cross
compiler. Also, if you run "make VERBOSE=1" it will print more
information so that you can see what's causing the error.<br>
<br>
<br>
Pat<br>
<br>
<div class="gmail_quote">On Mon, Oct 29, 2012 at 9:15 AM, Mandar
Deshpande <span dir="ltr"><<a href="mailto:mandar@kratin.co.in" target="_blank">mandar@kratin.co.in</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm trying to compile VES on my machine but I'm facing some
probels.<br>
<br>
Please find the configuration if my system below.<br>
<br>
1) OS : Ubuntu 12.04 64 bit<br>
2) cmake version 2.8.7<br>
3) NDK version = r8<br>
4) java version "1.6.0_24"<br>
5) g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3<br>
<br>
I'm getting following error.<br>
<br>
[ 24%] Built target eigen<br>
[ 27%] Performing update step (git fetch) for 'vtk-host'<br>
HEAD is now at 96af1b5... Change regex so that matching the
patch version is optional<br>
[ 30%] Performing configure step for 'vtk-host'<br>
-- Group Qt modules: vtkGUISupportQtSQL;vtkGUISupportQtWebkit;vtkGUISupportQtOpenGL;vtkGUISupportQt;vtkRenderingQt;vtkViewsQt<br>
-- Group MPI modules: vtkParallelMPI;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOMPIImage;vtkIOParallelNetCDF<br>
-- Group StandAlone modules: vtkParallelCore;vtkDomainsChemistry;vtkImagingSources;vtkImagingFourier;vtkImagingMorphological;vtkImagingMath;vtkImagingStencil;vtkImagingStatistics;vtkImagingHybrid;vtkImagingColor;vtkImagingGeneral;vtkImagingCore;vtkInfovisLayout;vtkInfovisCore;vtkFiltersHyperTree;vtkFiltersVerdict;vtkFiltersParallel;vtkFiltersSources;vtkFiltersImaging;vtkFiltersGeneric;vtkFiltersModeling;vtkFiltersAMR;vtkFiltersParallelImaging;vtkFiltersFlowPaths;vtkFiltersGeometry;vtkFiltersStatistics;vtkFiltersHybrid;vtkFiltersTexture;vtkFiltersProgrammable;vtkFiltersExtraction;vtkFiltersGeneral;vtkFiltersCore;vtkIOParallel;vtkIOImport;vtkIOInfovis;vtkIOAMR;vtkIONetCDF;vtkIOLegacy;vtkIOExodus;vtkIOXML;vtkIOMINC;vtkIOSQL;vtkIOGeometry;vtkIOLSDyna;vtkIOXMLParser;vtkIOExport;vtkIOVideo;vtkIOMovie;vtkIOImage;vtkIOEnSight;vtkIOPLY;vtkIOCore;vtkCommonComputationalGeometry;vtkCommonMisc;vtkCommonExecutionModel;vtkCommonTransforms;vtkCommonSystem;vtkCommonCore;vtkChartsCor
e<br>
-- Group Imaging modules: vtkImagingSources;vtkImagingFourier;vtkImagingMorphological;vtkImagingMath;vtkImagingStencil;vtkImagingStatistics;vtkImagingHybrid;vtkImagingColor;vtkImagingGeneral;vtkInteractionImage;vtkRenderingImage;vtkFiltersImaging<br>
-- Group Rendering modules: vtkInteractionStyle;vtkInteractionWidgets;vtkInteractionImage;vtkRenderingFreeTypeOpenGL;vtkRenderingOpenGL;vtkRenderingHybridOpenGL;vtkRenderingVolumeAMR;vtkRenderingLabel;vtkRenderingVolume;vtkRenderingLOD;vtkRenderingVolumeOpenGL;vtkRenderingContext2D;vtkRenderingFreeType;vtkRenderingAnnotation;vtkRenderingImage;vtkRenderingCore;vtkViewsInfovis;vtkViewsContext2D;vtkViewsGeovis;vtkViewsCore;vtkGeovisCore<br>
-- Group Tk modules: vtkRenderingTk<br>
-- Group Views modules: vtkViewsContext2D;vtkViewsGeovis<br>
-- Enabled 36 modules:<br>
-- * vtkCommonComputationalGeometry, needed by 2 modules:<br>
vtkFiltersGeneral<br>
vtkFiltersSources<br>
-- * vtkCommonCore, needed by 2 modules:<br>
vtkCommonMath<br>
vtkCommonSystem<br>
-- * vtkCommonDataModel, needed by 7 modules:<br>
vtkCommonComputationalGeometry<br>
vtkCommonExecutionModel<br>
vtkIOCore<br>
vtkIOGeometry<br>
vtkIOImage<br>
vtkIOLegacy<br>
vtkIOXMLParser<br>
-- * vtkCommonExecutionModel, needed by 6 modules:<br>
vtkFiltersCore<br>
vtkIOCore<br>
vtkIOImage<br>
vtkIOPLY<br>
vtkImagingCore<br>
vtkRenderingCore<br>
-- * vtkCommonMath, needed by 7 modules:<br>
vtkCommonComputationalGeometry<br>
vtkCommonDataModel<br>
vtkCommonMisc<br>
vtkCommonTransforms<br>
vtkFiltersCore<br>
vtkIOImage<br>
vtkImagingCore<br>
-- * vtkCommonMisc, needed by 9 modules:<br>
vtkCommonDataModel<br>
vtkCommonExecutionModel<br>
vtkFiltersCore<br>
vtkIOCore<br>
vtkIOGeometry<br>
vtkIOImage<br>
vtkIOLegacy<br>
vtkIOPLY<br>
vtkIOXMLParser<br>
-- * vtkCommonSystem, needed by 8 modules:<br>
vtkCommonComputationalGeometry<br>
vtkCommonDataModel<br>
vtkFiltersCore<br>
vtkIOGeometry<br>
vtkIOImage<br>
vtkIOLegacy<br>
vtkIOXMLParser<br>
vtkImagingCore<br>
-- * vtkCommonTransforms, needed by 5 modules:<br>
vtkCommonDataModel<br>
vtkFiltersCore<br>
vtkIOImage<br>
vtkImagingCore<br>
vtkRenderingCore<br>
-- * vtkDICOMParser, needed by vtkIOImage.<br>
-- * vtkFiltersCore, requested by Module_vtkFiltersCore.<br>
-- * vtkFiltersExtraction, needed by vtkRenderingCore.<br>
-- * vtkFiltersGeneral, needed by 4 modules:<br>
vtkFiltersExtraction<br>
vtkFiltersModeling<br>
vtkFiltersSources<br>
vtkRenderingCore<br>
-- * vtkFiltersGeometry, requested by
Module_vtkFiltersGeometry.<br>
-- * vtkFiltersModeling, requested by
Module_vtkFiltersModeling.<br>
-- * vtkFiltersSources, requested by
Module_vtkFiltersSources.<br>
-- * vtkIOCore, needed by 4 modules:<br>
vtkIOGeometry<br>
vtkIOImage<br>
vtkIOLegacy<br>
vtkIOXMLParser<br>
-- * vtkIOGeometry, requested by Module_vtkIOGeometry.<br>
-- * vtkIOImage, requested by Module_vtkIOImage.<br>
-- * vtkIOLegacy, requested by Module_vtkIOLegacy.<br>
-- * vtkIOPLY, requested by Module_vtkIOPLY.<br>
-- * vtkIOXML, requested by Module_vtkIOXML.<br>
-- * vtkIOXMLParser, needed by 2 modules:<br>
vtkIOXML<br>
vtkRenderingCore<br>
-- * vtkImagingCore, requested by Module_vtkImagingCore.<br>
-- * vtkMetaIO, needed by vtkIOImage.<br>
-- * vtkParallelCore, requested by Module_vtkParallelCore.<br>
-- * vtkRenderingCore, requested by Module_vtkRenderingCore.<br>
-- * vtkRenderingFreeType, requested by
Module_vtkRenderingFreeType.<br>
-- * vtkUtilitiesHashSource, needed by vtkParallelCore.<br>
-- * vtkUtilitiesMaterialLibrary, needed by vtkRenderingCore.<br>
-- * vtkexpat, needed by vtkIOXMLParser.<br>
-- * vtkfreetype, needed by vtkRenderingFreeType.<br>
-- * vtkjpeg, needed by 2 modules:<br>
vtkIOImage<br>
vtktiff<br>
-- * vtkpng, needed by vtkIOImage.<br>
-- * vtksys, needed by 6 modules:<br>
vtkCommonCore<br>
vtkCommonSystem<br>
vtkDICOMParser<br>
vtkIOCore<br>
vtkUtilitiesHashSource<br>
vtkUtilitiesMaterialLibrary<br>
-- * vtktiff, needed by vtkIOImage.<br>
-- * vtkzlib, needed by 6 modules:<br>
vtkIOCore<br>
vtkIOGeometry<br>
vtkMetaIO<br>
vtkfreetype<br>
vtkpng<br>
vtktiff<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to:
/home/mandar/vision/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host<br>
[ 33%] Performing build step for 'vtk-host'<br>
[ 1%] Built target vtkDICOMParser<br>
[ 2%] [ 3%] [ 3%] Built target vtkzlib<br>
Built target vtksys<br>
[ 6%] Built target vtkmkg3states<br>
[ 7%] Built target vtkjpeg<br>
[ 7%] Built target vtkexpat<br>
Built target vtkMaterialLibraryConfiguredFiles<br>
[ 7%] [ 7%] [ 9%] [ 11%] [ 14%] [ 16%] Built target
vtkHashSource<br>
Built target ProcessShader<br>
Built target vtktiff<br>
Built target vtkmetaio<br>
Built target vtkpng<br>
Built target vtkfreetype<br>
[ 26%] Built target vtkCommonCore<br>
[ 26%] Built target vtkCommonSystem<br>
[ 27%] Built target vtkCommonMath<br>
[ 28%] Built target vtkCommonMisc<br>
[ 29%] Built target vtkCommonTransforms<br>
[ 44%] Built target vtkCommonDataModel<br>
[ 45%] Built target vtkCommonComputationalGeometry<br>
[ 49%] Built target vtkCommonExecutionModel<br>
[ 51%] Built target vtkIOCore<br>
[ 54%] Built target vtkImagingCore<br>
[ 59%] [ 61%] [ 63%] Built target vtkFiltersCore<br>
Built target vtkIOGeometry<br>
Built target vtkIOImage<br>
[ 63%] Built target vtkIOXMLParser<br>
[ 65%] Built target vtkIOLegacy<br>
[ 66%] Built target vtkIOPLY<br>
[ 68%] Built target vtkFiltersGeometry<br>
[ 69%] Built target vtkParallelCore<br>
[ 73%] Built target vtkIOXML<br>
[ 81%] Built target vtkFiltersGeneral<br>
[ 84%] [ 87%] Built target vtkFiltersExtraction<br>
Built target vtkFiltersSources<br>
[ 88%] Built target vtkFiltersModeling<br>
[ 99%] Built target vtkRenderingCore<br>
[100%] Built target vtkRenderingFreeType<br>
[ 36%] No install step for 'vtk-host'<br>
[ 39%] Completed 'vtk-host'<br>
[ 48%] Built target vtk-host<br>
[ 51%] Performing configure step for 'vtk-android'<br>
loading initial cache file /home/mandar/vision/VES/CMake/toolchains/TryRunResults.cmake<br>
-- Check if the system is big endian<br>
-- Searching 16 bit integer<br>
CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44
(MESSAGE):<br>
no suitable type found<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:192 (TEST_BIG_ENDIAN)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure]
Error 1<br>
make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Thanks,<br>
Mandar<br>
<br>
<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">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>
</blockquote>
</div>
<br>
</blockquote>
<br>
</div></div></div>
<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><br clear="all"><br>-- <br><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, R&D Enginee</i>r</font> <br>
<b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
<br>