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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Darknight

Pages: [1]
1
Graphics / [SOLVED] OpenGL and SFML 2
« on: February 13, 2011, 03:24:48 pm »
Hi,

I'm currently learning to use openGL with the website's turorial: http://www.sfml-dev.org/tutorials/1.6/window-opengl.php

I've tried to compile window-opengl.cpp, which i downloaded on that page, but any function begining with gl just cant be found by the compiler. Any tips?

thanks

2
SFML wiki / 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?

Pages: [1]
anything