[Ves] Not able to compile VES

Joachim Pouderoux joachim.pouderoux at kitware.com
Tue Oct 30 06:31:49 EDT 2012


Except that you used AndroidNDKr8b instead of r6. Please clean your build
directory and try with r6.
J.

2012/10/30 Mandar Deshpande <mandar at kratin.co.in>

> Yes. I followed the steps from the link
>
> http://www.vtk.org/Wiki/VES/Developers_Guide
>
>
> On Tue, Oct 30, 2012 at 3:43 PM, Joachim Pouderoux <
> joachim.pouderoux at kitware.com> wrote:
>
>> Sorry, I didn't ask about your git version but your VES version :]
>> So do you use the latest VES master sources version available on git://
>> vtk.org/VES.org ?
>> J.
>>
>>
>> 2012/10/30 Mandar Deshpande <mandar at kratin.co.in>
>>
>>>  Hello Joachim
>>>
>>> Thanks for the reply. My git version is 1.7.9.5
>>>
>>>
>>>
>>>
>>> On Tuesday 30 October 2012 01:46 PM, Joachim Pouderoux wrote:
>>>
>>> Hi Mandar,
>>>
>>> Could you confirm us that you compile the latest git master source? The
>>> support of Android NDK r8b being recent.
>>> This error is symptomatic of a problem with the android toolchain, the
>>> compiler is not correctly recognized & setup.
>>> You may also try with Android NDK r8 or less.
>>>
>>> Regards,
>>> Joachim
>>>
>>> 2012/10/30 Mandar Deshpande <mandar at kratin.co.in>
>>>
>>>>  Hello Pat,
>>>>
>>>> Thanks for your reply. I ran command "make -j4 VERBOSE=1", please see
>>>> the following errors.
>>>>
>>>> Re-run cmake no build system arguments
>>>>
>>>> -- Check if the system is big endian
>>>> -- Searching 16 bit integer
>>>> CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44
>>>> (MESSAGE):
>>>>   no suitable type found
>>>> Call Stack (most recent call first):
>>>>   CMakeLists.txt:192 (TEST_BIG_ENDIAN)
>>>>
>>>>
>>>> -- Configuring incomplete, errors occurred!
>>>> make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure]
>>>> Error 1
>>>>  make[2]: Leaving directory
>>>> `/home/mandar/vision/VES/Apps/Android/CMakeBuild/build'
>>>>
>>>> make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2
>>>>  make[1]: Leaving directory
>>>> `/home/mandar/vision/VES/Apps/Android/CMakeBuild/build'
>>>>
>>>> make: *** [all] Error 2
>>>>
>>>>  Thanks.
>>>>
>>>>
>>>> On Monday 29 October 2012 06:53 PM, Pat Marion wrote:
>>>>
>>>> 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.
>>>>
>>>>
>>>> Pat
>>>>
>>>> On Mon, Oct 29, 2012 at 9:15 AM, Mandar Deshpande <mandar at kratin.co.in>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to compile VES on my machine but I'm facing some probels.
>>>>>
>>>>> Please find the configuration if my system below.
>>>>>
>>>>> 1) OS : Ubuntu 12.04 64 bit
>>>>> 2) cmake version 2.8.7
>>>>> 3) NDK version = r8
>>>>> 4) java version "1.6.0_24"
>>>>> 5) g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>>>>
>>>>> I'm getting following error.
>>>>>
>>>>> [ 24%] Built target eigen
>>>>> [ 27%] Performing update step (git fetch) for 'vtk-host'
>>>>> HEAD is now at 96af1b5... Change regex so that matching the patch
>>>>> version is optional
>>>>> [ 30%] Performing configure step for 'vtk-host'
>>>>> -- Group Qt modules:
>>>>> vtkGUISupportQtSQL;vtkGUISupportQtWebkit;vtkGUISupportQtOpenGL;vtkGUISupportQt;vtkRenderingQt;vtkViewsQt
>>>>> -- Group MPI modules:
>>>>> vtkParallelMPI;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOMPIImage;vtkIOParallelNetCDF
>>>>> -- 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
>>>>> -- Group Imaging modules:
>>>>> vtkImagingSources;vtkImagingFourier;vtkImagingMorphological;vtkImagingMath;vtkImagingStencil;vtkImagingStatistics;vtkImagingHybrid;vtkImagingColor;vtkImagingGeneral;vtkInteractionImage;vtkRenderingImage;vtkFiltersImaging
>>>>> -- Group Rendering modules:
>>>>> vtkInteractionStyle;vtkInteractionWidgets;vtkInteractionImage;vtkRenderingFreeTypeOpenGL;vtkRenderingOpenGL;vtkRenderingHybridOpenGL;vtkRenderingVolumeAMR;vtkRenderingLabel;vtkRenderingVolume;vtkRenderingLOD;vtkRenderingVolumeOpenGL;vtkRenderingContext2D;vtkRenderingFreeType;vtkRenderingAnnotation;vtkRenderingImage;vtkRenderingCore;vtkViewsInfovis;vtkViewsContext2D;vtkViewsGeovis;vtkViewsCore;vtkGeovisCore
>>>>> -- Group Tk modules: vtkRenderingTk
>>>>> -- Group Views modules: vtkViewsContext2D;vtkViewsGeovis
>>>>> -- Enabled 36 modules:
>>>>> --  * vtkCommonComputationalGeometry, needed by 2 modules:
>>>>>         vtkFiltersGeneral
>>>>>         vtkFiltersSources
>>>>> --  * vtkCommonCore, needed by 2 modules:
>>>>>         vtkCommonMath
>>>>>         vtkCommonSystem
>>>>> --  * vtkCommonDataModel, needed by 7 modules:
>>>>>         vtkCommonComputationalGeometry
>>>>>         vtkCommonExecutionModel
>>>>>         vtkIOCore
>>>>>         vtkIOGeometry
>>>>>         vtkIOImage
>>>>>         vtkIOLegacy
>>>>>         vtkIOXMLParser
>>>>> --  * vtkCommonExecutionModel, needed by 6 modules:
>>>>>         vtkFiltersCore
>>>>>         vtkIOCore
>>>>>         vtkIOImage
>>>>>         vtkIOPLY
>>>>>         vtkImagingCore
>>>>>         vtkRenderingCore
>>>>> --  * vtkCommonMath, needed by 7 modules:
>>>>>         vtkCommonComputationalGeometry
>>>>>         vtkCommonDataModel
>>>>>         vtkCommonMisc
>>>>>         vtkCommonTransforms
>>>>>         vtkFiltersCore
>>>>>         vtkIOImage
>>>>>         vtkImagingCore
>>>>> --  * vtkCommonMisc, needed by 9 modules:
>>>>>         vtkCommonDataModel
>>>>>         vtkCommonExecutionModel
>>>>>         vtkFiltersCore
>>>>>         vtkIOCore
>>>>>         vtkIOGeometry
>>>>>         vtkIOImage
>>>>>         vtkIOLegacy
>>>>>         vtkIOPLY
>>>>>         vtkIOXMLParser
>>>>> --  * vtkCommonSystem, needed by 8 modules:
>>>>>         vtkCommonComputationalGeometry
>>>>>         vtkCommonDataModel
>>>>>         vtkFiltersCore
>>>>>         vtkIOGeometry
>>>>>         vtkIOImage
>>>>>         vtkIOLegacy
>>>>>         vtkIOXMLParser
>>>>>         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 4 modules:
>>>>>         vtkIOGeometry
>>>>>         vtkIOImage
>>>>>         vtkIOLegacy
>>>>>         vtkIOXMLParser
>>>>> --  * vtkIOGeometry, requested by Module_vtkIOGeometry.
>>>>> --  * vtkIOImage, requested by Module_vtkIOImage.
>>>>> --  * vtkIOLegacy, requested by Module_vtkIOLegacy.
>>>>> --  * vtkIOPLY, requested by Module_vtkIOPLY.
>>>>> --  * vtkIOXML, requested by Module_vtkIOXML.
>>>>> --  * vtkIOXMLParser, needed by 2 modules:
>>>>>         vtkIOXML
>>>>>         vtkRenderingCore
>>>>> --  * 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 vtkRenderingCore.
>>>>> --  * vtkexpat, needed by vtkIOXMLParser.
>>>>> --  * vtkfreetype, needed by vtkRenderingFreeType.
>>>>> --  * vtkjpeg, needed by 2 modules:
>>>>>         vtkIOImage
>>>>>         vtktiff
>>>>> --  * vtkpng, needed by vtkIOImage.
>>>>> --  * vtksys, needed by 6 modules:
>>>>>         vtkCommonCore
>>>>>         vtkCommonSystem
>>>>>         vtkDICOMParser
>>>>>         vtkIOCore
>>>>>         vtkUtilitiesHashSource
>>>>>         vtkUtilitiesMaterialLibrary
>>>>> --  * vtktiff, needed by vtkIOImage.
>>>>> --  * vtkzlib, needed by 6 modules:
>>>>>         vtkIOCore
>>>>>         vtkIOGeometry
>>>>>         vtkMetaIO
>>>>>         vtkfreetype
>>>>>         vtkpng
>>>>>         vtktiff
>>>>> -- Configuring done
>>>>> -- Generating done
>>>>> -- Build files have been written to:
>>>>> /home/mandar/vision/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-host
>>>>> [ 33%] Performing build step for 'vtk-host'
>>>>> [  1%] Built target vtkDICOMParser
>>>>> [  2%] [  3%] [  3%] Built target vtkzlib
>>>>> Built target vtksys
>>>>> [  6%] Built target vtkmkg3states
>>>>> [  7%] Built target vtkjpeg
>>>>> [  7%] Built target vtkexpat
>>>>> Built target vtkMaterialLibraryConfiguredFiles
>>>>> [  7%] [  7%] [  9%] [ 11%] [ 14%] [ 16%] Built target vtkHashSource
>>>>> Built target ProcessShader
>>>>> Built target vtktiff
>>>>> Built target vtkmetaio
>>>>> Built target vtkpng
>>>>> Built target vtkfreetype
>>>>> [ 26%] Built target vtkCommonCore
>>>>> [ 26%] Built target vtkCommonSystem
>>>>> [ 27%] Built target vtkCommonMath
>>>>> [ 28%] Built target vtkCommonMisc
>>>>> [ 29%] Built target vtkCommonTransforms
>>>>> [ 44%] Built target vtkCommonDataModel
>>>>> [ 45%] Built target vtkCommonComputationalGeometry
>>>>> [ 49%] Built target vtkCommonExecutionModel
>>>>> [ 51%] Built target vtkIOCore
>>>>> [ 54%] Built target vtkImagingCore
>>>>> [ 59%] [ 61%] [ 63%] Built target vtkFiltersCore
>>>>> Built target vtkIOGeometry
>>>>> Built target vtkIOImage
>>>>> [ 63%] Built target vtkIOXMLParser
>>>>> [ 65%] Built target vtkIOLegacy
>>>>> [ 66%] Built target vtkIOPLY
>>>>> [ 68%] Built target vtkFiltersGeometry
>>>>> [ 69%] Built target vtkParallelCore
>>>>> [ 73%] Built target vtkIOXML
>>>>> [ 81%] Built target vtkFiltersGeneral
>>>>> [ 84%] [ 87%] Built target vtkFiltersExtraction
>>>>> Built target vtkFiltersSources
>>>>> [ 88%] Built target vtkFiltersModeling
>>>>> [ 99%] Built target vtkRenderingCore
>>>>> [100%] Built target vtkRenderingFreeType
>>>>> [ 36%] No install step for 'vtk-host'
>>>>> [ 39%] Completed 'vtk-host'
>>>>> [ 48%] Built target vtk-host
>>>>> [ 51%] Performing configure step for 'vtk-android'
>>>>> loading initial cache file
>>>>> /home/mandar/vision/VES/CMake/toolchains/TryRunResults.cmake
>>>>> -- Check if the system is big endian
>>>>> -- Searching 16 bit integer
>>>>> CMake Error at /usr/share/cmake-2.8/Modules/TestBigEndian.cmake:44
>>>>> (MESSAGE):
>>>>>   no suitable type found
>>>>> Call Stack (most recent call first):
>>>>>   CMakeLists.txt:192 (TEST_BIG_ENDIAN)
>>>>>
>>>>>
>>>>> -- Configuring incomplete, errors occurred!
>>>>> make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure]
>>>>> Error 1
>>>>> make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2
>>>>> make: *** [all] Error 2
>>>>>
>>>>> Thanks,
>>>>> Mandar
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ves mailing list
>>>>> Ves at public.kitware.com
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Ves mailing list
>>>> Ves at public.kitware.com
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>>>
>>>>
>>>
>>>
>>> --
>>> *Joachim Pouderoux*
>>>
>>> *PhD, R&D Enginee*r
>>> *Kitware SAS <http://www.kitware.fr>*
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *Joachim Pouderoux*
>>
>> *PhD, R&D Enginee*r
>> *Kitware SAS <http://www.kitware.fr>*
>>
>>
>>
>


-- 
*Joachim Pouderoux*

*PhD, R&D Enginee*r
*Kitware SAS <http://www.kitware.fr>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20121030/a63967df/attachment-0001.html>


More information about the Ves mailing list