[Connect Update 5 C++] Trouble getting compiler to recognize windows files

Upgraded to the latest SDK for Update 5

I have installed VS 2015 since that is now required..now I am having a hell of a time getting the bentley compiler to recognize files like windows.h and winsock.h

fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

do I need to include the windows SDK paths in my make file?

Any help would be greatly appreciated!

  • Hi Maury,

    I presume this is based on where the shell/tools believe VS2015 is located. From a developer shell, type: "set vs".
    Are the path values correct, incorrect, or empty? Alternately, from the developer shell you could try to confirm if the VS environment script is being resolved and called correctly by typing: "where vcvars32.bat"; which we call and should configure VS tools environment properly.

    Lastly, if these compilation errors are coming from the developer shell, what color is the text within the developer shell (white or yellow)? White is administrative user (and as will all tools called), Yellow is standard user (not likely to have all necessary permissions required).

    Bob