[osg-users] ConvertToInventor.cpp compilation error

J.P. Delport jpdelport at csir.co.za
Thu Oct 18 23:48:35 PDT 2007


Hi,

maybe try

#include <assert.h>
in the ConvertToInventor.cpp file

jp

rck jobs wrote:
> Hello,
> 
> I'm installing  OpenSceneGraph-2.2 under my Debian Sarge (Pentium III - 
> i386) server and I'm having a compilation error on file 
> ConvertToInventor.cpp .
> 
> I was reading the mailing list and i don't understood what to do exactly 
> about the ConvertToInventor.cpp or CMakeLists.txt files.
> 
> My erros are:
> 
> /usr/local/OpenSceneGraph/src
> /osgPlugins/Inventor/ConvertToInventor.cpp: In
>    destructor `virtual ConvertToInventor::~ConvertToInventor()':
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp:189: 
> error: `
>    assert' undeclared (first use this function)
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp:189: 
> error: (Each
>    undeclared identifier is reported only once for each function it appears
>    in.)
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp: In
>    function `void processIndices(const osg::Array*, const osg::Array*,
>    SoMFInt32&, int, int, int)':
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp:513: 
> error: `
>    assert' undeclared (first use this function)
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp: In
>    function `void postProcessField(const SbIntList&, 
> osg::PrimitiveSet::Mode,
>    SoMFInt32*, osg::Geometry::AttributeBinding)':
> /usr/local/OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp:588: 
> error: `
>    assert' undeclared (first use this function)
> 
> and some other like those. I'm completely with no ideias to how solve 
> this problem. I'd be grateful with any suggestion.
> 
> Thanks!
> 
> Roberto
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.




More information about the osg-users mailing list