[Paraview] Compile error: unknown type name ‘sigjmp_buf’

John Moore johnpmooreiv at gmail.com
Wed Feb 18 12:52:30 EST 2015


Thanks for the help, Ben.

H5JMP_BUF is not found in CMakeCache.txt, but H5_HAVE_SETJMP_H is, as shown
below:

//Have function setjmp
H5_HAVE_SETJMP:INTERNAL=1
//Have include
sys/resource.h;sys/time.h;unistd.h;sys/ioctl.h;sys/stat.h;sys/socket.h;sys/types.h;stddef.h;setjmp.h
H5_HAVE_SETJMP_H:INTERNAL=1

I've tried to compile both with and without having HDF5 installed on my
system, and both methods fail. I haven't tried -DVTK_USE_SYSTEM_HDF5=ON yet
because I would like to be able to use the H5 included with VTK, if
possible.

Thanks,
John

On Wed, Feb 18, 2015 at 11:02 AM, Ben Boeckel <ben.boeckel at kitware.com>
wrote:

> On Tue, Feb 17, 2015 at 15:14:13 -0500, John Moore wrote:
> > I get the following error when compiling on Ubuntu 14.04
> >
> >
> /home/john/local/ParaView/4.3.1/ParaView-v4.3.1-source/VTK/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:149:1:
> > error: unknown type name ‘sigjmp_buf’
> >  static H5JMP_BUF jbuf_g;
> >
> > I've installed HDF5 and its development tools. Any idea how I can fix
> this?
>
> You can pass -DVTK_USE_SYSTEM_HDF5=ON to use your installed HDF5, but it
> looks like HDF5's configure checks are failing thinking it doesn't have
> setjmp.h (H5_HAVE_SETJMP_H) while it does manage to find sigjmp_buf
> (H5JMP_BUF). Are those H5* variables set in your CMakeCache.txt at all?
>
> Thanks,
>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150218/e9875592/attachment.html>


More information about the ParaView mailing list