I have an error, I don't know...,i can't understand the problem


#1

1>------ Build started: Project: Project63, Configuration: Debug x64 ------
1>libhdf5.lib(H5T.obj) : error LNK2005: H5Tcopy already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5T.obj) : error LNK2005: H5Tclose already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5.obj) : error LNK2005: H5check_version already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5.obj) : error LNK2005: H5open already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5S.obj) : error LNK2005: H5Sclose already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5S.obj) : error LNK2005: H5Screate_simple already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5F.obj) : error LNK2005: H5Fcreate already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5F.obj) : error LNK2005: H5Fclose already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5D.obj) : error LNK2005: H5Dcreate2 already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5D.obj) : error LNK2005: H5Dclose already defined in hdf5.lib(hdf5.dll)
1>libhdf5.lib(H5Torder.obj) : error LNK2005: H5Tset_order already defined in hdf5.lib(hdf5.dll)
1>LINK : fatal error LNK1104: cannot open file ‘libmmd.lib’
1>Done building project “Project63.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Code********************
#include “H5Cpp.h”

const int NX = 2;
const int NY = 4;

int main()
{
hid_t file;
herr_t status;

file = H5Fcreate("dsad.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
status = H5Fclose(file);


hid_t    dataset, datatype, dataspace;
hsize_t dimsf[2];
dimsf[0] = NX;
dimsf[1] = NY;
int rank = 2;
dataspace = H5Screate_simple(rank, dimsf, NULL);
datatype = H5Tcopy(H5T_NATIVE_INT);
status = H5Tset_order(datatype, H5T_ORDER_LE);

dataset = H5Dcreate(file, "/dset", datatype, dataspace, H5P_DEFAULT,
	H5P_DEFAULT, H5P_DEFAULT);

H5Dclose(dataset);
H5Sclose(dataspace);
H5Tclose(datatype);

}