Urgent Error (UNCLASSIFIED)

Classification: UNCLASSIFIED

Caveats: NONE

Hello,

I also ran into this yesterday and still today, when I performed a fresh
install, I can't seem to solve it.

I'm running Visual Studio 2005.

When I get to this point in the installation:

<<---To build and test HDF5 C++ examples--->>

I build it and I get an error when trying to compile all the CPP examples.
After that one, I receive 343 errors, all of type LNK2019.

14>compound.obj : error LNK2019: unresolved external symbol _H5check_version
referenced in function _main

The error only happens when I try to build a release version of
allcppexamples.

Any ideas?

Very respectfully,

Phil Salesses

Cartographic Technician

U.S. Army Topographic Engineering Center (TEC)

7701 Telegraph Road

Alexandria, VA 22315-3864

Mark.P.Salesses@usace.army.mil

TEC R&D - Anything But Ordinary

Hi Mark,

I'm having trouble reproducing your errors here. I regularly test HDF5 under Visual Studio 2005, including the C++ examples. A couple things to check:

-- Does this happen with only release version, or debug as well?
-- Do you get this error with only the DLL versions, or static as well? (try right-clicking on an individual project and building it separately)

Also, make sure you are linking with the latest version of the HDF5 library. In Visual Studio, go to Tools, Options, Projects and Solutions, VC++ Directories, Show directories for: Library files. Make sure that you don't have directories pointing to previous versions of HDF5. Also, make sure you place the latest HDF5 C/C++ DLLs in the C:\Windows\system directory for testing DLL version.

If you still receive errors, please try linking with the Visual Studio 2005 binaries provided on the ftp here: ftp://ftp.hdfgroup.org/HDF5/current/bin/windows/5-180-win-vs2005.zip

Scott

Salesses, Mark P ERDC-TEC-VA wrote:

···

Classification: UNCLASSIFIED

Caveats: NONE

Hello,

I also ran into this yesterday and still today, when I performed a fresh install, I can�t seem to solve it.

I�m running Visual Studio 2005.

When I get to this point in the installation:

<<---To build and test HDF5 C++ examples--->>

I build it and I get an error when trying to compile all the CPP examples. After that one, I receive 343 errors, all of type LNK2019.

14>compound.obj : error LNK2019: unresolved external symbol _H5check_version referenced in function _main

The error only happens when I try to build a release version of allcppexamples.

Any ideas?

Very respectfully,

Phil Salesses

Cartographic Technician

U.S. Army Topographic Engineering Center (TEC)

7701 Telegraph Road

Alexandria, VA 22315-3864

Mark.P.Salesses@usace.army.mil

TEC R&D - Anything But Ordinary

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.