[osg-users] Ubuntu build failed the latest from github

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Mon Aug 22 06:10:04 PDT 2016


Hi Community,

after a long journey with OSG on Windows, I am now back to Linux
development

I have clean install and the latest from github. Here is where it fails
(any clue?):

In file included from
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:79:0:
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:30:
error: ‘deprecated_osg’ does not name a type
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                              ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:55:
error: expected unqualified-id before ‘*’ token
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                                                       ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:55:
error: expected ‘)’ before ‘*’ token
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:46:
error: expected ‘;’ at end of member declaration
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                                              ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:56:
error: ISO C++ forbids declaration of ‘g’ with no type [-fpermissive]
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                                                        ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:59:
error: ISO C++ forbids declaration of ‘InventorState’ with no type
[-fpermissive]
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                                                           ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:59:
error: expected ‘;’ at end of member declaration
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:74:
error: ISO C++ forbids declaration of ‘ivState’ with no type [-fpermissive]
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);
                                                                          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:74:
error: expected ‘;’ at end of member declaration
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:81:
error: expected unqualified-id before ‘)’ token
   void processGeometry(const deprecated_osg::Geometry *g, InventorState
*ivState);

^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:132:58:
error: ‘InventorState’ is not a type
   void processShapeDrawable(const osg::ShapeDrawable *d, InventorState
*ivState);
                                                          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:134:11:
error: ‘InventorState’ does not name a type
   virtual InventorState* createInventorState(const osg::StateSet *ss);
           ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:556:48:
error: ‘deprecated_osg’ has not been declared
                              SoMFInt32 *field,
deprecated_osg::Geometry::AttributeBinding binding)
                                                ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:556:91:
error: expected ‘,’ or ‘...’ before ‘binding’
                              SoMFInt32 *field,
deprecated_osg::Geometry::AttributeBinding binding)

^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: In
function ‘void postProcessField(const SbIntList&, osg::PrimitiveSet::Mode,
SoMFInt32*, int)’:
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:7:
error: ‘binding’ was not declared in this scope
   if (binding==deprecated_osg::Geometry::BIND_OFF ||
binding==deprecated_osg::Geometry::BIND_OVERALL ||
       ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:16:
error: ‘deprecated_osg’ has not been declared
   if (binding==deprecated_osg::Geometry::BIND_OFF ||
binding==deprecated_osg::Geometry::BIND_OVERALL ||
                ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:63:
error: ‘deprecated_osg’ has not been declared
   if (binding==deprecated_osg::Geometry::BIND_OFF ||
binding==deprecated_osg::Geometry::BIND_OVERALL ||
                                                               ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:559:16:
error: ‘deprecated_osg’ has not been declared
       binding==deprecated_osg::Geometry::BIND_PER_PRIMITIVE_SET)
                ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:571:11:
error: ‘binding’ was not declared in this scope
   switch (binding) {
           ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:572:10:
error: ‘deprecated_osg’ has not been declared
     case deprecated_osg::Geometry::BIND_PER_VERTEX:
          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:576:10:
error: ‘deprecated_osg’ has not been declared
     case deprecated_osg::Geometry::BIND_PER_PRIMITIVE:
          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:589:11:
error: ‘binding’ was not declared in this scope
   switch (binding) {
           ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:590:10:
error: ‘deprecated_osg’ has not been declared
     case deprecated_osg::Geometry::BIND_PER_VERTEX:
          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:626:10:
error: ‘deprecated_osg’ has not been declared
     case deprecated_osg::Geometry::BIND_PER_PRIMITIVE:
          ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: At
global scope:
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:646:43:
error: ‘deprecated_osg’ has not been declared

deprecated_osg::Geometry::AttributeBinding normalBinding,
                                           ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:646:86:
error: expected ‘,’ or ‘...’ before ‘normalBinding’

deprecated_osg::Geometry::AttributeBinding normalBinding,

^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: In
function ‘void postProcessTriangleSeparation(SoIndexedShape*,
osg::PrimitiveSet::Mode, int)’:
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:664:69:
error: ‘deprecated_osg’ has not been declared
   postProcessField(runLengths, primType, &shape->coordIndex,
deprecated_osg::Geometry::BIND_PER_VERTEX);
                                                                     ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:665:69:
error: ‘normalBinding’ was not declared in this scope
   postProcessField(runLengths, primType, &shape->normalIndex,
normalBinding);
                                                                     ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:666:69:
error: ‘colorBinding’ was not declared in this scope
   postProcessField(runLengths, primType, &shape->materialIndex,
colorBinding);
                                                                     ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:670:71:
error: ‘deprecated_osg’ has not been declared
     postProcessField(runLengths, primType, &shape->textureCoordIndex,
deprecated_osg::Geometry::BIND_PER_VERTEX);
                                                                       ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: At
global scope:
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:55:
error: ‘deprecated_osg’ does not name a type
 static SoMaterialBinding* createMaterialBinding(const
deprecated_osg::Geometry *g, bool isMaterialIndexed)
                                                       ^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80:
error: expected unqualified-id before ‘*’ token
 static SoMaterialBinding* createMaterialBinding(const
deprecated_osg::Geometry *g, bool isMaterialIndexed)

^
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80:
error: expected ‘)’ before ‘*’ token
/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80:
error: expected initializer before ‘*’ token

Thanks a bunch as always

Cheers!
Nick

-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160822/8a479ca0/attachment-0002.htm>


More information about the osg-users mailing list