2

I'm trying to build Text Services Framework Sample Codes using Visual Studio 2012 on Windows 8 RC 64bit. The instructions on these samples were based on VS 2003. Here's the part of that (wrote my problems in bold)

  1. Open a command window.
  2. Run vsvars32.bat. If you have Visual Studio .NET 2003 installed on your C: drive, the command is "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat".
  3. Run SetEnv.bat. If you have Visual Studio .NET installed on your C: drive, the command is "C:\Program Files\Microsoft SDK\SetEnv.bat" /RETAIL. (I couldn't find the file on my system)
  4. Navigate to the sample directory.
  5. Run nmake. (Getting error here: win32.mak not found)

What might be the possible solution?

Mehdi
  • 1,075
  • 1
  • 11
  • 24

2 Answers2

2
  1. Open a command window.
  2. Run vsvars32.bat. "C:\Program Files\Microsoft\Visual Studio 11.0\Common7\Tools\vsvars32.bat".
  3. Copy win32.mak from C:\Program Files\Microsoft SDKs\Windows\v7.1\Include to the sample directory.
  4. Navigate to the sample directory and run nmake.
-2

Use the Visual Studio Command Prompt. This loads the required variables.

Menno
  • 1
  • 3
    Uh No. (at least on my Win7 VS2012EE install). It seems that Win SDK8 is installed with VS2012EE and that Win SDK8 does not have a win32.mak. Using win32.mak from my previously installed Win Sdk 7 does seem to work. – willyo Sep 18 '12 at 18:11