none
VS2012开发内核驱动,配置环境遇到问题,LNK1295 Error,求解 RRS feed

  • 问题

  • 按照网上统一的配置在win7上配置vs2012,结果还是出现了LNK1295:'/MANIFESTUAC' not compatible with 'DRIVER'。求解如何配置环境?

    这是配置项,用的是wdk 7.1
    /OUT:"c:\users\l00280964\documents\visual studio 2012\Projects\driver\driver\driver.sys" /MANIFEST /HEAP:"4194304"",4096" /Driver /PDB:"c:\users\l00280964\documents\visual studio 2012\Projects\driver\driver\driver.pdb" "ntoskrnl.lib" "Hal.lib" "wdm.lib" "wdmsec.lib" "wmilib.lib" "ndis.lib" "MSVCRT.LIB" "LIBCMT.LIB" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /DEBUG /BASE:"0x10000" /MACHINE:X86 /ENTRY:"DriverEntry" /SAFESEH /INCREMENTAL:NO /PGD:"c:\users\l00280964\documents\visual studio 2012\Projects\driver\driver\driver.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:NO /ManifestFile:"driver\driver.sys.intermediate.manifest" /MAP":c:\users\l00280964\documents\visual studio 2012\Projects\driver\driver\driver.map" /ERRORREPORT:PROMPT /NOLOGO /NODEFAULTLIB /TLBID:1 

    2015年12月10日 5:13