orfeo-toolbox 3.2.1 编译问题

本文解决了一个在编译orfeo-toolbox3.2.1过程中遇到的具体链接错误,并提供了更新源代码到特定版本来修复该问题的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

编译orfeo-toolbox 3.2.1 时,会出现以下问题:

swbUtils.cxx.obj : error LNK2019: riferimento al simbolo esterno
"__declspec(dll import) public: static class ossimImageHandlerSarFactory * __cdecl
ossimImageHandlerSarFactory::instance(void)

" (__imp_?instance@ossimImageHandlerSarFactory@@SAPAV1@XZ) non risolto nella funzione "public: virtual void __thiscall
otb::ImageFileReader<class otb::Image<class std::complex<float>,2>>::GenerateOutputInformation(void)" (?GenerateOutputInformation@?$ImageFileReader@V?$Image@V?$complex@M@std@@$01@otb@@@otb@@UAEXXZ)
swblib.dll : fatal error LNK1120: 1 esterni non risolti
LINK failed. with 1120
I sended an email to Antonio Valentino, he said that 
I solved that particular problem updating the source code from OTB 3.2
stable to revision 477f94d7b3f4
(http://hg.orfeo-toolbox.org/OTB/rev/477f94d7b3f4) hg the OTB hr repo:

$ hg clone
http://hg.orfeo-toolbox.org/OTB
$ cd OTB
$ hg pull
$ hg up -r 477f94d7b3f4

转载于:https://my.oschina.net/xtxb/blog/3871

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值