Hi
   when I compile the pal project with vs2005,it's wrong.The message as follows:

1>palActuators.cpp
1>e:\osg\pal\pal\pal\palfactory.h(46) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(46) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(46) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(46) : warning C4183: 'CreateMaterials': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(51) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(51) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(51) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(51) : warning C4183: 'CreatePhysics': missing 
return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(56) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(56) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(56) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(56) : warning C4183: 'CreateTerrainPlane': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(60) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(60) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(60) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(60) : warning C4183: 
'CreateTerrainHeightmap': missing return type; assumed to be a member function 
returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(64) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(64) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(64) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(64) : warning C4183: 'CreateTerrainMesh': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(70) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(70) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(70) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(70) : warning C4183: 'CreateBox': missing 
return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(75) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(75) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(75) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(75) : warning C4183: 'CreateSphere': missing 
return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(79) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(79) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(79) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(79) : warning C4183: 'CreateConvex': missing 
return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(84) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(84) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(84) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(84) : warning C4183: 'CreateCapsule': missing 
return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(89) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(89) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(89) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(89) : warning C4183: 'CreateCompoundBody': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(96) : error C2143: syntax error : missing ';' 
before '*'
1>e:\osg\pal\pal\pal\palfactory.h(96) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(96) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(96) : warning C4183: 'CreateSphericalLink': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(102) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(102) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(102) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(102) : warning C4183: 'CreateRevoluteLink': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(108) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(108) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(108) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(108) : warning C4183: 'CreatePrismaticLink': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(115) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(115) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(115) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(115) : warning C4183: 'CreatePSDSensor': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(122) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(122) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(122) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(122) : warning C4183: 'CreateContactSensor': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(128) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(128) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(128) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(128) : warning C4183: 
'CreateInclinometerSensor': missing return type; assumed to be a member 
function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(134) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(134) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(134) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(134) : warning C4183: 'CreateCompassSensor': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(141) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(141) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(141) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(141) : warning C4183: 
'CreateGyroscopeSensor': missing return type; assumed to be a member function 
returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(144) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(144) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(144) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(144) : warning C4183: 
'CreateVelocimeterSensor': missing return type; assumed to be a member function 
returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(147) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(147) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(147) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(147) : warning C4183: 'CreateGPSSensor': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(156) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(156) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(156) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(156) : warning C4183: 'GetActivePhysics': 
missing return type; assumed to be a member function returning 'int'
1>e:\osg\pal\pal\pal\palfactory.h(157) : error C2061: syntax error : identifier 
'palPhysics'
1>e:\osg\pal\pal\pal\palfactory.h(160) : error C2143: syntax error : missing 
';' before '*'
1>e:\osg\pal\pal\pal\palfactory.h(160) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palfactory.h(160) : error C4430: missing type specifier - 
int assumed. Note: C++ does not support default-int
1>e:\osg\pal\pal\pal\palgeometry.h : warning C4819: The file contains a 
character that cannot be represented in the current code page (936). Save the 
file in Unicode format to prevent data loss
1>e:\osg\pal\pal\pal\palactuators.cpp(281) : warning C4244: 'initializing' : 
conversion from 'double' to 'Float', possible loss of data 


How can  solve it?

Anyone knows it?

Thanks

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to