help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation/compilation error


From: Dmitri A. Sergatskov
Subject: Re: Installation/compilation error
Date: Sun, 21 Dec 2008 21:17:40 -0600

On Sun, Dec 21, 2008 at 8:53 PM, SAMRAT RAO <address@hidden> wrote:
> Hi,
>    I am trying to compile octave 3.0.3 from source in my openSUSE 11.0. I am
> stuck with the following error:
>
> ls-hdf5.cc: In function 'bool hdf5_check_attr(hid_t, const char*)':
> ls-hdf5.cc:146: error: invalid conversion from 'herr_t (**)(hid_t, void*)'
> to 'hid_t'
> ls-hdf5.cc:146: error: invalid conversion from 'void**' to 'herr_t
> (**)(hid_t, void*)'

You need to set HDF5-1.6 compatibility by defining CPPFLAGS="-DH5_USE_16_API"
e.g.:

./configure CPPFLAGS="-DH5_USE_16_API"

Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]