解决方法: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库就可以解决。
将gdaljp2metadata.h中GDALJP2Box类中的构造函数改为:
GDALJP2Box( VSILFILE * );
GDALJP2Box();
同时将gdaljp2box.cpp文件中添加构造函数的实现代码
GDALJP2Box::GDALJP2Box()
{
fpVSIL = NULL;
szBoxType[0] = '\0';
nBoxOffset = -1;
nDataOffset = -1;
nBoxLength = 0;
pabyData = NULL;
}
重新编译gdal库就可以解决。
相关文章推荐
- net.sf.json.JSONException: There is a cycle in the hierarchy异常,解决方法
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- Mysql Query error: BIGINT UNSIGNED value is out of range in..解决方法
- Deprecated: Assigning the return value of new by reference is deprecated in……【解决方法】
- net.sf.json.JSONException: There is a cycle in the hierarchy! 解决方法
- 关于"error LNK2019: unresolved external symbol _SipShowIM referenced in function "protected" 解决方法
- MyEclipse中无法部署项目到tomcat中的解决方法( deployment is out of date due to changes in the underlying ......)
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- php5.3 中显示Deprecated: Assigning the return value of new by reference is deprecated in 的解决方法
- Deprecated: Assigning the return value of new by reference is deprecated in……解决方法
- php5.3 中显示Deprecated: Assigning the return value of new by reference is deprecated in 的解决方法
- net.sf.json.JSONException: There is a cycle in the hierarchy异常的解决方法
- Jetty7.6.X java.err.nojdk 错误,jetty8.1There is an error in invoking javac解决方法
- vs2008编译时出现问题解决方法:MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tma
- Deprecated: Assigning the return value of new by reference is deprecated in……【解决方法】
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- 解决关于jquery中$.get()方法总是报“HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy”错的方法
- Ubuntu技巧之 is not in the sudoers file解决方法
- Exception in thread "main" java.lang.OutOfMemoryError: Java heap space解决方法
- $username is not in the sudoers file 解决方法