如何解决“符号"libnet_name_resolve"是未定义的" [英] how to solve "The symbol "libnet_name_resolve" is undefined"

查看:73
本文介绍了如何解决“符号"libnet_name_resolve"是未定义的"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用libnet开发程序,平台是Windows xp.
libnet.lib文件已添加到我的项目中,并且libnet.dll被复制到c:\ windows \ system32 \,并且包含libnet.h文件.

构建项目时,列出了错误:
符号"libnet_name_resolve"未定义

谁可以帮助我?

I develop the program using libnet, and the platform is windows xp.
The file of libnet.lib is added to my project, and libnet.dll is copied to c:\windows\system32\, and libnet.h file is included.

when building project, error is listed:
The symbol "libnet_name_resolve" is undefined

who can help me?

推荐答案

您如何将libnet.lib添加到您的项目中?
How did you add libnet.lib to your project ?


我使用vc6作为开发工具环境.

首先,进入工具"-选项"-目录"菜单,并将包含iulib.lib的目录添加到库文件"中.

其次,进入项目"-设置"-链接"菜单,然后将"libnet.lib"添加到
对象/库模块".
I use vc6 as my develop environment.

First, I enter menu of "Tools"-"Options"-"Directories", and add the directory iucluding libnet.lib to "Library files".

Second, enter menu of "Project"-"Settings"-"Link", and then add "libnet.lib" to
"Object/library modules".


问题仍然存在!!!谁可以帮助我?


这篇关于如何解决“符号"libnet_name_resolve"是未定义的"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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