<div dir="ltr">Hi Matheus,<div><br></div><div>Seems like a strange error, I don't recall anything like this ever showing</div><div>up on the testing dashboards.</div><div><br></div><div>If you add this line to your CMakeCache.txt, it might fix the problem:</div><div><br></div><div>H5_SIZEOF_INT64_T:INTERNAL=8<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"> - David</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 4:27 AM, matheus_viana <span dir="ltr"><<a href="mailto:vianamp@gmail.com" target="_blank">vianamp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys, I am trying to compile VTK 6.3 with non-shared libraries on OSX<br>
10.10 but I got the error messages below. Does anyone know how to go around<br>
that?<br>
<br>
...<br>
[ 68%] Built target vtkGeovisCore<br>
Scanning dependencies of target H5detect<br>
[ 68%] Building C object<br>
ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o<br>
In file included from<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:57:<br>
In file included from<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5private.h:37:<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5public.h:259:18:<br>
error:<br>
typedef redefinition with different types ('long' vs 'long long')<br>
typedef long int64_t;<br>
^<br>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/_types/_int64_t.h:30:20:<br>
note:<br>
previous definition is here<br>
typedef long long int64_t;<br>
^<br>
In file included from<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:57:<br>
In file included from<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5private.h:37:<br>
/usr/local/sources/VTK-6.3.0/ThirdParty/hdf5/vtkhdf5/src/H5public.h:279:27:<br>
error:<br>
typedef redefinition with different types ('unsigned long' vs<br>
'unsigned long long')<br>
typedef unsigned long uint64_t;<br>
^<br>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/_types/_uint64_t.h:31:28:<br>
note:<br>
previous definition is here<br>
typedef unsigned long long uint64_t;<br>
^<br>
2 errors generated.<br>
make[2]: ***<br>
[ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o] Error 1<br>
make[1]: *** [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/all] Error<br>
2<br>
make: *** [all] Error 2<br></blockquote></div></div></div>