1
Vote

"Error : No target architecture"

description

This error happened to me while trying to compile a project using the previously compiled static lib

It appears that VirtualKeyCode.h on line 25 includes "WinUser.h" which caused that compilation error

Replacing it with Windows.h solved the problem

comments