none
[WDK] How to build Audio sysvad sample project from Microsoft RRS feed

  • Question

  • Hi all,

    I am new to driver development. I am usingn VS 2015 with WDK10.I started with Audio Sysvad sample from Microsoft. 

    I am facing problem in Building this sample. i followed this following steps to build my sample but each time it gets failed.

    few this i want to know while building this sample.

    1. what should be my startup project?

    2. after building this why i am geting only 3 .dll files i.e, KeywordDetectorContosoAdapter.dll, PropPageExt.dll, SwapAPO.dll and no INF files.

    3. why i am getting total of 39 errors after building. errors are :

    Severity	Code	Description	Project	File	Line	Suppression State
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	EndpointsCommon (EndpointsCommon\EndpointsCommon)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	TabletAudioSample (TabletAudioSample\TabletAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	C2220	warning treated as error - no 'object' file generated	PhoneAudioSample (PhoneAudioSample\PhoneAudioSample)	C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\stdunk.h	226	
    Error	MSB3030	Could not copy the file "G:\Windows-driver-samples-master\audio\sysvad\TabletAudioSample\Debug\TabletAudioSample.sys" because it was not found.	package (Package\package)	C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets	1671	
    Error	MSB3030	Could not copy the file "G:\Windows-driver-samples-master\audio\sysvad\PhoneAudioSample\Debug\PhoneAudioSample.sys" because it was not found.	package (Package\package)	C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets	1671	

    4. what i am basically doing wrong while building this sample.

    hope i am able to explain my build problem properly.

    thanks!!


    • Edited by DeepakSOS Tuesday, June 28, 2016 8:05 AM edit1
    Tuesday, June 28, 2016 8:02 AM