Unresolved external symbol error on creating HDF5 File under C++

Hi there,

Under C++ I want to create a new HDF5 file by the following method (which is
contained within the class CHDF5FileWriter):

void CHDF5FileWriter::Open()

{

      try

      {

            file = new H5File(_filename.c_str(), H5F_ACC_TRUNC);

            group = new Group(file->createGroup(_groupName.c_str()));

      }

      catch (H5::Exception &ex)

      {

            ex.printError();

            delete file;

            delete group;

      }

}

On linking with Visual Studio 2005 I get an LNK2001 error which says that
the H5::FileCreatPropList::DEFAULT symbol and the
H5::FileAccPropList::DEFAULT symbol cannot be resolved. These symbols are
implicitly used by the H5File constructor. I included the
hdf5_cppdll.lib/.dll and the hdf5dll.lib/.dll files as well as the "H5Cpp.h"
by the #include directive. The compiler doesn't complain and the code
completion feature of VS2005 finds those symbols too. Did I forget any
library file or namespace to provide?

I use the HDF5 library version 1.8.4. patch 1 for Windows 32-bit and Visual
Studio 2005.

Thanks in advance,

Matthias

PS: Just to let you know about our upcoming events:

<http://www.wcnr2010.org/&gt; World Congress on NeuroRehabilitation from March
21 - 25, 2010 in Vienna, Austria
<http://www.cnsmeeting.org/&gt; Cognitive Neuroscience Society Meeting from
April 17 - 20, 2010 with <http://www.gtec.at/profile/BCI_WS_CNS_2010.html&gt;
g.tec BCI workshop in Montreal, Canada
<Welcome bcimeeting.org - Justhost.com; BCI Meeting 2010 from May 31 - June 4, 2010
with <http://www.bci2000.org/BCI2000/Workshop.html&gt; BCI2000 workshop on May
30 - 31, 2010 in Asilomar, California, USA

<Home | Organization for Human Brain Mapping; 16th
Annual Meeting of the Organization for Human Brain Mapping from June 6 - 10,
2010 with <http://www.gtec.at/profile/BCI_WS_Brainmapping_2010.html&gt; g.tec
BCI workshop in Barcelona, Spain
<http://www.icchp.org/&gt; ICCHP 2010 from July 14 - 16, 2010 with g.tec BCI
workshop in Vienna, Austria
<http://www.cnsorg.org/2010/&gt; 19th Computational Neurosciences Meeting from
July 24 - 30, 2010 in San Antonio, Texas, USA
<NameBright - Coming Soon; ICPR 2010 from August 23 - 26, 2010 in Istanbul,
Turkey

Would be nice to meet you there!

cid:image001.gif@01CA4735.5C324E80

···

_________________________________________________

cid:1A065B10873045C384A80A97969658DB@KrauszPC

Matthias Zeintlinger, Dipl.-Ing.
GUGER TECHNOLOGIES OG

Herbersteinstr. 60, 8020 Graz, Austria
phone: ++43 316 675106 - 22
fax: ++43 316 675106 - 39
e-mail: <mailto:zeintlinger@gtec.at> zeintlinger@gtec.at

web: <g.tec Suite 2020 | g.tec medical engineering GmbH; www.gtec.at

_________________________________________________

This message and any attached files are confidential and intended solely for
the addressee(s). Any publication, transmission or other use of the
information by a person or entity other than the intended addressee is
prohibited. If you receive this in error please contact the sender and
delete the material. The sender does not accept liability for any errors or
omissions as a result of the transmission.