View previous topic :: View next topic |
Author |
Message |
Gustav123 How do I cheat?
Reputation: 0
Joined: 24 Jun 2024 Posts: 1
|
Posted: Mon Jun 24, 2024 11:18 am Post subject: Driver compilation error |
|
|
When i'm trying to compile the driver i get this:
Cannot open include file: 'ntifs.h': No such file or directory
when i try to add it as a header it doesn't work
Also when i add km as an additional include directory it gives me this:
Error C1189 #error: "No Target Architecture" DBKKernel C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\ntdef.h
also i'm using vs 19 and i have these installed:
• MSVC v142-VS2019 C++ x64/x86 build tools (latest)
• MSVC v142-VS2019 C++ x64/x86 Spectre-mitigated libs (latest)
• C++ ATL for latest v142 build tool (x86 & x64)
• C++ ATL for latest v142 build tool with Spectre Mitigations (x86 & x64)
• C++ MFC for latest v142 build tool with Spectre Mitigations (x86 & x64)
WDK for Windows 10, version 2004
Windows 10 SDK, version 2004 (10.0.19041.0)
|
|
Back to top |
|
 |
LamontCardenas Newbie cheater
Reputation: 1
Joined: 03 Jun 2024 Posts: 15
|
Posted: Thu Jun 27, 2024 2:09 pm Post subject: |
|
|
The error regarding 'ntifs.h' typically indicates that the necessary Windows Driver Kit headers aren't found. Double-checking your included paths and ensuring the correct WDK version is referenced might help. As for the "No Target Architecture" error, that often relates to mismatched settings between your project configuration and the SDK version. Have you tried adjusting the project properties to match the SDK version you're using? Good luck with resolving these compilation hurdles!
|
|
Back to top |
|
 |
|