您的位置:首页 > 其它

解决方法:OTB 中 GDALJP2Box::GDALJP2Box(struct iobuf *),there is the error of unresolved external in debug

2013-08-04 12:33 381 查看
关于OTB 中 GDALJP2Box::GDALJP2Box(struct iobuf *),there is the error of unresolved external in debug模式时的解决方法:

将gdaljp2metadata.h中GDALJP2Box类中的构造函数改为:

                GDALJP2Box( VSILFILE * );
GDALJP2Box();

同时将gdaljp2box.cpp文件中添加构造函数的实现代码

GDALJP2Box::GDALJP2Box()

{
fpVSIL = NULL;
szBoxType[0] = '\0';
nBoxOffset = -1;
nDataOffset = -1;
nBoxLength = 0;

pabyData = NULL;

}

重新编译gdal库就可以解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  GDALJP2Box GDAL OTB
相关文章推荐