<div dir="ltr">Thanks Robert!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 8:58 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Nick,<br>
<br>
I haven't had a chance to fix the old Inventor plugin, as you'll note<br>
from the warnings it's still tied to the dprecated_osg::Geometry which<br>
I have now removed in git master.<br>
<br>
For the time being just comment out the Inventor plugin or set the<br>
include path to empty for Coin to prevent the plugin from building.<br>
<br>
Robert.<br>
<br>
On 22 August 2016 at 14:10, Trajce Nikolov NICK<br>
<div><div class="h5"><<a href="mailto:trajce.nikolov.nick@gmail.com">trajce.nikolov.nick@gmail.com</a><wbr>> wrote:<br>
> Hi Community,<br>
><br>
> after a long journey with OSG on Windows, I am now back to Linux development<br>
><br>
> I have clean install and the latest from github. Here is where it fails (any<br>
> clue?):<br>
><br>
> In file included from<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:79:0:<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:30:<br>
> error: ‘deprecated_osg’ does not name a type<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                               ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:55:<br>
> error: expected unqualified-id before ‘*’ token<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                                                        ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:55:<br>
> error: expected ‘)’ before ‘*’ token<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:46:<br>
> error: expected ‘;’ at end of member declaration<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                                               ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:56:<br>
> error: ISO C++ forbids declaration of ‘g’ with no type [-fpermissive]<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                                                         ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:59:<br>
> error: ISO C++ forbids declaration of ‘InventorState’ with no type<br>
> [-fpermissive]<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                                                            ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:59:<br>
> error: expected ‘;’ at end of member declaration<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:74:<br>
> error: ISO C++ forbids declaration of ‘ivState’ with no type [-fpermissive]<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
>                                                                           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:74:<br>
> error: expected ‘;’ at end of member declaration<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:131:81:<br>
> error: expected unqualified-id before ‘)’ token<br>
>    void processGeometry(const deprecated_osg::Geometry *g, InventorState<br>
> *ivState);<br>
><br>
> ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:132:58:<br>
> error: ‘InventorState’ is not a type<br>
>    void processShapeDrawable(const osg::ShapeDrawable *d, InventorState<br>
> *ivState);<br>
>                                                           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.h:134:11:<br>
> error: ‘InventorState’ does not name a type<br>
>    virtual InventorState* createInventorState(const osg::StateSet *ss);<br>
>            ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:556:48:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>                               SoMFInt32 *field,<br>
> deprecated_osg::Geometry::<wbr>AttributeBinding binding)<br>
>                                                 ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:556:91:<br>
> error: expected ‘,’ or ‘...’ before ‘binding’<br>
>                               SoMFInt32 *field,<br>
> deprecated_osg::Geometry::<wbr>AttributeBinding binding)<br>
><br>
> ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp: In<br>
> function ‘void postProcessField(const SbIntList&, osg::PrimitiveSet::Mode,<br>
> SoMFInt32*, int)’:<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:558:7:<br>
> error: ‘binding’ was not declared in this scope<br>
>    if (binding==deprecated_osg::<wbr>Geometry::BIND_OFF ||<br>
> binding==deprecated_osg::<wbr>Geometry::BIND_OVERALL ||<br>
>        ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:558:16:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>    if (binding==deprecated_osg::<wbr>Geometry::BIND_OFF ||<br>
> binding==deprecated_osg::<wbr>Geometry::BIND_OVERALL ||<br>
>                 ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:558:63:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>    if (binding==deprecated_osg::<wbr>Geometry::BIND_OFF ||<br>
> binding==deprecated_osg::<wbr>Geometry::BIND_OVERALL ||<br>
>                                                                ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:559:16:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>        binding==deprecated_osg::<wbr>Geometry::BIND_PER_PRIMITIVE_<wbr>SET)<br>
>                 ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:571:11:<br>
> error: ‘binding’ was not declared in this scope<br>
>    switch (binding) {<br>
>            ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:572:10:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>      case deprecated_osg::Geometry::<wbr>BIND_PER_VERTEX:<br>
>           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:576:10:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>      case deprecated_osg::Geometry::<wbr>BIND_PER_PRIMITIVE:<br>
>           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:589:11:<br>
> error: ‘binding’ was not declared in this scope<br>
>    switch (binding) {<br>
>            ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:590:10:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>      case deprecated_osg::Geometry::<wbr>BIND_PER_VERTEX:<br>
>           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:626:10:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>      case deprecated_osg::Geometry::<wbr>BIND_PER_PRIMITIVE:<br>
>           ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp: At<br>
> global scope:<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:646:43:<br>
> error: ‘deprecated_osg’ has not been declared<br>
><br>
> deprecated_osg::Geometry::<wbr>AttributeBinding normalBinding,<br>
>                                            ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:646:86:<br>
> error: expected ‘,’ or ‘...’ before ‘normalBinding’<br>
><br>
> deprecated_osg::Geometry::<wbr>AttributeBinding normalBinding,<br>
><br>
> ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp: In<br>
> function ‘void postProcessTriangleSeparation(<wbr>SoIndexedShape*,<br>
> osg::PrimitiveSet::Mode, int)’:<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:664:69:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>    postProcessField(runLengths, primType, &shape->coordIndex,<br>
> deprecated_osg::Geometry::<wbr>BIND_PER_VERTEX);<br>
>                                                                      ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:665:69:<br>
> error: ‘normalBinding’ was not declared in this scope<br>
>    postProcessField(runLengths, primType, &shape->normalIndex,<br>
> normalBinding);<br>
>                                                                      ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:666:69:<br>
> error: ‘colorBinding’ was not declared in this scope<br>
>    postProcessField(runLengths, primType, &shape->materialIndex,<br>
> colorBinding);<br>
>                                                                      ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:670:71:<br>
> error: ‘deprecated_osg’ has not been declared<br>
>      postProcessField(runLengths, primType, &shape->textureCoordIndex,<br>
> deprecated_osg::Geometry::<wbr>BIND_PER_VERTEX);<br>
>                                                                        ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp: At<br>
> global scope:<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:675:55:<br>
> error: ‘deprecated_osg’ does not name a type<br>
>  static SoMaterialBinding* createMaterialBinding(const<br>
> deprecated_osg::Geometry *g, bool isMaterialIndexed)<br>
>                                                        ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:675:80:<br>
> error: expected unqualified-id before ‘*’ token<br>
>  static SoMaterialBinding* createMaterialBinding(const<br>
> deprecated_osg::Geometry *g, bool isMaterialIndexed)<br>
><br>
> ^<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:675:80:<br>
> error: expected ‘)’ before ‘*’ token<br>
> /home/trajce/dev/osg/src/<wbr>osgPlugins/Inventor/<wbr>ConvertToInventor.cpp:675:80:<br>
> error: expected initializer before ‘*’ token<br>
><br>
> Thanks a bunch as always<br>
><br>
> Cheers!<br>
> Nick<br>
><br>
> --<br>
> trajce nikolov nick<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>