Hi Paul, It sounds like your vpbtest app isn't linking to osgTerrain as it should be. The CMakeList. I've just done a make VERBOSE=1 on my system and its correctly linking to osgTerrain.
Could it be that you haven't installed the OSG and VPB is picking up on an older version? I think 2.1.6 should be fine, but perhaps just do an update to the latest. Robert. On 8/25/07, Paul Martz <[EMAIL PROTECTED]> wrote: > > > Hi Robert -- I'm trying to build (svn head) VPB and link against OSG v2.1.6. > When linking the vpbtest application, I get the link errors below. > > Note that this is only a Debug build, Release links fine. > -Paul > > (Summary of undefined symbols, with name mangling removed:) > CompositeLayer::getFileName > CompositeLayer::getNumLayers > Terrain::getColorLayer > Terrain::getNumColorLayers > Terrain::getElevationLayer > > > 1>------ Build started: Project: Applications vpbtest, Configuration: Debug > Win32 ------ > 1>Linking... > 1>vpbtest.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const & __thiscall > osgTerrain::CompositeLayer::getFileName(unsigned int)const > " > ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL > PROTECTED]@2@@std@@[EMAIL PROTECTED]) > referenced in function _main > 1>vpbtest.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: unsigned int __thiscall > osgTerrain::CompositeLayer::getNumLayers(void)const " > ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in > function _main > 1>vpbtest.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: class osgTerrain::Layer * __thiscall > osgTerrain::Terrain::getColorLayer(unsigned int)" > ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) > referenced in > function _main > 1>vpbtest.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: unsigned int __thiscall > osgTerrain::Terrain::getNumColorLayers(void)const " > ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in function > _main > 1>vpbtest.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: class osgTerrain::Layer * __thiscall > osgTerrain::Terrain::getElevationLayer(void)" > ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@XZ) referenced > in function _main > 1>F:\OSGDev\VPB\build\bin\Debug\vpbtestd.exe : fatal error > LNK1120: 5 unresolved externals > > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > 303 859 9466 > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org