[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hdf5.h doesn't found
From: |
John W. Eaton |
Subject: |
Re: hdf5.h doesn't found |
Date: |
Wed, 25 Feb 2015 19:02:35 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
On 02/25/2015 05:47 PM, José Luis García Pallero wrote:
Hello:
I'm trying to compile Octave 3.8.2 in Debian Sid. I've done the
./configure step as
./configure --prefix=/opt/octave CFLAGS=-O2 CXXFLAGS=-O2 FFLAGS=-O2
--with-hdf5-includedir=/usr/include/hdf5/serial/
--with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial/
I've installed the Debian packages libhdf5-8, libhdf5-cpp-8 and
libhdf5-dev. In /usr/include/hdf5/serial/ I can see the hdf5.h file
and in /usr/lib/x86_64-linux-gnu/hdf5/serial/ there are libhdf5.a|so
et al. I obtain this error at compile time:
g++ -E -DHAVE_CONFIG_H -I. -I.. \
-I../liboctave/cruft/misc -I../liboctave/array
-I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators
-I../liboctave/operators -I../liboctave/system -I../liboctave/util
-I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn
-I./corefcn -I../libgnu -I../libgnu \
-Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread \
-DMAKE_BUILTINS octave.cc > octave.df-t
In file included from ./octave-value/ov.h:42:0,
from corefcn/Cell.h:32,
from octave.cc:52:
corefcn/oct-hdf5.h:27:18: fatal error: hdf5.h: No existe el fichero o
el directorio
#include <hdf5.h>
^
compilation terminated.
Makefile:8536: recipe for target 'octave.df' failed
The compiler says hdf5.h was not found. Is it a bug or is may
./configure step wrong? ./configure didn't emit any warning about. The
HDF5 related lines were:
I'm pretty sure this is a bug in the Makefiles that has since been fixed.
As a quick workaround, try running configure with
configure ... CPPFLAGS=-I... LDFLAGS=-L...
instead of using the --with-hdf5-... options.
jwe
- hdf5.h doesn't found, José Luis García Pallero, 2015/02/25
- Re: hdf5.h doesn't found,
John W. Eaton <=