<div dir="ltr"><div><div>Hi Community,<br><br></div>after a long journey with OSG on Windows, I am now back to Linux development <br><br></div>I have clean install and the latest from github. Here is where it fails (any clue?):<br><br clear="all"><div><div><div>In file included from /home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:79:0:<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:30: error: ‘deprecated_osg’ does not name a type<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                              ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:55: error: expected unqualified-id before ‘*’ token<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                                       ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:55: error: expected ‘)’ before ‘*’ token<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:46: error: expected ‘;’ at end of member declaration<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                              ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:56: error: ISO C++ forbids declaration of ‘g’ with no type [-fpermissive]<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                                        ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:59: error: ISO C++ forbids declaration of ‘InventorState’ with no type [-fpermissive]<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                                           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:59: error: expected ‘;’ at end of member declaration<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:74: error: ISO C++ forbids declaration of ‘ivState’ with no type [-fpermissive]<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                                                          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:74: error: expected ‘;’ at end of member declaration<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:131:81: error: expected unqualified-id before ‘)’ token<br>   void processGeometry(const deprecated_osg::Geometry *g, InventorState *ivState);<br>                                                                                 ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:132:58: error: ‘InventorState’ is not a type<br>   void processShapeDrawable(const osg::ShapeDrawable *d, InventorState *ivState);<br>                                                          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.h:134:11: error: ‘InventorState’ does not name a type<br>   virtual InventorState* createInventorState(const osg::StateSet *ss);<br>           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:556:48: error: ‘deprecated_osg’ has not been declared<br>                              SoMFInt32 *field, deprecated_osg::Geometry::AttributeBinding binding)<br>                                                ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:556:91: error: expected ‘,’ or ‘...’ before ‘binding’<br>                              SoMFInt32 *field, deprecated_osg::Geometry::AttributeBinding binding)<br>                                                                                           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: In function ‘void postProcessField(const SbIntList&, osg::PrimitiveSet::Mode, SoMFInt32*, int)’:<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:7: error: ‘binding’ was not declared in this scope<br>   if (binding==deprecated_osg::Geometry::BIND_OFF || binding==deprecated_osg::Geometry::BIND_OVERALL ||<br>       ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:16: error: ‘deprecated_osg’ has not been declared<br>   if (binding==deprecated_osg::Geometry::BIND_OFF || binding==deprecated_osg::Geometry::BIND_OVERALL ||<br>                ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:558:63: error: ‘deprecated_osg’ has not been declared<br>   if (binding==deprecated_osg::Geometry::BIND_OFF || binding==deprecated_osg::Geometry::BIND_OVERALL ||<br>                                                               ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:559:16: error: ‘deprecated_osg’ has not been declared<br>       binding==deprecated_osg::Geometry::BIND_PER_PRIMITIVE_SET)<br>                ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:571:11: error: ‘binding’ was not declared in this scope<br>   switch (binding) {<br>           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:572:10: error: ‘deprecated_osg’ has not been declared<br>     case deprecated_osg::Geometry::BIND_PER_VERTEX:<br>          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:576:10: error: ‘deprecated_osg’ has not been declared<br>     case deprecated_osg::Geometry::BIND_PER_PRIMITIVE:<br>          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:589:11: error: ‘binding’ was not declared in this scope<br>   switch (binding) {<br>           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:590:10: error: ‘deprecated_osg’ has not been declared<br>     case deprecated_osg::Geometry::BIND_PER_VERTEX:<br>          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:626:10: error: ‘deprecated_osg’ has not been declared<br>     case deprecated_osg::Geometry::BIND_PER_PRIMITIVE:<br>          ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: At global scope:<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:646:43: error: ‘deprecated_osg’ has not been declared<br>                                           deprecated_osg::Geometry::AttributeBinding normalBinding,<br>                                           ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:646:86: error: expected ‘,’ or ‘...’ before ‘normalBinding’<br>                                           deprecated_osg::Geometry::AttributeBinding normalBinding,<br>                                                                                      ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: In function ‘void postProcessTriangleSeparation(SoIndexedShape*, osg::PrimitiveSet::Mode, int)’:<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:664:69: error: ‘deprecated_osg’ has not been declared<br>   postProcessField(runLengths, primType, &shape->coordIndex,        deprecated_osg::Geometry::BIND_PER_VERTEX);<br>                                                                     ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:665:69: error: ‘normalBinding’ was not declared in this scope<br>   postProcessField(runLengths, primType, &shape->normalIndex,       normalBinding);<br>                                                                     ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:666:69: error: ‘colorBinding’ was not declared in this scope<br>   postProcessField(runLengths, primType, &shape->materialIndex,     colorBinding);<br>                                                                     ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:670:71: error: ‘deprecated_osg’ has not been declared<br>     postProcessField(runLengths, primType, &shape->textureCoordIndex, deprecated_osg::Geometry::BIND_PER_VERTEX);<br>                                                                       ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp: At global scope:<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:55: error: ‘deprecated_osg’ does not name a type<br> static SoMaterialBinding* createMaterialBinding(const deprecated_osg::Geometry *g, bool isMaterialIndexed)<br>                                                       ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80: error: expected unqualified-id before ‘*’ token<br> static SoMaterialBinding* createMaterialBinding(const deprecated_osg::Geometry *g, bool isMaterialIndexed)<br>                                                                                ^<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80: error: expected ‘)’ before ‘*’ token<br>/home/trajce/dev/osg/src/osgPlugins/Inventor/ConvertToInventor.cpp:675:80: error: expected initializer before ‘*’ token<br><br></div><div>Thanks a bunch as always<br><br></div><div>Cheers!<br></div><div>Nick<br></div><div><br>-- <br><div data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div></div></div></div>