Dear all,
When building paraview, master branch, commit
d00c2cfed216bd07122f8b38c41329c40b510b50, I get the error:
/opt/paraview/VTK/ThirdParty/hdf5/vtkhdf5/src/H5public.h:166:5: error:
#error "nothing appropriate for ssize_t"
The context of it is:
#if H5_SIZEOF_SSIZE_T==0
/* Undefine this size, we will re-define it in one of the sections below */
#undef H5_SIZEOF_SSIZE_T
#if H5_SIZEOF_SIZE_T==H5_SIZEOF_INT
#ifdef WIN32
#undef ssize_t
#endif
typedef int ssize_t;
# define H5_SIZEOF_SSIZE_T H5_SIZEOF_INT
#elif H5_SIZEOF_SIZE_T==H5_SIZEOF_LONG
typedef long ssize_t;
# define H5_SIZEOF_SSIZE_T H5_SIZEOF_LONG
#elif H5_SIZEOF_SIZE_T==H5_SIZEOF_LONG_LONG
typedef long long ssize_t;
# define H5_SIZEOF_SSIZE_T H5_SIZEOF_LONG_LONG
#else /* Can't find matching type for ssize_t */
# error "nothing appropriate for ssize_t"
#endif
#endif
Checking the value of some variables with #pragma message, I verified that
at the beginning of this part, not only *H5_SIZEOF_SSIZE_T is undefined*, *but
also* *H5_SIZEOF_SIZE_T is undefined.*
I wasn't able to diagnose the problem further than that. Would you have any
suggestion? Is there some configuration of CMake that I am doing wrong?
Thank you for your attention,
Thomas Oliveira
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview