Issue:

I am getting "iface_sample_common.lib(iface_common.obj) : error LNK2019: unresolved external symbol __imp__IFACE_GetErrorMessage referenced in function..." during building of IFace SDK sample project on Windows.


Cause:

CMake needs to have explicitly stated VS generator.


Solution:

create and build VS solution with following commands (if using VS 2010)

cmake -G "Visual Studio 10 2010 Win64" . 

cmake --build .