<div dir="ltr">Dear VTK community,<div><br></div><div>I've been trying to build VTK 7.0 for Android using api level 19. Although I did succeed in building it using api 21, I would prefer it to work with api 19. I could not find any information if 21 and higher is a requirement to building 7.0. </div><div><br></div><div>Anyway whenever I run make, I get the following errors:</div><div><br></div><div><div>/home/luuk/Documents/VTK/Utilities/KWSys/vtksys/SystemInformation.cxx: In member function 'vtksys::SystemInformation::LongLong vtksys::SystemInformationImplementation::GetProcMemoryAvailable(const char*, const char*)':</div><div>/home/luuk/Documents/VTK/Utilities/KWSys/vtksys/SystemInformation.cxx:3523:21: error: aggregate 'ResourceLimitType rlim' has incomplete type and cannot be defined</div><div>   ResourceLimitType rlim;</div><div>                     ^</div><div>/home/luuk/Documents/VTK/Utilities/KWSys/vtksys/SystemInformation.cxx:3524:42: error: 'getrlimit64' was not declared in this scope</div><div>   ierr=GetResourceLimit(RLIMIT_DATA,&rlim);</div><div>                                          ^</div><div>Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/build.make:353: recipe for target 'Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemInformation.cxx.o' failed</div><div>make[5]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemInformation.cxx.o] Error 1</div><div>CMakeFiles/Makefile2:171: recipe for target 'Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all' failed</div><div>make[4]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all] Error 2</div><div>Makefile:116: recipe for target 'all' failed</div><div>make[3]: *** [all] Error 2</div><div>CMakeFiles/vtk-android.dir/build.make:109: recipe for target 'CMakeExternals/Prefix/vtk-android/src/vtk-android-stamp/vtk-android-build' failed</div><div>make[2]: *** [CMakeExternals/Prefix/vtk-android/src/vtk-android-stamp/vtk-android-build] Error 2</div><div>CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/vtk-android.dir/all' failed</div><div>make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2</div><div>Makefile:75: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Regards,</div><div>Luuk</div><div><br></div></div>