查看: 2001|回复: 1

编译问题

[复制链接]

该用户从未签到

发表于 2012-4-9 21:51:21 | 显示全部楼层 |阅读模式
我在编译osgearth时出现了如下问题,osgearth的版本是2.1.1,curl的版本是7.25.0
1>------ 已启动生成: 项目: osgEarth, 配置: Release Win32 ------
1>正在链接...
1>   正在创建库 E:\work\osg\video\osgOceanandosgEarth\osgEarth\osgearth2.1.1\lib\Release\osgEarth.lib 和对象 E:\work\osg\video\osgOceanandosgEarth\osgEarth\osgearth2.1.1\lib\Release\osgEarth.exp
1>HTTPClient.obj : error LNK2019: 无法解析的外部符号 __imp__curl_easy_cleanup,该符号在函数 "private: virtual __thiscall osgEarth::HTTPClient::~HTTPClient(void)" (??1HTTPClient@osgEarth@@EAE@XZ) 中被引用
1>HTTPClient.obj : error LNK2019: 无法解析的外部符号 __imp__curl_easy_setopt,该符号在函数 "private: __thiscall osgEarth::HTTPClient::HTTPClient(void)" (??0HTTPClient@osgEarth@@AAE@XZ) 中被引用
1>HTTPClient.obj : error LNK2019: 无法解析的外部符号 __imp__curl_easy_init,该符号在函数 "private: __thiscall osgEarth::HTTPClient::HTTPClient(void)" (??0HTTPClient@osgEarth@@AAE@XZ) 中被引用
1>HTTPClient.obj : error LNK2019: 无法解析的外部符号 __imp__curl_easy_getinfo,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth:rogressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
1>HTTPClient.obj : error LNK2019: 无法解析的外部符号 __imp__curl_easy_perform,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth::ProgressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
1>E:\work\osg\video\osgOceanandosgEarth\osgEarth\osgearth2.1.1\lib\Release\osgEarth.dll : fatal error LNK1120: 5 个无法解析的外部命令
1>生成日志保存在“file://e:\work\osg\video\osgOceanandosgEarth\osgEarth\osgearth2.1.1\src\osgEarth\osgEarth.dir\Release\BuildLog.htm”
1>osgEarth - 6 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 1 最新, 0 已跳过 ==========

该用户从未签到

发表于 2012-5-31 21:22:50 | 显示全部楼层
我用的是osg提供的三方库里面的curl,编译没有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表