I am trying to compile EventLogReader sample on windows with VS 2015 express but encountered many link errors like:
CimOpenWsmanClientD.lib(error.obj) : warning LNK4217: locally defined symbol _vsnprintf imported in function _xmlReportError 2>MSVCRTD.lib(vsnprintf.obj) : warning LNK4049: locally defined symbol _vsnprintf imported 2>CimOpenWsmanClientD.lib(entities.obj) : error LNK2001: unresolved external symbol __imp___snprintf
Hi - Just to be sure - are you following the guidance in the Implementation and Reference Guide? And have you installed the Microsoft Platform SDK?
And I just noticed you are trying to use MS 2015. The SDK that supports AMT version 10 is built for MS 2008. Try the guidance below and see if you can get your samples to build.
The Windows C++ samples were developed using Visual C++ 2008 Service Pack 1 (SP1). Visual Studio Professional Edition 2008 with Service Pack 1 must be installed to compile and run the Intel AMT Windows C++ samples. The sample behavior in newer versions of Visual Studio cannot be guaranteed. They depend on runtime elements from this development environment. The Microsoft Visual C++ 2008 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed. If you do not have Visual C++ 2008 installed on your platform, follow this link to download and install the redistributable package on the platform where you will execute the samples.