Perhaps osgTerrain wasn't compiled with osgIntrospection previously... anyway my guess is that the dsp needs to have a link to gdal in the same way was osgTerrain itself does.
I am surprised by the dependency though, so the osgTerrain/DataSet header don't actually include GDAL, only having a forward declare of the two GDAL classes, that arn't ever fleshed out beyond this within the header. This makes me think that the VS is requiring all the libs that osgTerrain links to to be included in its own link line.
Robert.
On 9/6/06, Mike Weiblen <[EMAIL PROTECTED]> wrote:
Hi Robert,
most things seemed to build ok on VS7.1, except for the osgTerrain wrapper which
has many unresolveds wrt GDAL, sample below.
Not clear what's missing. Thoughts?
-- mew
osgWrapper osgTerrain error LNK2001: unresolved external symbol "protected:
virtual enum CPLErr __thiscall GDALDataset::IBuildOverviews(char const *,int,int
*,int,int *,int (__cdecl*)(double,char const *,void *),void *)"
([EMAIL PROTECTED]@@MAE?AW4CPLErr@@[EMAIL PROTECTED] @Z)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "protected:
virtual enum CPLErr __thiscall GDALDataset::IRasterIO(enum
GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int
*,int,int,int)"
([EMAIL PROTECTED]@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@[EMAIL PROTECTED])
osgWrapper osgTerrain error LNK2001: unresolved external symbol "protected:
virtual enum CPLErr __thiscall GDALRasterBand::IRasterIO(enum
GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)"
([EMAIL PROTECTED]@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@[EMAIL PROTECTED])
osgWrapper osgTerrain error LNK2001: unresolved external symbol "protected:
virtual enum CPLErr __thiscall GDALRasterBand::IWriteBlock(int,int,void *)"
([EMAIL PROTECTED]@@MAE?AW4CPLErr@@[EMAIL PROTECTED])
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char * * __thiscall GDALMajorObject::GetMetadata(char const *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED])
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char * * __thiscall GDALRasterBand::GetCategoryNames(void)"
([EMAIL PROTECTED]@@UAEPAPADXZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall GDALDataset::GetGCPProjection(void)"
([EMAIL PROTECTED]@@UAEPBDXZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall GDALDataset::GetProjectionRef(void)"
([EMAIL PROTECTED]@@UAEPBDXZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall GDALMajorObject::GetDescription(void)const "
([EMAIL PROTECTED]@@UBEPBDXZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall GDALMajorObject::GetMetadataItem(char const *,char const
*)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall GDALRasterBand::GetUnitType(void)"
([EMAIL PROTECTED]@@UAEPBDXZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
class GDALColorTable * __thiscall GDALRasterBand::GetColorTable(void)"
([EMAIL PROTECTED]@@UAEPAVGDALColorTable@@XZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
class GDALDriver * __thiscall GDALDataset::GetDriver(void)"
([EMAIL PROTECTED]@@UAEPAVGDALDriver@@XZ)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
class GDALRasterBand * __thiscall GDALRasterBand::GetOverview(int)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z)
osgWrapper osgTerrain error LNK2001: unresolved external symbol "public: virtual
double __thiscall GDALRasterBand::GetMaximum(int *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED])
osgWrapper os
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
