<div dir="ltr">Wiping my build folder did the job, thank you!<div><br></div><div>Regards,</div><div>Luuk</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-09 14:47 GMT+01:00 Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One idea, wipe your build directory and try again if you haven't already. Make sure to set the API level early on. Cmake checks for some values when it configures and changing API level does not cause cmake to recheck them. So if it configured with a setting of 21 then from that point forward it will have system introspection values for 21. Put another way, if you change the API level you have to wipe your binary tree.<div><br></div><div>That may not be the problem but it has bitten me before.  You can also look at </div><div><br></div><div><a href="https://open.cdash.org/viewNotes.php?buildid=4270266" target="_blank">https://open.cdash.org/viewNotes.php?buildid=4270266</a><br></div><div><br></div><div>which is the API 18 build script that I run to build and run that example every night. It is based on VTK master but it may help.</div><div><br></div><div>Thanks</div><div>Ken</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 9, 2016 at 4:13 AM, Luuk de Gram <span dir="ltr"><<a href="mailto:luukdegram@gmail.com" target="_blank">luukdegram@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</font></span></div>
</blockquote></div><br></div>