none
static driver verifier RRS feed

  • Question

  • I am running Static Driver Verifier on my KMDF bus driver but I am getting the following error in SDV.

    staticdv.exe /devenv /check
    
      ---------------------------------------------------------------------
    
      Microsoft (R) Windows (R) Static Driver Verifier Version 4.0.500.0
    
      Copyright (C) Microsoft Corporation.  All rights reserved.
    
      ---------------------------------------------------------------------
    
      SDV is building for <Win8.1 Release|x64>
    
      Build     'MyDriver'  ...Done
    
      The call to Slamcl returned with exit code:=1.
    
      This happened while compiling compile3.cmd.
    
      The compile step failed for   'MyDriver' .
    
    EXEC : Compile warning : C:\Users\UserName\Desktop\MyDriver\Queue.c(1362) : error C2065: 
    
     
    'USBD_TRANSFER_DIRECTION' : undeclared identifier [C:\Users\UserName\Desktop\MyDriver\.MyDrivervcxproj]
    
    EXEC : Compile warning : C:\Users\UserName\Desktop\MyDriver\Queue.c(1362) : error C2065: 
    
    'USBD_TRANSFER_DIRECTION' : undeclared identifier [C:\Users\UserName\Desktop\MyDriver\.MyDrivervcxproj]
    
      The command "staticdv.exe /devenv /check" exited 
    
    with code 5. Please verify that you have sufficient rights to run this command.
    I am aware that USBD_TRANSFER_DIRECTION' is declared in usb.h and that’s included in my files. The driver is successfully build otherwise.I found some discussions on this and found that such issues can be solved by tweaking SDV settings. What all setings are to be tweaked? Any info on this would be helpful.

    • Edited by its_me_here Tuesday, February 3, 2015 6:14 PM
    Tuesday, February 3, 2015 6:13 PM

Answers

All replies