help me~ about compile hydrax0.5.1 with Ogre 1.7.3

ilysony

13-05-2014 05:43:55

is anyone can help me, i'm using vs2012 to comiple hydrax0.5.1 with ogre 1.7.3, and drive me crazy , its away a link error 2001 about the Ogre MapIterator

the detail is under here
1>------ Build started: Project: Hydrax, Configuration: Release Win32 ------
1> Creating library .\bin\Release\Hydrax.lib and object .\bin\Release\Hydrax.exp
1>Mesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class Ogre::MapIterator<class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::Node *,struct std::hash<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::Node *> > > > __thiscall Ogre::Node::getChildIterator(void)" (__imp_?getChildIterator@Node@Ogre@@UAE?AV?$MapIterator@V?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@U?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@@std@@@2@@std@@@2@XZ)
1>Mesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class Ogre::ConstMapIterator<class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::Node *,struct std::hash<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::Node *> > > > __thiscall Ogre::Node::getChildIterator(void)const " (__imp_?getChildIterator@Node@Ogre@@UBE?AV?$ConstMapIterator@V?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@U?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@@std@@@2@@std@@@2@XZ)
1>Mesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class Ogre::MapIterator<class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::MovableObject *,struct std::hash<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::MovableObject *> > > > __thiscall Ogre::SceneNode::getAttachedObjectIterator(void)" (__imp_?getAttachedObjectIterator@SceneNode@Ogre@@UAE?AV?$MapIterator@V?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@U?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@@std@@@2@@std@@@2@XZ)
1>Mesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class Ogre::ConstMapIterator<class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::MovableObject *,struct std::hash<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::MovableObject *> > > > __thiscall Ogre::SceneNode::getAttachedObjectIterator(void)const " (__imp_?getAttachedObjectIterator@SceneNode@Ogre@@UBE?AV?$ConstMapIterator@V?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@U?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@@std@@@2@@std@@@2@XZ)
1>.\bin\Release\Hydrax.dll : fatal error LNK1120: 4 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


and the vs preprocesscor is
WIN32
NDEBUG
_WINDOWS
HYDRAX_EXPORTS
HYDRAX_LIB
BOOST_ALL_NO_LIB


thanks in advance~