Your message dated Thu, 11 Dec 2014 19:47:27 +0100
with message-id <5489e6bf.4090...@debian.org>
and subject line Re: Bug#772833: libhdf5-dev: Cannot compile code using C++ 
bindings for HDF5
has caused the Debian Bug report #772833,
regarding libhdf5-dev: Cannot compile code using C++ bindings for HDF5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
772833: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772833
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libhdf5-dev
Version: 1.8.13+docs-15
Severity: important
Tags: patch

Dear Maintainer,

The C++ bindings for HDF5 (hdf5/serial/H5Cpp.h) use <hdf5/serial/H5Include.h>.
In this file the usual GDF5 header is included with (wrong) absolute path. This
results in:

/usr/include/hdf5/serial/H5Include.h:17:18: fatal error: hdf5.h: No such file
or directory
#include <hdf5.h>

Including with relative path solves the problem.

Yours,
Patrik Schönfeldt



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libhdf5-dev depends on:
ii  hdf5-helpers                       1.8.13+docs-15
ii  libhdf5-8                          1.8.13+docs-15
ii  libhdf5-cpp-8                      1.8.13+docs-15
ii  libjpeg-dev                        1:1.3.1-11
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:1.3.1-11
ii  zlib1g-dev                         1:1.2.8.dfsg-2+b1

libhdf5-dev recommends no packages.

Versions of packages libhdf5-dev suggests:
pn  libhdf5-doc  <none>

-- no debconf information

*** /home/patrik/H5Include.h.diff
17c17
< #include <hdf5.h>
---
> #include "hdf5.h"
17c17
< #include <hdf5.h>
---
> #include "hdf5.h"

--- End Message ---
--- Begin Message ---
Hi Patrik,

Patrik Schönfeldt a écrit le 11/12/2014 16:26 :
> Package: libhdf5-dev
> Version: 1.8.13+docs-15
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> The C++ bindings for HDF5 (hdf5/serial/H5Cpp.h) use <hdf5/serial/H5Include.h>.
> In this file the usual GDF5 header is included with (wrong) absolute path. 
> This
> results in:
> 
> /usr/include/hdf5/serial/H5Include.h:17:18: fatal error: hdf5.h: No such file
> or directory
> #include <hdf5.h>
> 
> Including with relative path solves the problem.

To build HDF5 applications you are supposed to use appropriate
compilation and build flags. For the C++ API you may want to use h5c++
(see the manpage for h5c++).

You can use pkg-config as well. For example:
$ pkg-config --cflags hdf5-serial
-I/usr/include/hdf5/serial

Thanks,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to