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 

Compiling osgPhysics??


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


Joined: 10 Aug 2009
Posts: 2

PostPosted: Wed Aug 12, 2009 7:57 pm    Post subject:
Compiling osgPhysics??
Reply with quote

I can't figure out how to compile the SVN release of this project.

When I try to, I get error messages like below

Error 1 error C2504: 'std::basic_fstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 32 osgPhysics
Error 2 error C2504: 'std::basic_ifstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 44 osgPhysics
Error 3 error C2504: 'std::basic_ofstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 56 osgPhysics
Error 4 error C3767: '<': candidate function(s) not accessible D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 5 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 6 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 7 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 8 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 9 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 10 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 11 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 12 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 13 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 14 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 15 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 16 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 17 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 18 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 19 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 20 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 21 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 22 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 23 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 24 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 25 error C2676: binary '<' : 'const std::string' does not define this operator or a conversion to a type acceptable to the predefined operator D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 26 error C3767: '<': candidate function(s) not accessible D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 27 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 28 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 29 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 30 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 31 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 32 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 33 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 34 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 35 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 36 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 37 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 38 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 39 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 40 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 41 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 42 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 43 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 44 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 45 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 46 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 47 error C2676: binary '<' : 'const std::string' does not define this operator or a conversion to a type acceptable to the predefined operator D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop


Using Pal Support and I think I've configured lib/include paths correctly.

Hope someone can help me out.

Thank you!

Cheers,
Jang
Back to top
View user's profile Send private message Send e-mail
Sukender
Appreciator


Joined: 29 Jan 2009
Posts: 680

PostPosted: Thu Aug 13, 2009 11:09 am    Post subject:
Compiling osgPhysics??
Reply with quote

Hi Jang,

I'd like to help you but your compiler log is a bit obscure to me. It looks as if std::string is missing... that's very strange. Could you try to tweak a bit around here and tell me what's happening ?

Please remember that osgPhysics is in development. Feel free to contribute Smile

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

----- Mail Original -----
De: "Jang Kyoung Rok" <>
À:
Envoyé: Mercredi 12 Août 2009 21h57:50 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: [osgPhysics] Compiling osgPhysics??

I can't figure out how to compile the SVN release of this project.

When I try to, I get error messages like below

Error 1 error C2504: 'std::basic_fstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 32 osgPhysics
Error 2 error C2504: 'std::basic_ifstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 44 osgPhysics
Error 3 error C2504: 'std::basic_ofstream<_Elem,_Traits>' : base class undefined D:\Capstone_Root\compiled\OpenSceneGraph\include\osgDB\fstream 56 osgPhysics
Error 4 error C3767: '<': candidate function(s) not accessible D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 5 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 6 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 7 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 8 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 9 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 10 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 11 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 12 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 13 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 14 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 15 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 16 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 17 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 18 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 19 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 20 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 21 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 22 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 23 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 24 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 25 error C2676: binary '<' : 'const std::string' does not define this operator or a conversion to a type acceptable to the predefined operator D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1734 osgphysicsdrop
Error 26 error C3767: '<': candidate function(s) not accessible D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 27 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 28 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 29 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 30 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 31 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 32 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 33 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 34 error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 35 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 36 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 37 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 38 error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 39 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 40 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 41 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 42 error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 43 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 44 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 45 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 46 error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'const std::string' D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop
Error 47 error C2676: binary '<' : 'const std::string' does not define this operator or a conversion to a type acceptable to the predefined operator D:\Capstone_Root\compiled\OpenSceneGraph\include\osg\State 1746 osgphysicsdrop


Using Pal Support and I think I've configured lib/include paths correctly.

Hope someone can help me out.

Thank you!

Cheers,
Jang

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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
astray0924
Newbie


Joined: 10 Aug 2009
Posts: 2

PostPosted: Sat Aug 15, 2009 7:22 am    Post subject:
Hu...
Reply with quote

Hi,

I uninstalled VS2008 completely and reinstalled it, and after regenerating the project the problem was solved.

I thought the problem was related to osgPhysics source code, but it seems that my compiler had some problem.

Thanks for your advice Smile

Cheers,
Jang
Back to top
View user's profile Send private message Send e-mail
Martin
Newbie


Joined: 23 Oct 2009
Posts: 1

PostPosted: Fri Oct 23, 2009 12:50 pm    Post subject:
Reply with quote

I encountered the same errors; the problem is in the CMake file. It asks for a number of different osg include directories; leave all of these blank except the top-level OSG_INCLUDE_DIR. The others are superfluous, and apparently confuse Visual Studio. Without those, it compiled for me without any problems.
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 Problem compiling OSG 3.4.1 osgDB 64 bit tonyor Build system [build] 0 Thu Sep 21, 2017 12:41 am View latest post
No new posts GraphicsWindowWin32 compiling errors ... Davide Raccagni Submission 4 Thu May 19, 2016 11:32 am View latest post
No new posts GraphicsWindowWin32 compiling errors ... Davide Raccagni Submission 1 Wed May 18, 2016 6:10 pm View latest post
No new posts Compiling a plugin only jmirabel Plugins [osgPlugins] 2 Sat Jan 16, 2016 4:42 pm View latest post
No new posts OSG 3.5.1 not compiling in MAC OSX 10... Mario Krapp General 0 Thu Nov 26, 2015 11:14 am 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