Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML2 and CEGUI: linker issue  (Read 7136 times)

0 Members and 1 Guest are viewing this topic.

Darknight

  • Newbie
  • *
  • Posts: 10
    • View Profile
SFML2 and CEGUI: linker issue
« on: November 30, 2010, 11:16:30 pm »
Hello everyone,

I'm not very familiar with c++, I am using VC 2010 and trying to use CEGUI 6.2 with SFML2.

I've taken the tutorial's code from SFML's wiki and arranged it to fit SFML2:
"#include <SFML/Graphics/Text.hpp>" instead of "#include <SFML/Graphics/String.hpp>" in APP.h, and adjusted the code using it as well.

Here's my current linker:

sfml-graphics-d.lib
sfml-main-d.lib
sfml-system-d.lib
sfml-window-d.lib
glu32.lib
pcre_d.lib
CEGUIBase_d.lib
CEGUIExpatParser_d.lib
expat_d.lib
CEGUISILLYImageCodec_d.lib
SILLY_d.lib
OpenGLGUIRenderer_d.lib
CEGUIFalagardWRBase_d.lib


And here are the errors:

Erreur   3   error LNK2001: symbole externe non résolu "public: static class CEGUI::String const CEGUI::Window::EventTextChanged" (?EventTextChanged@Window@CEGUI@@2VString@2@B)   C:\Users\Aymeric\Documents\Visual Studio 2010\Projects\sfmlCEGUI\App.obj

Erreur   4   error LNK2001: symbole externe non résolu "public: static class CEGUI::String const CEGUI::FrameWindow::EventCloseClicked" (?EventCloseClicked@FrameWindow@CEGUI@@2VString@2@B)   C:\Users\Aymeric\Documents\Visual Studio 2010\Projects\sfmlCEGUI\App.obj

Erreur   5   error LNK2001: symbole externe non résolu "protected: static class CEGUI::FontManager * CEGUI::Singleton<class CEGUI::FontManager>::ms_Singleton" (?ms_Singleton@?$Singleton@VFontManager@CEGUI@@@CEGUI@@1PAVFontManager@2@A)   C:\Users\Aymeric\Documents\Visual Studio 2010\Projects\sfmlCEGUI\GUIManager.obj

Erreur   6   error LNK2001: symbole externe non résolu "protected: static class CEGUI::WindowManager * CEGUI::Singleton<class CEGUI::WindowManager>::ms_Singleton" (?ms_Singleton@?$Singleton@VWindowManager@CEGUI@@@CEGUI@@1PAVWindowManager@2@A)   C:\Users\Aymeric\Documents\Visual Studio 2010\Projects\sfmlCEGUI\GUIManager.obj

Erreur   7   error LNK2001: symbole externe non résolu "protected: static class CEGUI::SchemeManager * CEGUI::Singleton<class CEGUI::SchemeManager>::ms_Singleton" (?ms_Singleton@?$Singleton@VSchemeManager@CEGUI@@@CEGUI@@1PAVSchemeManager@2@A)   C:\Users\Aymeric\Documents\Visual Studio 2010\Projects\sfmlCEGUI\GUIManager.obj


I don't understand how I am supposed to know what libraries are used for those classes. Could you guys give me a hand?

ratzlaff

  • Newbie
  • *
  • Posts: 33
    • View Profile
SFML2 and CEGUI: linker issue
« Reply #1 on: December 01, 2010, 12:54:55 am »
Those are CEGUI linker errors, you would be better served asking that question on their forums

Darknight

  • Newbie
  • *
  • Posts: 10
    • View Profile
SFML2 and CEGUI: linker issue
« Reply #2 on: December 01, 2010, 04:46:50 pm »
Indeed, I'm going to submit this message on their forums. Thank you anyway :)