Pages

mardi 17 août 2010

C++ Link error

Error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Quaternion::Quaternion(class Ogre::Quaternion const &)" (__imp_??0Quaternion@Ogre@@QAE@ABV01@@Z) referenced in function "public: virtual void __thiscall OgreObjectState::getWorldTransform(class btTransform &)const " (?getWorldTransform@OgreObjectState@@UBEXAAVbtTransform@@@Z) main.obj
***********************************************************************

This is the errors that I met during I compiled source code concerning the wrapper of Ogre (http://www.ogre3d.org/) and Bullet (http://bulletphysics.org/wordpress/),

normally, two reasons for this:
(1) being lack of libs

(2) header files and lib file are not belonging to the same version. This is common in Ogre anda bullet, since the two envolve fast!



Aucun commentaire:

Enregistrer un commentaire