Thanks Robert, everything builds fine ! :)

On Dec 10, 2007 12:22 PM, Robert Osfield <[EMAIL PROTECTED]> wrote:

> Hi Serge,
>
> Same problem again, changed to use char* .. = new char[..];  and now
> checked in.
>
> Robert.
>
> On Dec 10, 2007 11:08 AM, Serge Lages <[EMAIL PROTECTED]> wrote:
> > The SHP plugin still doesn't build :/
> >
> > 8>XBaseParser.cpp
> > 8>.\XBaseParser.cpp(160) : error C2057: expected constant expression
> > 8>.\XBaseParser.cpp(160) : error C2466: cannot allocate an array of
> constant
> > size 0
> > 8>.\XBaseParser.cpp(160) : error C2133: 'str' : unknown size
> > 8>.\XBaseParser.cpp(168) : error C2057: expected constant expression
> > 8>.\XBaseParser.cpp(168) : error C2466: cannot allocate an array of
> constant
> > size 0
> > 8>.\XBaseParser.cpp(168) : error C2133: 'number' : unknown size
> >
> >
> >
> > On Dec 10, 2007 11:55 AM, Robert Osfield <[EMAIL PROTECTED] >
> wrote:
> > > Hi Serge,
> > >
> > > I've just added exports/refactored the shp plugin code and checked it
> > > in, could you let me know if its compiling OK now.
> > >
> > > Robert.
> > >
> > >
> > >
> > >
> > > On Dec 10, 2007 10:25 AM, Serge Lages <[EMAIL PROTECTED]> wrote:
> > > > Hi Robert,
> > > >
> > > > Just updated this morning and the plugin osgsim does not build
> (under
> > WinXP
> > > > VS8), here is the error :
> > > >
> > > > 49>IO_ShapeAttribute.obj : error LNK2019: unresolved external symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::ShapeAttribute(char
> const
> > *)"
> > > > ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@Z) referenced in function "bool
> > __cdecl
> > > > ShapeAttributeList_readLocalData(class osg::Object &,class
> osgDB::Input
> > &)"
> > > >
> > (?ShapeAttributeList_readLocalData@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]
> @@@Z)
> > > > 49>IO_ShapeAttribute.obj : error LNK2019: unresolved external symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::ShapeAttribute(char
> const
> > > > *,int)" ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@Z) referenced in
> function
> > "bool
> > > > __cdecl ShapeAttributeList_readLocalData(class osg::Object &,class
> > > > osgDB::Input &)"
> > > > (?ShapeAttributeList_readLocalData@@
> > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z)
> > > >  49>IO_ShapeAttribute.obj : error LNK2019: unresolved external
> symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::ShapeAttribute(char
> const
> > > > *,double)" ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@Z) referenced in
> > function
> > > > "bool __cdecl ShapeAttributeList_readLocalData(class osg::Object
> &,class
> > > > osgDB::Input &)" (?ShapeAttributeList_readLocalData@@
> > > > [EMAIL PROTECTED] @@[EMAIL PROTECTED]@@@Z)
> > > > 49>IO_ShapeAttribute.obj : error LNK2019: unresolved external symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::~ShapeAttribute(void)"
> > > > ([EMAIL PROTECTED]@@ [EMAIL PROTECTED] ) referenced in function "bool
> > __cdecl
> > > > ShapeAttributeList_readLocalData(class osg::Object &,class
> osgDB::Input
> > &)"
> > > > (?ShapeAttributeList_readLocalData@@[EMAIL PROTECTED]@@
> [EMAIL PROTECTED]
> > @@@Z)
> > > > 49>IO_ShapeAttribute.obj : error LNK2019: unresolved external symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::ShapeAttribute(char
> const
> > *,char
> > > > const *)" ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@Z) referenced in
> function
> > > > "bool __cdecl ShapeAttributeList_readLocalData(class osg::Object
> &,class
> > > > osgDB::Input &)"
> > > > (?ShapeAttributeList_readLocalData@@[EMAIL PROTECTED]@@
> > [EMAIL PROTECTED]@@@Z)
> > > >  49>IO_ShapeAttribute.obj : error LNK2019: unresolved external
> symbol
> > > > "public: __thiscall osgSim::ShapeAttribute::ShapeAttribute(class
> > > > osgSim::ShapeAttribute const &)" ([EMAIL PROTECTED]@@
> > [EMAIL PROTECTED]@@Z)
> > > > referenced in function "protected: void __thiscall std::vector<class
> > > > osgSim::ShapeAttribute,class std::allocator<class
> > osgSim::ShapeAttribute>
> > > > >::_Insert_n(class std::_Vector_iterator<class
> > osgSim::ShapeAttribute,class
> > > > std::allocator<class osgSim::ShapeAttribute> >,unsigned int,class
> > > > osgSim::ShapeAttribute const &)" ([EMAIL PROTECTED]@
> > > >
> > [EMAIL PROTECTED]@@[EMAIL PROTECTED]
> @osgSim@@@std@@@std@@
> > [EMAIL PROTECTED]@osgSim@@
> [EMAIL PROTECTED]@osgSim@@@std@@@[EMAIL PROTECTED]
> @osgSim@@@Z)
> > > > 49>IO_ShapeAttribute.obj : error LNK2001: unresolved external symbol
> > > > "public: virtual int __thiscall
> > osgSim::ShapeAttributeList::compare(class
> > > > osgSim::ShapeAttributeList const &)const " (?compare@
> > > > [EMAIL PROTECTED]@@UBEHABV12@@Z)
> > > > 49>bin\osgPlugins-2.2.0\osgdb_osgsimd.dll : fatal error LNK1120: 7
> > > > unresolved externals
> > > > 49>Plugins osgsim - 8 error(s), 0 warning(s)
> > > >
> > > > And also the plugin shp doesn't build :
> > > >
> > > > 57>XBaseParser.cpp
> > > > 57>.\XBaseParser.cpp(143) : error C2057: expected constant
> expression
> > > > 57>.\XBaseParser.cpp(143) : error C2466: cannot allocate an array of
> > > > constant size 0
> > > > 57>.\XBaseParser.cpp(143) : error C2133: 'record' : unknown size
> > > > 57>.\XBaseParser.cpp(147) : error C2070: 'char []': illegal sizeof
> > operand
> > > > 57>.\XBaseParser.cpp(159) : error C2057: expected constant
> expression
> > > > 57>.\XBaseParser.cpp(159) : error C2466: cannot allocate an array of
> > > > constant size 0
> > > > 57>.\XBaseParser.cpp(159) : error C2133: 'str' : unknown size
> > > > 57>.\XBaseParser.cpp(167) : error C2057: expected constant
> expression
> > > > 57>.\XBaseParser.cpp(167) : error C2466: cannot allocate an array of
> > > > constant size 0
> > > > 57>.\XBaseParser.cpp(167) : error C2133: 'number' : unknown size
> > > >
> > > > --
> > > > Serge Lages
> > > > http://www.tharsis-software.com
> > > > _______________________________________________
> > > > osg-users mailing list
> > > > [email protected]
> > > >
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > > >
> > > >
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> >
> >
> >
> > --
> >
> >
> > Serge Lages
> > http://www.tharsis-software.com
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to