[osg-users] [osgPlugins] build osg 3.5.4 plugin lua error, on vs 2010

nguyen duy nam osgforum at tevs.eu
Mon Aug 8 00:11:14 PDT 2016


Hi, help me
log error
 All outputs are up-to-date.
3>  lstring.c
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(107): error C2143: syntax error : missing ';' before 'type'
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(108): error C2065: 'start_of_string' : undeclared identifier
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(108): warning C4022: 'memcpy' : pointer mismatch for actual parameter 1
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(109): error C2065: 'start_of_string' : undeclared identifier
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(109): error C2109: subscript requires array or pointer type
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(117): error C2143: syntax error : missing '{' before '*'
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(118): warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(127): warning C4133: 'return' : incompatible types - from 'TString *' to 'int *'
3>..\..\..\..\..\sources\openscenegraph3.5.0\src\osgPlugins\lua\lua-5.2.3\src\lstring.c(150): warning C4133: 'return' : incompatible types - from 'int *' to 'TString *'
3>
... 
anyone show me, how to fix.
Thank you!

Cheers,
nguyen

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68301#68301








More information about the osg-users mailing list