Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Driver compilation error

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Gustav123
How do I cheat?
Reputation: 0

Joined: 24 Jun 2024
Posts: 1

PostPosted: Mon Jun 24, 2024 11:18 am    Post subject: Driver compilation error Reply with quote

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
View user's profile Send private message
LamontCardenas
Newbie cheater
Ban
Reputation: 1

Joined: 03 Jun 2024
Posts: 15

PostPosted: Thu Jun 27, 2024 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites