<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Just to follow-up on my own question: by changing</div><div><br data-mce-bogus="1"></div><div>#ifndef SIZEOF_LONG_LONG<br>/* #undef SIZEOF_LONG_LONG */<br>#endif<br></div><div><br data-mce-bogus="1"></div><div>to </div><div><br data-mce-bogus="1"></div><div>#ifndef SIZEOF_LONG_LONG<br>#define SIZEOF_LONG_LONG 8<br>#endif<br></div><div><br data-mce-bogus="1"></div><div>in the generated <builddir>\ThirdParty\xdmf2\vtkxdmf2\libsrc\XdmfConfig.h (line 106) the build succeeds and seems to work fine. I also checked the official Win64 installer for 7.0.0, but it seems that vtkXdmfReader isn't included, so for now I'll use the above workaround.</div><div><br data-mce-bogus="1"></div><div>Regards,</div><div>Paul</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Paul Melis" <paul.melis@surfsara.nl><br><b>To: </b>vtkusers@vtk.org<br><b>Sent: </b>Friday, 7 October, 2016 15:44:16<br><b>Subject: </b>[vtkusers] Compile error VTK 7.0.0 + VS2008 x86 + Xdmf2<br></div><br><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;"><div>Hi,</div><br><div>It seems something goes wrong relating to detection/sizeof the 64-bit integer type when compiling VTK 7.0.0 with VS 2008 x64 (or more precisely Microsoft Visual C++ Compiler for Python 2.7, which basically is a stripped version of VS2008):<br></div><br><div>[ 38%] Building CXX object ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.<br>dir/XdmfArray.cxx.obj<br>XdmfArray.cxx<br>D:\Build\vtk-7.0.0-win64-py27\ThirdParty\xdmf2\vtkxdmf2\libsrc\XdmfConfig.h(118)<br> : fatal error C1189: #error : "64 bit long not defined"<br>NMAKE : fatal error U1077: 'C:\Users\Opti\AppData\Local\Programs\Common\MICROS~1<br>\VISUAL~1\9.0\VC\bin\amd64\cl.exe' : return code '0x2'<br>Stop.<br>NMAKE : fatal error U1077: '"C:\Users\Opti\AppData\Local\Programs\Common\Microso<br>ft\Visual C++ for Python\9.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'<br>Stop.<br>NMAKE : fatal error U1077: '"C:\Users\Opti\AppData\Local\Programs\Common\Microso<br>ft\Visual C++ for Python\9.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'<br>Stop.</div><br><div>The relevant piece from XdmfConfig.h where the error above comes from is:</div><br><div>#if defined( SIZEOF_LONG_LONG )<br># define XDMF_64_INT long long<br># define HAVE_64_INT<br># define XDMF_have_64_bit_int<br>#elif defined( SIZEOF___INT64 )<br># define XDMF_64_INT __int64<br># define HAVE_64_INT<br>#else<br># error "64 bit long not defined"<br>#endif<br></div><br><div>I don't see where SIZEOF_LONG_LONG or SIZEOF__INT64 should come from in this case. Any clues where to check?</div><br><div>Regards,</div><div>Paul</div><br><br></div><br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><br>Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br><br>Search the list archives at: http://markmail.org/search/?q=vtkusers<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/vtkusers<br></div></div></body></html>