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. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
