Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error LNK2019 #18

Open
kouzhudong opened this issue Aug 17, 2019 · 1 comment
Open

error LNK2019 #18

kouzhudong opened this issue Aug 17, 2019 · 1 comment

Comments

@kouzhudong
Copy link

1>D:\code\git\WindowsIntelPT\WindowsPtDriver\IntelPt.cpp(1023,7): warning C4189: “lpBuff”: 局部变量已初始化但不引用
1> 正在创建库 D:\code\git\WindowsIntelPT\x64\Debug\WindowsPtDriver.lib 和对象 D:\code\git\WindowsIntelPT\x64\Debug\WindowsPtDriver.exp
1>DriverEntry.obj : error LNK2019: 无法解析的外部符号 "long __cdecl DetectMicrosoftHyperV(struct _HYPERV_INFO *)" (?DetectMicrosoftHyperV@@YAJPEAU_HYPERV_INFO@@@z),该符号在函数 DriverEntry 中被引用
1>DriverEntry.obj : error LNK2019: 无法解析的外部符号 "long __cdecl InitGlobalHv(void)" (?InitGlobalHv@@yajxz),该符号在函数 DriverEntry 中被引用
1>DriverEntry.obj : error LNK2019: 无法解析的外部符号 "void __cdecl DestroyGlobalHv(void)" (?DestroyGlobalHv@@yaxxz),该符号在函数 "void __cdecl DriverUnload(struct _DRIVER_OBJECT *)" (?DriverUnload@@YAXPEAU_DRIVER_OBJECT@@@z) 中被引用
1>IntelPt.obj : error LNK2019: 无法解析的外部符号 "long __cdecl HvCpuId(int * const,int,int)" (?HvCpuId@@YAJQEAHHH@Z),该符号在函数 "void __cdecl CPUIDEX(int * const,int,int)" (?CPUIDEX@@YAXQEAHHH@Z) 中被引用
1>D:\code\git\WindowsIntelPT\x64\Debug\WindowsPtDriver.sys : fatal error LNK1120: 4 个无法解析的外部命令

@zhangsiqiang001
Copy link

怎么样 怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants