0

I'm trying to create a very simple windows driver, the problem is that I can't get to compile it, visual studio keeps giving me the following error:

kmd\kmd.inf does not have NTAMD64 decorated model sections.

What's causing this problem and how do I fix this?

Trey
  • 474
  • 2
  • 9
  • 32

1 Answers1

1

Look like your INF file may be missing the .ntamd64 section. Please take a look at the following Microsoft documentation: https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-file-platform-extensions-and-x64-based-systems

Hope this helps!

thtse
  • 154
  • 6
  • Isn't there a way to make visual studio automate that? I refuse to believe it poses such a hurdle for driver developers... – Trey Mar 29 '20 at 00:51
  • @Tery No such automation exist in Visual Studio. Anyway such automation would not make much sense as Visual Studio would not know what to put there as it would not the information specific to your driver and device. – thtse Mar 29 '20 at 06:39