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 

How to compile the pal project??l


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPhysics [osgPhysics]
View previous topic :: View next topic  
Author Message
kangsite
Newbie


Joined: 13 Mar 2009
Posts: 1

PostPosted: Fri Mar 13, 2009 2:31 pm    Post subject:
How to compile the pal project??l
Reply with quote

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
Back to top
View user's profile Send private message
Wang Rui
Guest





PostPosted: Fri Mar 13, 2009 2:43 pm    Post subject:
How to compile the pal project??l
Reply with quote

Hi Kangsite(?),
 
Just try the SVN version of PAL. It seems to have small problems building under Windows at present, but not as serious as you saw.
 
Wang Rui

2009/3/13 kangsite <>
Quote:
Hi
  when I compile the pal project with vs2005,it's wrong.The message as follows:

_______________________________________________
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


------------------
Post generated by Mail2Forum
Back to top
Sukender
Appreciator


Joined: 29 Jan 2009
Posts: 680

PostPosted: Mon Mar 16, 2009 9:28 am    Post subject:
How to compile the pal project??l
Reply with quote

Hi kangsite(?),

As discussed on the PAL forum ( http://sourceforge.net/forum/forum.php?thread_id=3090857&forum_id=400130 ), you should try the CMake build system I created for PAL. Here is a copy-paste of one of my messages:

"The current status of this system is "complete - approval pending".
To get PAL with CMake build system, checkout the corresponding PAL branch at https://pal.svn.sourceforge.net/svnroot/pal/branches/CMake_build_system

Please report anything useful! This way you will help everyone getting this system into the trunk (=make it official) faster.

I successfully tested it with VS8 (2005) sp1.

WARNING: This is a branch; it does NOT have all recent features added to PAL in the trunk (yet)."

If you really need PAL trunk's feature in the branch, just tell me.
See you on the PAL forum (instead of here!)...

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/


Le Fri, 13 Mar 2009 15:43:26 +0100, Wang Rui <> a écrit:

Quote:
Hi Kangsite(?),

Just try the SVN version of PAL. It seems to have small problems building
under Windows at present, but not as serious as you saw.

Wang Rui
2009/3/13 kangsite <>

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






------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPhysics [osgPhysics] 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 OsgText compile issue with the newer ... crubel@compro.net General 4 Wed Nov 15, 2017 7:29 pm View latest post
No new posts How to pre-compile shaders before act... kornerr General 1 Thu Sep 28, 2017 8:42 pm View latest post
No new posts Compile error with Visual Studio 2017 draccagni General 2 Sat Aug 19, 2017 1:52 pm View latest post
No new posts How to add hello world/additional pro... tipking General 3 Mon Jun 12, 2017 10:25 am View latest post
No new posts OpenThreads Pthread.cpp fails to comp... crubel@compro.net Submission 3 Tue Nov 29, 2016 9:26 pm 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