Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Visual Studio 2022 #341

Open
etkaar opened this issue Sep 3, 2023 · 2 comments
Open

Compatibility with Visual Studio 2022 #341

etkaar opened this issue Sep 3, 2023 · 2 comments

Comments

@etkaar
Copy link

etkaar commented Sep 3, 2023

Is it compatible with Visual Studio 2022? It seems the drivers can't be build using wddk-build.bat as it complains about a missing windivert_log.rc:

D:\dev\WinDivert-2.2.2-Source\WinDivert-2.2.2>wddk-build.bat
path contains nonexistant c:\windows\system32\openssh\, removing
path contains nonexistant c:\users\office\.dotnet\tools, removing
BUILD: Compile and Link for x86
BUILD: Start time: Sun Sep 03 16:49:47 2023
BUILD: Examining D:\dev\windivert-2.2.2-source\windivert-2.2.2 directory tree for files to compile.
BUILD: Compiling D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys directory
Configuring OACR for 'root:x86fre' - <OACR on>
Sep 03 16:49:47 oacr.dll  OACR version change (from build '0' to '30122')
_NT_TARGET_VERSION SET TO WINXP
Compiling resources - sys\windivert.rc
1>errors in directory D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys
1>D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys\windivert.rc(38) : error RC1015: cannot open include file 'windivert_log.rc'.
Compiling - sys\windivert.c
1>D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys\windivert.c(46) : error C1083: Cannot open include file: 'windivert_log.h': No such file or directory
BUILD: Linking for D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys directory
_NT_TARGET_VERSION SET TO WINXP
Compiling resources - sys\windivert.rc
1>D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys\windivert.rc(38) : error RC1015: cannot open include file 'windivert_log.rc'.
Compiling - sys\windivert.c
1>D:\dev\windivert-2.2.2-source\windivert-2.2.2\sys\windivert.c(46) : error C1083: Cannot open include file: 'windivert_log.h': No such file or directory
1>NMAKE : fatal error U1073: don't know how to make 'c:\winddk\7600.16385.1\lib\wxp\i386\fwpkclnt.lib'
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2
BUILD: Finish time: Sun Sep 03 16:49:49 2023
BUILD: Done

    8 files compiled - 2 Warnings - 6 Errors
@etkaar etkaar closed this as completed Dec 9, 2023
@GrigLog
Copy link

GrigLog commented Oct 23, 2024

How did you fix it? I have the exact same errors

@etkaar
Copy link
Author

etkaar commented Oct 23, 2024

I wasn't able to fix it unfortunately.

@etkaar etkaar reopened this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants