[Solved] unresolved external errors: QX11Info
i’m trying to compile an Ogre/Qt application following the tutorial on the Ogre wiki and i get these linkler errors:
- 1>OgreRenderer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QX11Info::~QX11Info(void)" (__imp_??1QX11Info@@QAE@XZ) referenced in function "protected: virtual void __thiscall CJokeRendererOpenGL::initializeGL(void)" (?initializeGL@CJokeRendererOpenGL@@MAEXXZ)
- 1>OgreRenderer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall QX11Info::screen(void)const " (__imp_?screen@QX11Info@@QBEHXZ) referenced in function "protected: virtual void __thiscall CJokeRendererOpenGL::initializeGL(void)" (?initializeGL@CJokeRendererOpenGL@@MAEXXZ)
- 1>OgreRenderer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static struct _XDisplay * __cdecl QX11Info::display(void)" (__imp_?display@QX11Info@@SAPAU_XDisplay@@XZ) referenced in function "protected: virtual void __thiscall CJokeRendererOpenGL::initializeGL(void)" (?initializeGL@CJokeRendererOpenGL@@MAEXXZ)
- 1>OgreRenderer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QX11Info::QX11Info(void)" (__imp_??0QX11Info@@QAE@XZ) referenced in function "protected: virtual void __thiscall CJokeRendererOpenGL::initializeGL(void)" (?initializeGL@CJokeRendererOpenGL@@MAEXXZ)
- 1>G:\Users\Eggman\Documents\Visual Studio 2008\Projects\The_Joke_Editor\Debug\The_Joke_Editor.exe : fatal error LNK1120: 4 unresolved externals
which lib do i have to link to get this to work?
8 replies
Have you installed “Microsoft Visual C++ Dependencies Package” and have you read the corresponding thread here [ogre3d.org] ?
You must log in to post a reply. Not a member yet? Register here!


