P.S. Sorry for cross-posting but I forgot to edit the subject field in my
previous e-mail. Please excuse me.
Dear all,
···
I am trying to compile and link a fortran program under Visual Studio 2010
with Intel Fortran Compiler 13. The program compiles without errors,
whereas, during linking process it gives two unresolved symbol errors:
Error 1 error LNK2019: unresolved external symbol
_H5LIB_PROVISIONAL_mp_H5OFFSETOF referenced in function _H5WRITE
h5write.obj
Error 2 error LNK2019: unresolved external symbol
_H5D_PROVISIONAL_mp_H5DWRITE_PTR referenced in function _H5WRITE
h5write.obj
My Linker command line configuration is as follows:
I already set the preprocessor definitions
"HDF5F90_WINDOWS;_HDF5USEHLDLL_". THe HDF5 version I use is 1.8.10, which
was compiled from source with Visual Studio 2010 and Intel Fortran Compiler
13. I used Cmake and enabled Fortran2003. I tried many different options to
no avail. Could you make any suggestions, please?
Best,
Ekin
--
Ekin Akoglu
Institute of Marine Sciences
Middle East Technical University
P.O. Box 28, 33731
Erdemli, Mersin
Turkey
The Fortran2003 option is not supported on windows with Visual Studio, you can look at RELEASE.txt for the platforms supporting F2003. It is, however, on our to-do list.
Scot
···
On 2012-11-16 09:24, Ekin Akoglu wrote:
P.S. Sorry for cross-posting but I forgot to edit the subject field
in my previous e-mail. Please excuse me.
Dear all,
I am trying to compile and link a fortran program under Visual Studio 2010 with Intel Fortran Compiler 13. The program compiles without errors, whereas, during linking process it gives two unresolved symbol errors:
Error 1 error LNK2019: unresolved external symbol _H5LIB_PROVISIONAL_mp_H5OFFSETOF referenced in function _H5WRITE h5write.obj
Error 2 error LNK2019: unresolved external symbol _H5D_PROVISIONAL_mp_H5DWRITE_PTR referenced in function _H5WRITE h5write.obj
My Linker command line configuration is as follows:
I already set the preprocessor definitions "HDF5F90_WINDOWS;_HDF5USEHLDLL_". THe HDF5 version I use is 1.8.10, which was compiled from source with Visual Studio 2010 and Intel Fortran Compiler 13. I used Cmake and enabled Fortran2003. I tried many different options to no avail. Could you make any suggestions, please?
Best,
Ekin
--
Ekin Akoglu
Institute of Marine Sciences
Middle East Technical University
P.O. Box 28, 33731
Erdemli, Mersin
Turkey
The Fortran2003 option is not supported on windows with Visual Studio, you
can look at RELEASE.txt for the platforms supporting F2003. It is, however,
on our to-do list.
Scot
On 2012-11-16 09:24, Ekin Akoglu wrote:
P.S. Sorry for cross-posting but I forgot to edit the subject field
in my previous e-mail. Please excuse me.
Dear all,
I am trying to compile and link a fortran program under Visual Studio
2010 with Intel Fortran Compiler 13. The program compiles without errors,
whereas, during linking process it gives two unresolved symbol errors:
Error 1 error LNK2019: unresolved external symbol _H5LIB_PROVISIONAL_mp_
**H5OFFSETOF referenced in function _H5WRITE h5write.obj
Error 2 error LNK2019: unresolved external symbol
_H5D_PROVISIONAL_mp_H5DWRITE_**PTR referenced in function _H5WRITE
h5write.obj
My Linker command line configuration is as follows:
I already set the preprocessor definitions "HDF5F90_WINDOWS;_**HDF5USEHLDLL_".
THe HDF5 version I use is 1.8.10, which was compiled from source with
Visual Studio 2010 and Intel Fortran Compiler 13. I used Cmake and enabled
Fortran2003. I tried many different options to no avail. Could you make any
suggestions, please?
Best,
Ekin
--
Ekin Akoglu
Institute of Marine Sciences
Middle East Technical University
P.O. Box 28, 33731
Erdemli, Mersin
Turkey