pommaniulo
12-07-2011 11:44:29
Hi. Need help. I have not big skills in compiling and linking (
i download OgreSDK_vc10_v1-7-3
download and compile bullet-2.78 from repository
download and compile ogrebullet from repository (Dynamics and Collisions. not Demos.)
i compil and run 1st tutorial:
http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1&structure=Libraries
OK!
I think that this means that the paths and library found successful
i add string:
#include "OgreBulletDynamicsRigidBody.h" // for OgreBullet
it's still OK
But! after i add string:
#include "Shapes/OgreBulletCollisionsStaticPlaneShape.h" // for static planes
and have:
1>------ Построение начато: проект: bullet, Конфигурация: Debug Win32 ------
1> bullet.cpp
1> Создается библиотека bin\Debug\bullet.lib и объект bin\Debug\bullet.exp
1>OgreBulletCollisions_d.lib(OgreBulletCollisionsDebugLines.obj) : error LNK2001: неразрешенный внешний символ ""public: virtual void __thiscall Ogre::MovableObject::removeQueryFlags(unsigned long)" (?removeQueryFlags@MovableObject@Ogre@@UAEXK@Z)"
1>bin\Debug\\bullet.exe : fatal error LNK1120: 1 неразрешенных внешних элементов
========== Построение: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ==========
sorry for rus version ) some translate:
OgreBulletCollisions_d.lib(OgreBulletCollisionsDebugLines.obj) : error LNK2001: неразрешенный внешний символ ""public: virtual void __thiscall Ogre::MovableObject::removeQueryFlags(unsigned long)" (?removeQueryFlags@MovableObject@Ogre@@UAEXK@Z)"
i download OgreSDK_vc10_v1-7-3
download and compile bullet-2.78 from repository
download and compile ogrebullet from repository (Dynamics and Collisions. not Demos.)
i compil and run 1st tutorial:
http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1&structure=Libraries
OK!
I think that this means that the paths and library found successful
i add string:
#include "OgreBulletDynamicsRigidBody.h" // for OgreBullet
it's still OK
But! after i add string:
#include "Shapes/OgreBulletCollisionsStaticPlaneShape.h" // for static planes
and have:
1>------ Построение начато: проект: bullet, Конфигурация: Debug Win32 ------
1> bullet.cpp
1> Создается библиотека bin\Debug\bullet.lib и объект bin\Debug\bullet.exp
1>OgreBulletCollisions_d.lib(OgreBulletCollisionsDebugLines.obj) : error LNK2001: неразрешенный внешний символ ""public: virtual void __thiscall Ogre::MovableObject::removeQueryFlags(unsigned long)" (?removeQueryFlags@MovableObject@Ogre@@UAEXK@Z)"
1>bin\Debug\\bullet.exe : fatal error LNK1120: 1 неразрешенных внешних элементов
========== Построение: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ==========
sorry for rus version ) some translate:
OgreBulletCollisions_d.lib(OgreBulletCollisionsDebugLines.obj) : error LNK2001: неразрешенный внешний символ ""public: virtual void __thiscall Ogre::MovableObject::removeQueryFlags(unsigned long)" (?removeQueryFlags@MovableObject@Ogre@@UAEXK@Z)"