2017-06-30 3 views
5

コンパイル見つかりません - ライン36でWFPSamplerCalloutDriver.InXに(32/64デバッグ/リリース):WFPSamplerコンパイルの問題 - wfpcalloutsclassreg <a href="https://github.com/Microsoft/Windows-driver-samples/tree/master/network/trans/WFPSampler" rel="noreferrer">WFPSampler</a>プロジェクトは、任意の設定に失敗し、Microsoftのデモの

[ClassInstall32.nt$ARCH$] 
    AddReg = WFPCalloutsClassReg 

を:

Stamping .\WFPSamplerCalloutDriver.inf [Version] section with DriverVer=06/29/2017,19.37.54.422 
sys\WFPSamplerCalloutDriver.inx(36-36): error 1203: Section [wfpcalloutsclassreg] not found. 
sys\WFPSamplerCalloutDriver.inx(49-49): warning 2083: Section [defaultuninstall.ntx86] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(53-53): warning 2083: Section [defaultuninstall.ntx86.services] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(56-56): warning 2083: Section [wfpcalloutclassreg] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(66-66): warning 2083: Section [wfpsamplercalloutdriver.nt.coinstallers] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(70-70): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.addreg] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(73-73): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.copyfiles] not referenced or used. 

pageのダウンロードとインストール手順に続いてインストールされたVisual Studio Community、SDK、およびWDKを使用しています。ReadMe file

この問題に関する関連情報が見つかりませんでした。

VS、SDK、WDKをアンインストールして最新バージョンに再インストールしても問題は解決しませんでした。

現在の設定は

Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3 
Microsoft .NET Framework Version 4.7.02053 
Microsoft Visual C++ 2015 
Application Insights Tools for Visual Studio Package 7.0.20622.1 
Common Azure Tools 1.8 
Debugging Tools for Windows 10.0.15063.0 
JavaScript Language Service 2.0 
JavaScript Project System 2.0 
Microsoft Azure Mobile Services Tools 1.4 
NuGet Package Manager 3.4.4 
PreEmptive Analytics Visualizer 1.2 
TypeScript 1.8.36.0 
Windows Driver Kit 10.0.15063.0 
+0

行56を '[WFPCalloutClassReg]'から '[WFPCalloutsClassReg]'( 's'に注意してください)に変更してみてください。 – cynic

+0

それと同じくらい簡単です、ありがとう – Damien

答えて

3

あるサンプルにタイプミスがあるようです。関連するセクションは WFPCalloutClassReg(56行目)と呼ばれますが、ファイルの別の場所でWFPCalloutsClassRegと表示されます(余分な 's'に注意してください)。したがって、修正は56行目を[WFPCalloutsClassReg]に変更することです。

関連する問題

 関連する問題