I use Windows7(x64) and would like to build HDF4 from the source with
VC++2008.
Then I get only one error as
···
---------------
test0.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
..\..\..\..\mfhdf\ncgen\Debug\ctest0.exe : fatal error LNK1120: 1 unresolved
externals
--------------
I have changed subsystem from Console to Windows, then I got the error as :
--------------
LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol
_WinMain@16 referenced in function ___tmainCRTStartup
--------------
But when I built it with other machine (WIndowsXP, VC++2008), there was no
error.
I would recommend using cmake to build hdf4 on windows 7.
Allen
···
Dear all,
I use Windows7(x64) and would like to build HDF4 from the source with
VC++2008.
Then I get only one error as
---------------
test0.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
..\..\..\..\mfhdf\ncgen\Debug\ctest0.exe : fatal error LNK1120: 1 unresolved
externals
--------------
I have changed subsystem from Console to Windows, then I got the error as :
--------------
LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol
_WinMain@16 referenced in function ___tmainCRTStartup
--------------
But when I built it with other machine (WIndowsXP, VC++2008), there was no
error.