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

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


Thanks Robert!

On Mon, Aug 22, 2016 at 8:58 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> HI Nick,
>
> I haven't had a chance to fix the old Inventor plugin, as you'll note
> from the warnings it's still tied to the dprecated_osg::Geometry which
> I have now removed in git master.
>
> For the time being just comment out the Inventor plugin or set the
> include path to empty for Coin to prevent the plugin from building.
>
> Robert.
>
> On 22 August 2016 at 14:10, Trajce Nikolov NICK
> <trajce.nikolov.nick at gmail.com> wrote:
> > 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
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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


More information about the osg-users mailing list