我能解决什么问题“错误LNK2019:未解析的外部符号” [英] What can I solve the problem "error LNK2019: unresolved external symbol"

查看:112
本文介绍了我能解决什么问题“错误LNK2019:未解析的外部符号”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在windows上编译raptor解析器。


我无法解决链接错误。


Plz ..帮助我。


这样的错误信息。


______________________________________________________________________


创建库。\ Debug / raptor.lib和object。\Debug / raptor.exp




















__imp__curl_global_init在功能_raptor_www_init引用结果,3 GT; raptor_www.obj:错误LNK2019:在函数引用解析外部符号__imp__curl_global_cleanup _raptor_www_finish结果,3 GT; raptor_www_curl.obj:错误LNK2019:在函数引用解析外部符号__imp__curl_easy_setopt _raptor_www_curl_init结果,3 GT; raptor_www_curl.obj:错误LNK2019:未解析的外部符号__imp__curl_easy_init引用函数_raptor_www_curl_init
3> raptor_www_curl.obj:错误LNK2019:函数_raptor_www_curl_free中引用的未解析的外部符号__imp__curl_easy_cleanup



raptor_www_curl.obj:错误LNK2019:函数_raptor_www_curl_fetch中引用的未解析的外部符号__imp__curl_slist_free_all

> raptor_www_curl。 obj:错误LNK2019:函数_raptor_www_curl_fetch中引用的未解析的外部符号__imp__curl_easy_getinfo



raptor_www_curl.obj:错误LNK2019:函数_raptor_www_curl_fetch中未引用的外部符号__imp__curl_easy_perform



raptor_www_curl.obj:错误LNK2019:未解析的外部符号__imp__curl_slist_append引用函数_raptor_www_curl_fetch
3>。\ Debug / raptor.dll:致命错误LNK1120:10个未解析的外部


--------------- -------------------------------------------------- -------------------------------------------------- ------


我在等你的回答r。

解决方案

幸运女士。


在没有代码的情况下很难假设limker错误。


我想你应该确保每个函数都存在于某些库中。



请参考这个msdn页面,

http://msdn2.microsoft.com/en-us/library/799kze2z(vs.71)的.aspx

I'm trying to compile the raptor parser at windows.

I can't solve the Linking error.

Plz.. help me.

The error message like that.

______________________________________________________________________

   Creating library .\Debug/raptor.lib and object .\Debug/raptor.exp
3>raptor_rss.obj : error LNK2019: unresolved external symbol _strcasecmp referenced in function _raptor_rss_start_element_handler
3>raptor_www.obj : error LNK2019: unresolved external symbol __imp__curl_global_init referenced in function _raptor_www_init
3>raptor_www.obj : error LNK2019: unresolved external symbol __imp__curl_global_cleanup referenced in function _raptor_www_finish
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_easy_setopt referenced in function _raptor_www_curl_init
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function _raptor_www_curl_init
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_easy_cleanup referenced in function _raptor_www_curl_free
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_slist_free_all referenced in function _raptor_www_curl_fetch
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_easy_getinfo referenced in function _raptor_www_curl_fetch
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_easy_perform referenced in function _raptor_www_curl_fetch
3>raptor_www_curl.obj : error LNK2019: unresolved external symbol __imp__curl_slist_append referenced in function _raptor_www_curl_fetch
3>.\Debug/raptor.dll : fatal error LNK1120: 10 unresolved externals

-------------------------------------------------------------------------------------------------------------------------

I'm waiting your answer.

解决方案

Hi Ms luckforyou.

It's really hard to assume limker error without code.

I guess you should make sure that each functions are existed in some library.

 

Please reference this msdn page,

http://msdn2.microsoft.com/en-us/library/799kze2z(vs.71).aspx


这篇关于我能解决什么问题“错误LNK2019:未解析的外部符号”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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