Building with Debug but 1 project fails in Release mode

Hi,

I am building HDF5-1.8 with Visual Studio 2008 under Windows HPC Server 2008
(x64).

I am able to build the solution successfully in Debug mode but in Release
mode 1 project fails. The result of the build is:

========== Build: 160 succeeded, 1 failed, 1 up-to-date, 1 skipped

objectcopydll_proj_log.txt (14.7 KB)

···

==========

The failed project info is:

-------------------------------------------------------------------------------------------------------------------------------------

61>objcopy.obj : error LNK2019: unresolved external symbol __imp_h5_reset
referenced in function main

61>..\..\..\test\objcopydll\Release\objcopydll.exe : fatal error LNK1120:
111 unresolved externals

74>Linking...

61>Build log was saved at
"file://c:\MyHDFStuff\hdf5\test\objcopydll\Release\BuildLog.htm"

61>objcopydll - 112 error(s), 0 warning(s)

-------------------------------------------------------------------------------------------------------------------------------------------

I am attaching the complete log of the particular failed project. Kindly
have a look and please let me know

what am I missing.

Thanks & Regards,

Kunal

Do you have _HDF5USEDLL_ defined for the release as well as the debug
projects?

Dana

···

On Wed, Jun 9, 2010 at 8:11 PM, kunal rao <kunalgrao@gmail.com> wrote:

Hi,

I am building HDF5-1.8 with Visual Studio 2008 under Windows HPC Server
2008 (x64).

I am able to build the solution successfully in Debug mode but in Release
mode 1 project fails. The result of the build is:

========== Build: 160 succeeded, 1 failed, 1 up-to-date, 1 skipped

The failed project info is:

-------------------------------------------------------------------------------------------------------------------------------------

61>objcopy.obj : error LNK2019: unresolved external symbol __imp_h5_reset
referenced in function main

61>..\..\..\test\objcopydll\Release\objcopydll.exe : fatal error LNK1120:
111 unresolved externals

74>Linking...

61>Build log was saved at
"file://c:\MyHDFStuff\hdf5\test\objcopydll\Release\BuildLog.htm"

61>objcopydll - 112 error(s), 0 warning(s)

-------------------------------------------------------------------------------------------------------------------------------------------

I am attaching the complete log of the particular failed project. Kindly
have a look and please let me know

what am I missing.

Thanks & Regards,

Kunal

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org