OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Ubuntu build failed the latest from github


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Trajce Nikolov NICK
Guest





PostPosted: Mon Aug 22, 2016 1:11 pm    Post subject:
Ubuntu build failed the latest from github
Reply with quote

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

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11238

PostPosted: Mon Aug 22, 2016 6:58 pm    Post subject:
Ubuntu build failed the latest from github
Reply with quote

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
<> wrote:
Quote:
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





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Trajce Nikolov NICK
Guest





PostPosted: Mon Aug 22, 2016 8:07 pm    Post subject:
Ubuntu build failed the latest from github
Reply with quote

Thanks Robert!

On Mon, Aug 22, 2016 at 8:58 PM, Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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
< (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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



Quote:
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11238

PostPosted: Mon Sep 05, 2016 11:24 am    Post subject:
Ubuntu build failed the latest from github
Reply with quote

Hi Nick,

On 22 August 2016 at 19:58, Robert Osfield <> wrote:
Quote:
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.

I have now addressed this problem so that OSG master now compiles
cleanly when compiling against Coin/Inventor. The solution was to
move the deprecated_osg::Geometry implemenation from OSG-3.4 into the
src/osgPlugins/Inventor directory.

The fix is now in OSG master.

Cheers,
Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Trajce Nikolov NICK
Guest





PostPosted: Mon Sep 05, 2016 4:27 pm    Post subject:
Ubuntu build failed the latest from github
Reply with quote

Thanks Robert 

Nick


On Mon, Sep 5, 2016 at 1:23 PM, Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi Nick,

On 22 August 2016 at 19:58, Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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.

I have now addressed this problem so that OSG master now compiles
cleanly when compiling against Coin/Inventor.  The solution was to
move the deprecated_osg::Geometry implemenation from OSG-3.4 into the
src/osgPlugins/Inventor directory.

The fix is now in OSG master.

Cheers,
Robert.
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts iOS build guide locked/checked out on... tomhog General 2 Fri Apr 21, 2017 10:43 pm View latest post
No new posts osg build (master) failed with VS2013... Trajce Nikolov NICK General 1 Thu Feb 09, 2017 2:26 pm View latest post
No new posts Timeout problems with OSX TravisCL build robertosfield General 0 Tue Nov 15, 2016 5:45 pm View latest post
No new posts Warnings: Failed grabbing the focus a... umadevi2193 General 3 Fri Nov 11, 2016 7:49 am View latest post
No new posts Android build failure with Android ND... Andy Tai General 2 Thu Oct 27, 2016 8:11 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP