From: Marcos Ackel (mvackel_at_yahoo.com)
Date: Tue Oct 02 2012 - 16:38:18 CDT

Hi John,

I've found the windows.h file - it's in another folder (installed with the VS 2010): 
    C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include

Now I'm getting an error while linking the plugins (bellow). I've copied just 3 of them, but there are 6 unresolved externals. Do you know in what Lib/Dll are they?

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

...

   Creating library ../compile/lib_WIN32/molfile/dtrplugin.lib and object ../com
pile/lib_WIN32/molfile/dtrplugin.exp
dtrplugin.o : error LNK2019: unresolved external symbol "private: static void __
cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_
Register_at_facet@locale_at_std@@CAXPAV123@@Z) referenced in function "public: void __
thiscall std::locale::facet::_Register(void)" (?_Register_at_facet@locale_at_std@@QAEX
XZ)
dtrplugin.o : error LNK2019: unresolved external symbol "class std::error_catego
ry const & __cdecl std::iostream_category(void)" (?iostream_category_at_std@@YAABVe
rror_category_at_1@XZ) referenced in function "class std::error_code __cdecl std::m
ake_error_code(enum std::io_errc::io_errc)" (?make_error_code_at_std@@YA?AVerror_co
de_at_1@W4io_errc_at_31@@Z)
dtrplugin.o : error LNK2019: unresolved external symbol "void __cdecl std::_Xout
_of_range(char const *)" (?_Xout_of_range_at_std@@YAXPBD_at_Z) referenced in function
"public: void __thiscall std::basic_string<char,struct std::char_traits<char>,cl
ass std::allocator<char> >::_Xran(void)const " (?_Xran@?$basic_string_at_DU?$char_t
raits_at_D@std@@V?$allocator_at_D@2@@std@@QBEXXZ)
...
../compile/lib_WIN32/molfile/dtrplugin.so : fatal error LNK1120: 6 unresolved ex
ternals
Makefile:337: recipe for target `dtrplugin.so' failed
make[2]: *** [dtrplugin.so] Error 96
Makefile:143: recipe for target `molfilelibs' failed
make[1]: *** [molfilelibs] Error 1
Make-arch:514: recipe for target `WIN32' failed
make: *** [WIN32] Error 2

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

----- Original Message -----
From: John Stone <johns_at_ks.uiuc.edu>
To: Marcos Ackel <mvackel_at_yahoo.com>
Cc: VMD_List <vmd-l_at_ks.uiuc.edu>
Sent: Tuesday, October 2, 2012 5:33 PM
Subject: Re: vmd-l: VMD compile on windows (where is windows.h?)

Hi,
  The windows.h header file should indeed included with VS 2008.  I'm not
sure why you would not be finding it.  Perhaps there's something amiss
with the compiler setup on your machine, or you are trying to make
your own project rather than using the VMD plugin makefiles?

This topic shows up in a quick Google search:
  http://channel9.msdn.com/forums/Coffeehouse/415758-Visual-Studio-2008-Professional-no-windowsh-/

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu