[solved] problems with building RAGDOLL_DEMO

the0bit1

04-07-2008 21:59:29

hi!
when i try build ragdoll_demo, i get this err-mess of linking --
------ Rebuild All started: Project: OgreNewt_Main, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'OgreNewt_Main', configuration 'Release|Win32'
Compiling...
OgreNewt_BasicFrameListener.cpp
OgreNewt_World.cpp
OgreNewt_Vehicle.cpp
OgreNewt_TreeCollisionSerializer.cpp
OgreNewt_Tools.cpp
OgreNewt_RayCast.cpp
.\src\OgreNewt_RayCast.cpp(96) : warning C4018: '>' : signed/unsigned mismatch
OgreNewt_MaterialPair.cpp
OgreNewt_MaterialID.cpp
OgreNewt_Joint.cpp
OgreNewt_Debugger.cpp
OgreNewt_ContactCallback.cpp
OgreNewt_CollisionPrimitives.cpp
.\src\OgreNewt_CollisionPrimitives.cpp(412) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
.\src\OgreNewt_CollisionPrimitives.cpp(683) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
OgreNewt_Collision.cpp
OgreNewt_Body.cpp
OgreNewt_BasicJoints.cpp
Generating Code...
Creating library...
Build log was saved at "file://d:\DEV\OGRE\OgreNewt\OgreNewt_Main\obj\Release\BuildLog.htm"
OgreNewt_Main - 0 error(s), 3 warning(s)
------ Rebuild All started: Project: Demo08_RagdollExample, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'Demo08_RagdollExample', configuration 'Release|Win32'
Compiling...
Ragdoll.cpp
.\Ragdoll.cpp(189) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
OgreNewtonFrameListener.cpp
OgreNewtonApplication.cpp
Demo08.cpp
Generating Code...
Compiling manifest to resources...
Linking...
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
tinyxml.lib(tinyxml.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
Ragdoll.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TiXmlDocument::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlDocument@@MAEXPAV?$basic_istream@DU?$char_traits@D@std@@@std@@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z)
../Bin/Release\Demo08_RagdollExample.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\DEV\OGRE\OgreNewt\demos\Demo08_RagdollExample\Build\Release\BuildLog.htm"
Demo08_RagdollExample - 2 error(s), 3 warning(s)
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

the0bit1

04-07-2008 22:13:29

sorry!
problem --solved

i am just rebuild tinyxml.lib with defined var TIXML_USE_STL