Build errors
Posted: Sun Jul 24, 2016 12:47 pm
Hello,
I know this is pretty old but any help would be appreciated.
I'm trying to build your project from source, but I get errors, on Windows 7 64 bit, Visual Studio 2015.
Log when trying to build the driver:
Error (active) #error directive: "No target architecture defined" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 7927
Error (active) identifier "PDRIVER_EXCPTN_CALLBACK" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12385
Error (active) identifier "PCMC_EXCEPTION" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12462
Error (active) identifier "PCPE_EXCEPTION" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12473
Error (active) identifier "SLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 15387
Error (active) identifier "SLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 15407
Error (active) #error directive: "No target architecture defined" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 19517
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22239
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22290
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22304
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22391
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22397
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22404
Error (active) #error directive: "No Target Architecture" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\8.1\Include\shared\ntdef.h 168
Error MSB3073 The command "ddkbuild -WNETA64 free ." exited with code 9009. HWInterfaceDrv C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
And log when trying to build the 32bit dll:
Error (active) identifier "_outp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 92
Error (active) identifier "_inp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 127
Error (active) identifier "_inp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 461
Error (active) identifier "_outp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 495
Error C3861 '_outp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 92
Error C3861 '_inp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 127
Error C3861 '_inp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 461
Error C3861 '_outp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 495
Error LNK1104 cannot open file 'inpout32.lib' InstallDriver C:\Users\Milan\Desktop\sourceDLLs\InstallDriver\LINK 1
The 64bit dll builds just fine.
Thanks for any help.
I know this is pretty old but any help would be appreciated.
I'm trying to build your project from source, but I get errors, on Windows 7 64 bit, Visual Studio 2015.
Log when trying to build the driver:
Error (active) #error directive: "No target architecture defined" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 7927
Error (active) identifier "PDRIVER_EXCPTN_CALLBACK" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12385
Error (active) identifier "PCMC_EXCEPTION" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12462
Error (active) identifier "PCPE_EXCEPTION" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\ntddk.h 12473
Error (active) identifier "SLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 15387
Error (active) identifier "SLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 15407
Error (active) #error directive: "No target architecture defined" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 19517
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22239
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22290
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22304
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22391
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22397
Error (active) identifier "PSLIST_HEADER" is undefined HWInterfaceDrv c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km\wdm.h 22404
Error (active) #error directive: "No Target Architecture" HWInterfaceDrv c:\Program Files (x86)\Windows Kits\8.1\Include\shared\ntdef.h 168
Error MSB3073 The command "ddkbuild -WNETA64 free ." exited with code 9009. HWInterfaceDrv C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
And log when trying to build the 32bit dll:
Error (active) identifier "_outp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 92
Error (active) identifier "_inp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 127
Error (active) identifier "_inp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 461
Error (active) identifier "_outp" is undefined inpout32drv c:\Users\Milan\Desktop\sourceDLLs\inpout32drv.cpp 495
Error C3861 '_outp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 92
Error C3861 '_inp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 127
Error C3861 '_inp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 461
Error C3861 '_outp': identifier not found inpout32drv c:\users\milan\desktop\sourcedlls\inpout32drv.cpp 495
Error LNK1104 cannot open file 'inpout32.lib' InstallDriver C:\Users\Milan\Desktop\sourceDLLs\InstallDriver\LINK 1
The 64bit dll builds just fine.
Thanks for any help.