using HDF5 In Linux system

I'm a newbie and want to learn about using HDF how to use it in my C++
program(QT).I downloaded HDF5 SOFTWARE
"hdf5-1.8.9-linux-x86_64-shared.tar.gz". I'm using Fedora 17 x64_86.

I installed it in my /home/hdf directory, I set the path using PATH and LD.
Now I'm trying to compile one of the examples provided using gcc but it says
: "hdf5.h" : no such file or directory.

please help!
thank you

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/using-HDF5-In-Linux-system-tp4025269.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Rohan,

···

On Jul 26, 2012, at 1:21 AM, RhnBlk wrote:

I'm a newbie and want to learn about using HDF how to use it in my C++
program(QT).I downloaded HDF5 SOFTWARE
"hdf5-1.8.9-linux-x86_64-shared.tar.gz". I'm using Fedora 17 x64_86.

I installed it in my /home/hdf directory, I set the path using PATH and LD.
Now I'm trying to compile one of the examples provided using gcc but it says
: "hdf5.h" : no such file or directory.

It looks like you are not specifying HDF5 include directory. Are including -I/path_to_HDF5/include in your CFLAGS?

We provide h5cc script to compile and link applications with the HDF5 library. Please go to the bin directory in the HDF5 installation directory and run h5redeploy script. The script will modify h5cc compilation script to point to the correct location of the library and header files. Then make sure that h5cc is in your path.

Hope this helps.

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

please help!
thank you

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/using-HDF5-In-Linux-system-tp4025269.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

I know very little about Fedora, but why not just use the hdf5-devel
Fedora package [1]?

Cheers,
Trevor

[1]: http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/source/SRPMS/hdf5-1.8.8-8.fc17.src.rpm
[2]: https://admin.fedoraproject.org/pkgdb/acls/name/hdf5

···

On Wed, Jul 25, 2012 at 11:21:11PM -0700, RhnBlk wrote:

I'm a newbie and want to learn about using HDF how to use it in my C++
program(QT).I downloaded HDF5 SOFTWARE
"hdf5-1.8.9-linux-x86_64-shared.tar.gz". I'm using Fedora 17 x64_86.