OpenVPN / tap-windows6

Windows TAP driver (NDIS 6)
Other
765 stars 238 forks source link

error RC2135: file not found: OemVista.inf ... #146

Open NimaEagle opened 2 years ago

NimaEagle commented 2 years ago

Hi I've installed Python 2.7 Windows 10 SDK, WDK and All the MVSC libraries for all the architectures for Visual Studio 2019 but i get bellow error when execute python buildtap.py -m --sdk=wdk from Developer Command Prompt for VS2019

C:\tap\tap-windows6>python buildtap.py -m --sdk=wdk
***** BUILD MSM arch=i386
RUN: msbuild.exe C:\tap\tap-windows6\msm\installer.vcxproj /t:MSM /p:Configuration=Release /p:Platform=Win32
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 11/24/2021 10:31:41 PM.
Project "C:\tap\tap-windows6\msm\installer.vcxproj" on node 1 (MSM target(s)).
PrepareForBuild:
  Creating directory "Release\".
  Creating directory "Release\installer.tlog\".
InitializeBuildStatus:
  Creating "Release\installer.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\CL.exe /c /Zi
   /nologo /W3 /WX- /diagnostics:column /sdl /O2 /Oi /Oy- /GL /D HAVE_EV /D HAVE_WHQL /D NDEBUG /D WIN32 /D INSTALLER_E
  XPORTS /D _WINDOWS /D _USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /Gy /fp:precise /permissive- /Zc:w
  char_t /Zc:forScope /Zc:inline /Yc"pch.h" /Fp"Release\installer.pch" /Fo"Release\\" /Fd"Release\vc142.pdb" /external:
  W3 /Gd /TC /analyze- /FC /errorReport:queue pch.c
  pch.c
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\CL.exe /c /Zi
   /nologo /W3 /WX- /diagnostics:column /sdl /O2 /Oi /Oy- /GL /D HAVE_EV /D HAVE_WHQL /D NDEBUG /D WIN32 /D INSTALLER_E
  XPORTS /D _WINDOWS /D _USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /Gy /fp:precise /permissive- /Zc:w
  char_t /Zc:forScope /Zc:inline /Yu"pch.h" /Fp"Release\installer.pch" /Fo"Release\\" /Fd"Release\vc142.pdb" /external:
  W3 /Gd /TC /analyze- /FC /errorReport:queue dllmain.c installation.c msi.c
  dllmain.c
  installation.c
  msi.c
ResourceCompile:
  C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86\rc.exe /D HAVE_EV /D HAVE_WHQL /D _UNICODE /D UNICODE /l"
  0x0409" /I..\dist\i386 /nologo /fo"Release\resource.res" resource.rc

resource.rc(7): error RC2135: file not found: OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(8): error RC2135: file not found: tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(9): error RC2135: file not found: tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(13): error RC2135: file not found: win10\OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(14): error RC2135: file not found: win10\tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(15): error RC2135: file not found: win10\tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

Done Building Project "C:\tap\tap-windows6\msm\installer.vcxproj" (MSM target(s)) -- FAILED.

Build FAILED.

"C:\tap\tap-windows6\msm\installer.vcxproj" (MSM target) (1) ->
(ResourceCompile target) ->
  resource.rc(7): error RC2135: file not found: OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(8): error RC2135: file not found: tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(9): error RC2135: file not found: tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(13): error RC2135: file not found: win10\OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(14): error RC2135: file not found: win10\tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(15): error RC2135: file not found: win10\tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

    0 Warning(s)
    6 Error(s)

Time Elapsed 00:00:01.64
***** BUILD MSM arch=amd64
RUN: msbuild.exe C:\tap\tap-windows6\msm\installer.vcxproj /t:MSM /p:Configuration=Release /p:Platform=x64
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 11/24/2021 10:31:43 PM.
Project "C:\tap\tap-windows6\msm\installer.vcxproj" on node 1 (MSM target(s)).
PrepareForBuild:
  Creating directory "x64\Release\".
  Creating directory "x64\Release\installer.tlog\".
InitializeBuildStatus:
  Creating "x64\Release\installer.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\CL.exe /c /Zi
   /nologo /W3 /WX- /diagnostics:column /sdl /O2 /Oi /GL /D HAVE_EV /D HAVE_WHQL /D NDEBUG /D WIN32 /D INSTALLER_EXPORT
  S /D _WINDOWS /D _USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /Gy /fp:precise /permissive- /Zc:wchar_
  t /Zc:forScope /Zc:inline /Yc"pch.h" /Fp"x64\Release\installer.pch" /Fo"x64\Release\\" /Fd"x64\Release\vc142.pdb" /ex
  ternal:W3 /Gd /TC /FC /errorReport:queue pch.c
  pch.c
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\CL.exe /c /Zi
   /nologo /W3 /WX- /diagnostics:column /sdl /O2 /Oi /GL /D HAVE_EV /D HAVE_WHQL /D NDEBUG /D WIN32 /D INSTALLER_EXPORT
  S /D _WINDOWS /D _USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /Gy /fp:precise /permissive- /Zc:wchar_
  t /Zc:forScope /Zc:inline /Yu"pch.h" /Fp"x64\Release\installer.pch" /Fo"x64\Release\\" /Fd"x64\Release\vc142.pdb" /ex
  ternal:W3 /Gd /TC /FC /errorReport:queue dllmain.c installation.c msi.c
  dllmain.c
  installation.c
  msi.c
ResourceCompile:
  C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86\rc.exe /D HAVE_EV /D HAVE_WHQL /D _UNICODE /D UNICODE /l"
  0x0409" /I..\dist\amd64 /nologo /fo"x64\Release\resource.res" resource.rc

resource.rc(7): error RC2135: file not found: OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(8): error RC2135: file not found: tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(9): error RC2135: file not found: tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(13): error RC2135: file not found: win10\OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(14): error RC2135: file not found: win10\tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]

resource.rc(15): error RC2135: file not found: win10\tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

Done Building Project "C:\tap\tap-windows6\msm\installer.vcxproj" (MSM target(s)) -- FAILED.

Build FAILED.

"C:\tap\tap-windows6\msm\installer.vcxproj" (MSM target) (1) ->
(ResourceCompile target) ->
  resource.rc(7): error RC2135: file not found: OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(8): error RC2135: file not found: tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(9): error RC2135: file not found: tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(13): error RC2135: file not found: win10\OemVista.inf [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(14): error RC2135: file not found: win10\tap0901.cat [C:\tap\tap-windows6\msm\installer.vcxproj]
  resource.rc(15): error RC2135: file not found: win10\tap0901.sys [C:\tap\tap-windows6\msm\installer.vcxproj]

    0 Warning(s)
    6 Error(s)

Time Elapsed 00:00:01.30