Windows Server 2019 - 构建时elfapi.lib问题 [英] Windows Server 2019 - issue with elfapi.lib while building

查看:66
本文介绍了Windows Server 2019 - 构建时elfapi.lib问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


使用Windows SDK 1809时elfapi.lib 

我在构建

When using Windows SDK 1809 elfapi.lib 
I am getting below external symbol errors in windows server 2019 while building


未解析的外部符号ElfrReportEventA

Unresolved external symbol ElfrReportEventA


但在服务器2016中,没有问题,它是构建成功。



是否弃用了ElfReportEventA API函数?或者功能的任何签名都改变了?如果是的话,这两者的替代api是什么。

But in server 2016, there is no issues , it is building successfully.

Is ElfReportEventA API function deprecated? or any signature of the function got changed? if yes, what is the alternative api for these two.


但是当我使用"dumpbin.exe / linkermember elfapi.lib"时,我可以看到结果中的符号ElfReportEventA以及其他159个符号,特别是对于新的Windows SDK 1809所做的任何更改?

but when I am using "dumpbin.exe /linkermember elfapi.lib", I can see the symbol ElfReportEventA in the result there along with other 159 symbols, Any change made particularly for the new Windows SDK 1809?

推荐答案

嗨SasidharChalla,

Hi SasidharChalla,

你有没有添加
elfapi.lib 
到您的项目?Properties-> Linker-> Input-> Additional Dependencies,添加elfapi.lib。

Have you add the elfapi.lib to your project? Properties->Linker->Input->Additional Dependencies, Add elfapi.lib into it.


祝你好运,

Best regards,


Drake

Drake


这篇关于Windows Server 2019 - 构建时elfapi.lib问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆