Divert icon indicating copy to clipboard operation
Divert copied to clipboard

Fix issue #215

Open xchangfeng opened this issue 5 years ago • 3 comments

Add windivert_log.mc to SOURCES to fix error:"Not Found windivert_log.rc or 'windivert_log.h in source code!"

xchangfeng avatar Apr 09 '20 13:04 xchangfeng

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 09 '20 13:04 CLAassistant

Is the SOURCES file even used? I thought it was redundant since switching to the VS build. Actually, I am wondering why it was not already deleted.

basil00 avatar Apr 13 '20 02:04 basil00

I followed the guidance of https://reqrypt.org/windivert-doc.html to generate .sys files by running wddk-build.bat not VS, the problem of issue #215 happend:"Not Found windivert_log.rc or 'windivert_log.h`"

I found that when running wddk-build.bat, it finally run file /sys/sources to generate .sys files.

Because you said that I quote:"The windivert_log.rc and windivert_log.h files should be automatically built from the windivert_log.mc file. However, it appears this step is not working. Perhaps the project files are not compatible with VS2019." And I realized that 'windivert_log.mc' should be complied at first. After I added 'windivert_log.mc' to 'SOURCES', the problem was solved and the drvier WinDivert64.sys or WinDivert32.sys was generated.

xchangfeng avatar Apr 16 '20 14:04 xchangfeng