Note that there are some explanatory texts on larger screens.

plurals
  1. POUnresolved External Symbol?
    text
    copied!<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix">What is an undefined reference/unresolved external symbol error and how do I fix it?</a> </p> </blockquote> <p>I am terrible at reading c++ errors, but obviously Unresolved External Symbol means the function I am using isn't defined. The error I am getting is...</p> <pre><code>1&gt;WorldState.obj : error LNK2001: unresolved external symbol "public: class Brutal::GameObject * __thiscall Brutal::GameObjectManager::createObject&lt;class Player&gt;(class Ogre::Vector3,class Ogre::Quaternion,class Brutal::PropertyList,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;)" (??$createObject@VPlayer@@@GameObjectManager@Brutal@@QAEPAVGameObject@1@VVector3@Ogre@@VQuaternion@4@VPropertyList@1@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 1&gt;C:\Users\Brett\Desktop\Factions Online\build\release\client\client.exe : fatal error LNK1120: 1 unresolved externals </code></pre> <p>This doesn't make any sense as createObject is defined and even comes up appropriately in MSVC when I right click it and click "go to definition"</p> <p>My code which calls it is...</p> <pre><code>Brutal::GameObjectManager::getSingletonPtr()-&gt;createObject&lt;Player&gt;(Ogre::Vector3::ZERO, Ogre::Quaternion::IDENTITY); </code></pre> <p>So am I missing something silly?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload