<div class="gmail_quote">
<div>Hi,</div>
<div> I am trying to build VES for Android on Cygwin 1.7.x. The build is failing at vtkUnicodestring.cxx.</div>
<div> </div>
<div>Here is the snapshot:</div>
<div>=======================================================================</div>
<div><font size="1">$ make -j4</font></div>
<div>
<p>[ 0%] [ 24%] Performing update step (git fetch) for 'vtkmodular-host'</p>
<p>Built target eigen</p>
<p>HEAD is now at 135ce1c... Move vtkDelimitedTextReader and vtkStringToNumeric to IO/Core</p>
<p>[ 24%] Performing configure step for 'vtkmodular-host'</p>
<p>CMake Warning at /usr/share/cmake-2.8.4/Modules/Platform/CYGWIN.cmake:15 (message):</p>
<p>CMake no longer defines WIN32 on Cygwin!</p>
<p>(1) If you are just trying to build this project, ignore this warning or</p>
<p>quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in</p>
<p>the CMake cache. If later configuration or build errors occur then this</p>
<p>project may have been written under the assumption that Cygwin is WIN32.</p>
<p>In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.</p>
<p>(2) If you are developing this project, add the line</p>
<p>set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required</p>
<p>at the top of your top-level CMakeLists.txt file or set the minimum</p>
<p>required version of CMake to 2.8.4 or higher. Then teach your project to</p>
<p>build on Cygwin without WIN32.</p>
<p>Call Stack (most recent call first):</p>
<p>/usr/share/cmake-2.8.4/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)</p>
<p>CMakeLists.txt:3 (project)</p>
<p> </p>
<p>About to assess all possible modules...</p>
<p>-- Enabled: vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonMath;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkFiltersCore;vtkFiltersGeneral;vtkFiltersGeometry;vtkFiltersSources;vtkIOCore;vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML;vtkImagingCore</p>
<p>-- Disabled: vtkFiltersExtraction;vtkFiltersParallelStatistics;vtkFiltersStatistics;vtkIOInfovis;vtkIOMySQL;vtkIONetCDF;vtkIOODBC;vtkIOPostgreSQL;vtkIOSQL;vtkInfovisCore;vtkParallelCore;vtkRenderingCore;vtkRenderingOpenGL;vtkWrappingPythonCore</p>
<p>-- Enabled kwsys, needed by [vtkCommonCore;vtkCommonDataModel;vtkCommonSystem;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOXML].</p>
<p>-- Enabled vtkCommonCore, needed by [vtkFiltersCore;vtkCommonDataModel;vtkCommonMath;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkFiltersGeometry;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore;vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML].</p>
<p>-- Enabled vtkCommonMath, needed by [vtkCommonDataModel;vtkCommonMisc;vtkCommonTransforms;vtkFiltersCore;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore;vtkIOImage].</p>
<p>-- Enabled vtkCommonMisc, needed by [vtkCommonDataModel;vtkFiltersCore;vtkFiltersGeneral;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOPLY;vtkIOXML].</p>
<p>-- Enabled vtkCommonSystem, needed by [vtkCommonDataModel;vtkFiltersCore;vtkCommonComputationalGeometry;vtkFiltersGeneral;vtkImagingCore;vtkIOGeometry;vtkIOImage;vtkIOXML].</p>
<p>-- Enabled vtkCommonTransforms, needed by [vtkCommonDataModel;vtkFiltersCore;vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore;vtkIOImage].</p>
<p>-- Enabled vtkCommonDataModel, needed by [vtkFiltersCore;vtkFiltersGeometry;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOPLY;vtkIOXML].</p>
<p>-- Enabled vtkCommonComputationalGeometry, needed by [vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore].</p>
<p>-- Enabled vtkFiltersCore, requested by Module_vtkFiltersCore.</p>
<p>-- Enabled vtkFiltersGeneral, needed by [vtkFiltersSources].</p>
<p>-- Enabled vtkFiltersGeometry, requested by Module_vtkFiltersGeometry.</p>
<p>-- Enabled vtkFiltersSources, requested by Module_vtkFiltersSources.</p>
<p>-- Enabled vtkzlib, needed by [vtkIOCore;vtkIOGeometry;vtkIOImage].</p>
<p>-- Enabled vtkIOCore, needed by [vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML].</p>
<p>-- Enabled MaterialLibrary, needed by [vtkIOGeometry;vtkIOGeometry].</p>
<p>-- Enabled vtkIOGeometry, requested by Module_vtkIOGeometry.</p>
<p>-- Enabled DICOMParser, needed by [vtkIOImage].</p>
<p>-- Enabled vtkfreetype, needed by [vtkIOImage].</p>
<p>-- Enabled vtkjpeg, needed by [vtkIOImage].</p>
<p>-- Enabled vtkmetaio, needed by [vtkIOImage].</p>
<p>-- Enabled vtkoggtheora, needed by [vtkIOImage].</p>
<p>-- Enabled vtkpng, needed by [vtkIOImage].</p>
<p>-- Enabled vtktiff, needed by [vtkIOImage].</p>
<p>-- Enabled vtkIOImage, requested by Module_vtkIOImage.</p>
<p>-- Enabled vtkIOPLY, requested by Module_vtkIOPLY.</p>
<p>-- Enabled vtkexpat, needed by [vtkIOXML].</p>
<p>-- Enabled vtkIOXML, requested by Module_vtkIOXML.</p>
<p>-- Enabled vtkImagingCore, requested by Module_vtkImagingCore.</p>
<p>-- Configuring done</p>
<p>-- Generating done</p>
<p>-- Build files have been written to: /cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-host</p>
<p>[ 24%] Performing build step for 'vtkmodular-host'</p>
<p>[ 0%] [ 1%] [ 2%] Built target vtkMaterialLibraryConfiguredFiles</p>
<p>Built target vtkzlib</p>
<p>Built target vtksys</p>
<p>[ 2%] Built target vtkDICOMParser</p>
<p>[ 4%] [ 8%] Built target vtkfreetype</p>
<p>[ 11%] Built target vtkjpeg</p>
<p>[ 14%] Built target vtkmetaio</p>
<p>Built target vtkoggtheora</p>
<p>[ 14%] Built target vtkmkg3states</p>
<p>[ 14%] Built target vtkexpat</p>
<p>[ 14%] [ 14%] [ 14%] [ 15%] <font color="#00bf00"><font color="#00bf00">Building CXX object Common/Core/CMakeFiles/vtkCommonCore.dir/vtkUnicodeString.cxx.o</font></font></p>
<p>Built target ProcessShader</p><font color="#00bf00"><font color="#00bf00">
<p>Building CXX object Common/Core/CMakeFiles/vtkCommonCore.dir/vtkUnsignedShortArray.cxx.o</p></font></font>
<p>Built target vtkpng</p>
<p>[ 15%] </p><font color="#00bf00"><font color="#00bf00">Building CXX object Common/Core/CMakeFiles/vtkCommonCore.dir/vtkVariantArray.cxx.o</font></font>
<p>[ 19%] Built target vtktiff</p>
<p>[ 20%] </p><font color="#00bf00"><font color="#00bf00">Building CXX object Common/Core/CMakeFiles/vtkCommonCore.dir/vtkVariant.cxx.o</font></font>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx: In member function ‘vtkUnicodeString vtkUnicodeString::fold_case() const’:</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:382:5: error: expected primary-expression before ‘for’</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:382:5: error: expected ‘}’ before ‘for’</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:382:5: error: expected ‘,’ or ‘;’ before ‘for’</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:382:54: error: ‘i’ was not declared in this scope</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:382:60: error: expected ‘;’ before ‘)’ token</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:465:1: error: expected ‘}’ at end of input</p>
<p>/cygdrive/d/vessource/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Common/Core/vtkUnicodeString.cxx:465:1: error: expected ‘}’ at end of input</p>
<p>Common/Core/CMakeFiles/vtkCommonCore.dir/build.make:2309: recipe for target `Common/Core/CMakeFiles/vtkCommonCore.dir/vtkUnicodeString.cxx.o' failed</p>
<p>make[5]: *** [Common/Core/CMakeFiles/vtkCommonCore.dir/vtkUnicodeString.cxx.o] Error 1</p>
<p>make[5]: *** Waiting for unfinished jobs....</p>
<p>CMakeFiles/Makefile2:993: recipe for target `Common/Core/CMakeFiles/vtkCommonCore.dir/all' failed</p>
<p>make[4]: *** [Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2</p>
<p>Makefile:113: recipe for target `all' failed</p>
<p>make[3]: *** [all] Error 2</p>
<p>CMakeFiles/vtkmodular-host.dir/build.make:105: recipe for target `CMakeExternals/Stamp/vtkmodular-host/vtkmodular-host-build' failed</p>
<p>make[2]: *** [CMakeExternals/Stamp/vtkmodular-host/vtkmodular-host-build] Error 2</p>
<p>CMakeFiles/Makefile2:166: recipe for target `CMakeFiles/vtkmodular-host.dir/all' failed</p>
<p>make[1]: *** [CMakeFiles/vtkmodular-host.dir/all] Error 2</p>
<p>Makefile:72: recipe for target `all' failed</p>
<p>make: *** [all] Error 2</p>
<p>========================================================</p>
<p><font face="arial,helvetica,sans-serif"></font> <font face="arial,helvetica,sans-serif">Any help would be greatly appreciated.</font></p>
<p><font face="arial,helvetica,sans-serif">Regards,</font></p>
<p><font face="arial,helvetica,sans-serif">Sishir</font></p>
<p> </p>
<p> </p></div></div><br>