Hi Nguyen, I'm afraid you won't be able to compile VPB-0.9.7 against VPB-3.0.1, you'll either need to use an older version of the OSG matched to VPB-0.9.7 or update to later VPB such as the svn/trunk. VPB and OSG svn/trunk both work together and if they don't just ping the list and I'll get it fixed.
Robert. On 18 June 2012 12:25, nguyen duy nam <[email protected]> wrote: > hi, I'm trying build VPB. i downloaded VPB 0.9.7, > OpenSceneGraph-3.0.1-VS10.0.30319-x86-release-12741.7z, GDAL 1.9.1 > but when i compile on VS 10 in both mode release and debug it error, i > could't understand it, can you show me to solve it, thank you very much: > > Error 1 error C2011: 'osgDB::IntLookup' : 'class' type redefinition > C:\OpenSceneGraph\VirtualPlanetBuilder\include\vpb\Serializer 25 1 > vpb > Error 2 error C2976: 'osgDB::EnumSerializer' : too few template > arguments C:\OpenSceneGraph\VirtualPlanetBuilder\include\vpb\Serializer > 133 1 vpb > Error 3 error C2953: 'osgDB::StringSerializer' : class template has > already been defined > C:\OpenSceneGraph\VirtualPlanetBuilder\include\vpb\Serializer 180 1 > vpb > Error 4 error C2977: 'osgDB::TemplateSerializer' : too many template > arguments C:\OpenSceneGraph\VirtualPlanetBuilder\include\vpb\Serializer > 226 1 vpb > Warning 5 warning C4005: 'ADD_ENUM_VALUE' : macro redefinition > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 114 > 1 vpb > Error 6 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 152 > 1 vpb > Error 7 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 154 > 1 vpb > Error 8 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 155 > 1 vpb > Error 9 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 156 > 1 vpb > Error 10 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 157 > 1 vpb > Error 11 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 158 > 1 vpb > Error 12 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 159 > 1 vpb > Error 13 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 160 > 1 vpb > Error 14 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 161 > 1 vpb > Error 15 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 16 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 17 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 18 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 19 error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' > pointer from 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 20 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 21 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 22 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 23 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 163 > 1 vpb > Error 24 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 25 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 26 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 27 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 28 error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' > pointer from 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 29 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 30 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 31 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 32 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 33 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 34 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 164 > 1 vpb > Error 35 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 36 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 37 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 38 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 39 error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' > pointer from 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 40 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 41 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 42 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 43 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 44 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 45 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 165 > 1 vpb > Error 46 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 47 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 48 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 49 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 50 error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' > pointer from 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 51 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 52 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 53 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 54 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 55 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 56 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 57 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 58 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 59 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 60 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 61 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 62 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 167 > 1 vpb > Error 63 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 169 > 1 vpb > Error 64 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 170 > 1 vpb > Error 65 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 172 > 1 vpb > Error 66 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 173 > 1 vpb > Error 67 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 174 > 1 vpb > Error 68 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 175 > 1 vpb > Error 69 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 176 > 1 vpb > Error 70 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 193 > 1 vpb > Error 71 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 202 > 1 vpb > Error 72 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 204 > 1 vpb > Error 73 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 205 > 1 vpb > Error 74 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 208 > 1 vpb > Error 75 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 209 > 1 vpb > Error 76 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 210 > 1 vpb > Error 77 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 78 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 79 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 80 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 81 error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' > pointer from 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 82 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 83 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 84 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 85 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 86 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 87 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 88 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 89 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 90 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 91 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 92 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 93 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 94 error C2678: binary '->' : no operator found which takes a > left-hand operand of type 'osg::ref_ptr' (or there is no acceptable > conversion) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 95 error C2039: 'add' : is not a member of 'osg::ref_ptr' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 212 > 1 vpb > Error 96 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 216 > 1 vpb > Error 97 error C2514: 'osgDB::TemplateSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 217 > 1 vpb > Error 98 error C2514: 'osgDB::StringSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 219 > 1 vpb > Error 99 error C3203: 'EnumSerializer' : unspecialized class template > can't be used as a template argument for template parameter 'T', expected a > real type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 221 > 1 vpb > Error 100 error C2955: 'osgDB::EnumSerializer' : use of class template > requires template argument list > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 221 > 1 vpb > Error 101 error C2514: 'osgDB::EnumSerializer' : class has no > constructors > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 221 > 1 vpb > Error 102 error C2512: 'osg::ref_ptr' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 221 > 1 vpb > Error 103 error C1003: error count exceeds 100; stopping compilation > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp 221 > 1 vpb > Error 104 error C2039: 'getNumColorLayers' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 108 1 > vpb > Error 105 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 108 1 > vpb > Error 106 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 116 1 > vpb > Error 107 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 121 1 > vpb > Error 108 error C2039: 'setElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 129 1 > vpb > Error 109 error C2039: 'getTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 505 1 > vpb > Error 110 error C2039: 'setTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Commandline.cpp 509 1 > vpb > Warning 111 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 185 1 > vpb > Warning 112 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 465 1 > vpb > Warning 113 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 547 1 > vpb > Warning 114 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 653 1 > vpb > Error 115 error C2039: 'getLocator' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2063 1 > vpb > Error 116 error C2039: 'getTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2067 1 > vpb > Error 117 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2073 1 > vpb > Error 118 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2075 1 > vpb > Error 119 error C2039: 'getNumColorLayers' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2078 1 > vpb > Error 120 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2080 1 > vpb > Error 121 error C2039: 'getNumColorLayers' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2157 1 > vpb > Error 122 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2157 1 > vpb > Error 123 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2170 1 > vpb > Error 124 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2174 1 > vpb > Error 125 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2179 1 > vpb > Error 126 error C2039: 'setElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2192 1 > vpb > Error 127 error C2039: 'setElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2196 1 > vpb > Error 128 error C2039: 'setTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2205 1 > vpb > Warning 129 warning C4018: '<=' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2321 1 > vpb > Warning 130 warning C4018: '>' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2334 1 > vpb > Warning 131 warning C4018: '>=' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2421 1 > vpb > Warning 132 warning C4018: '>=' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2427 1 > vpb > Error 133 error C2039: 'getTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\DataSet.cpp 2814 1 > vpb > Warning 134 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1210 1 > vpb > Error 135 error C2039: 'setLocator' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1454 1 > vpb > Error 136 error C2039: 'setElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1463 1 > vpb > Error 137 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1481 1 > vpb > Error 138 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1495 1 > vpb > Error 139 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1505 1 > vpb > Error 140 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1507 1 > vpb > Warning 141 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1518 1 > vpb > Error 142 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1521 1 > vpb > Error 143 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1523 1 > vpb > Error 144 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1534 1 > vpb > Error 145 error C2039: 'setColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1536 1 > vpb > Error 146 error C2039: 'setTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 1551 1 > vpb > Error 147 error C2512: 'osg::PagedLOD' : no appropriate default > constructor available > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2929 1 > vpb > Error 148 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2934 1 > vpb > Error 149 error C2227: left of '->addChild' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2934 1 > vpb > Error 150 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2945 1 > vpb > Error 151 error C2227: left of '->addChild' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2945 1 > vpb > Error 152 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2952 1 > vpb > Error 153 error C2227: left of '->accept' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2952 1 > vpb > Error 154 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2970 1 > vpb > Error 155 error C2227: left of '->setCullCallback' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2970 1 > vpb > Error 156 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2981 1 > vpb > Error 157 error C2227: left of '->getBound' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2981 1 > vpb > Error 158 error C2228: left of '.radius' must have class/struct/union > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2981 1 > vpb > Error 159 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2983 1 > vpb > Error 160 error C2227: left of '->setRange' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2983 1 > vpb > Error 161 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2985 1 > vpb > Error 162 error C2227: left of '->setFileName' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2985 1 > vpb > Error 163 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2986 1 > vpb > Error 164 error C2227: left of '->setRange' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2986 1 > vpb > Error 165 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2988 1 > vpb > Error 166 error C2227: left of '->getNumChildren' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2988 1 > vpb > Error 167 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2989 1 > vpb > Error 168 error C2227: left of '->setCenter' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2989 1 > vpb > Error 169 error C2027: use of undefined type 'osg::PagedLOD' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2989 1 > vpb > Error 170 error C2227: left of '->getBound' must point to > class/struct/union/generic type > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2989 1 > vpb > Error 171 error C2228: left of '.center' must have class/struct/union > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2989 1 > vpb > Error 172 error C2440: 'return' : cannot convert from 'osg::PagedLOD *' > to 'osg::Node *' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\Destination.cpp 2991 1 > vpb > Warning 173 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\FileUtils.cpp 86 1 > vpb > Warning 174 warning C4800: 'unsigned int' : forcing value to bool 'true' > or 'false' (performance warning) > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 671 > 1 vpb > Warning 175 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 724 > 1 vpb > Warning 176 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 724 > 1 vpb > Warning 177 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 730 > 1 vpb > Warning 178 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 730 > 1 vpb > Warning 179 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 737 > 1 vpb > Warning 180 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 737 > 1 vpb > Warning 181 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 744 > 1 vpb > Warning 182 warning C4018: '<' : signed/unsigned mismatch > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\HeightFieldMapper.cpp 744 > 1 vpb > Error 183 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\System.cpp 346 1 > vpb > Error 184 error C2039: 'getElevationLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\System.cpp 348 1 > vpb > Error 185 error C2039: 'getNumColorLayers' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\System.cpp 351 1 > vpb > Error 186 error C2039: 'getColorLayer' : is not a member of > 'osgTerrain::Terrain' > C:\OpenSceneGraph\VirtualPlanetBuilder\src\vpb\System.cpp 353 1 > vpb > Error 187 error C2039: 'getTerrainTechnique' : is not a member of > 'osgTerrain::Terrain' C:\OpenSceneG > ... > > Thank you! > > Cheers, > nguyen > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=48348#48348 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

