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

Author Topic: Help me use SFML on VC++ 2010 please! (:  (Read 6773 times)

0 Members and 2 Guests are viewing this topic.

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« on: December 13, 2010, 09:03:52 am »
Hello,

I built the static debug libraries with VC++ 2010 with 0 errors and im now trying to use them in a app I'm making but I get these errors:

That's my code:

Code: [Select]
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
   
    while (App.IsOpened())
    {
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }
        App.Clear();



        App.Display();
    }


Code: [Select]
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (__imp_??1RenderWindow@sf@@UAE@XZ)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall sf::Window::Display(void)" (__imp_?Display@Window@sf@@QAEXXZ)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall sf::RenderTarget::Clear(class sf::Color const &)" (__imp_?Clear@RenderTarget@sf@@QAEXABVColor@2@@Z)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall sf::Color::Color(unsigned char,unsigned char,unsigned char,unsigned char)" (__imp_??0Color@sf@@QAE@EEEE@Z)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall sf::Window::Close(void)" (__imp_?Close@Window@sf@@QAEXXZ)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: bool __thiscall sf::Window::GetEvent(class sf::Event &)" (__imp_?GetEvent@Window@sf@@QAE_NAAVEvent@2@@Z)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: bool __thiscall sf::Window::IsOpened(void)const " (__imp_?IsOpened@Window@sf@@QBE_NXZ)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::ContextSettings const &)" (__imp_??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUContextSettings@1@@Z)" in Funktion "_main".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (__imp_??0VideoMode@sf@@QAE@III@Z)" in Funktion "_main".

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #1 on: December 13, 2010, 09:23:05 am »
You must define SFML_STATIC when using the static libraries.
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #2 on: December 13, 2010, 09:27:51 am »
Now i get other errors..

Code: [Select]
1>  Code wird generiert...
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: __thiscall sf::Window::Window(void)" (??0Window@sf@@QAE@XZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: virtual __thiscall sf::Window::~Window(void)" (??1Window@sf@@UAE@XZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::Close(void)" (?Close@Window@sf@@QAEXXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: bool __thiscall sf::Window::IsOpened(void)const " (?IsOpened@Window@sf@@QBE_NXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: unsigned int __thiscall sf::Window::GetWidth(void)const " (?GetWidth@Window@sf@@QBEIXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: unsigned int __thiscall sf::Window::GetHeight(void)const " (?GetHeight@Window@sf@@QBEIXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: bool __thiscall sf::Window::GetEvent(class sf::Event &)" (?GetEvent@Window@sf@@QAE_NAAVEvent@2@@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::UseVerticalSync(bool)" (?UseVerticalSync@Window@sf@@QAEX_N@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::ShowMouseCursor(bool)" (?ShowMouseCursor@Window@sf@@QAEX_N@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetCursorPosition(unsigned int,unsigned int)" (?SetCursorPosition@Window@sf@@QAEXII@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetPosition(int,int)" (?SetPosition@Window@sf@@QAEXHH@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetSize(unsigned int,unsigned int)" (?SetSize@Window@sf@@QAEXII@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::Show(bool)" (?Show@Window@sf@@QAEX_N@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::EnableKeyRepeat(bool)" (?EnableKeyRepeat@Window@sf@@QAEX_N@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetIcon(unsigned int,unsigned int,unsigned char const *)" (?SetIcon@Window@sf@@QAEXIIPBE@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: bool __thiscall sf::Window::SetActive(bool)const " (?SetActive@Window@sf@@QBE_N_N@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: class sf::Input const & __thiscall sf::Window::GetInput(void)const " (?GetInput@Window@sf@@QBEABVInput@2@XZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetFramerateLimit(unsigned int)" (?SetFramerateLimit@Window@sf@@QAEXI@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: float __thiscall sf::Window::GetFrameTime(void)const " (?GetFrameTime@Window@sf@@QBEMXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "public: void __thiscall sf::Window::SetJoystickThreshold(float)" (?SetJoystickThreshold@Window@sf@@QAEXM@Z) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(Window.obj) : error LNK2005: "private: virtual void __thiscall sf::Window::OnCreate(void)" (?OnCreate@Window@sf@@EAEXXZ) ist bereits in sfml-window-s-d.lib(Window.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "protected: __thiscall sf::priv::WindowImpl::WindowImpl(void)" (??0WindowImpl@priv@sf@@IAE@XZ) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "public: virtual __thiscall sf::priv::WindowImpl::~WindowImpl(void)" (??1WindowImpl@priv@sf@@UAE@XZ) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "public: unsigned int __thiscall sf::priv::WindowImpl::GetWidth(void)const " (?GetWidth@WindowImpl@priv@sf@@QBEIXZ) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "public: unsigned int __thiscall sf::priv::WindowImpl::GetHeight(void)const " (?GetHeight@WindowImpl@priv@sf@@QBEIXZ) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "public: void __thiscall sf::priv::WindowImpl::SetJoystickThreshold(float)" (?SetJoystickThreshold@WindowImpl@priv@sf@@QAEXM@Z) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(WindowImpl.obj) : error LNK2005: "private: void __thiscall sf::priv::WindowImpl::ProcessJoystickEvents(void)" (?ProcessJoystickEvents@WindowImpl@priv@sf@@AAEXXZ) ist bereits in sfml-window-s-d.lib(WindowImpl.obj) definiert.
1>sfml-window-s-d.lib(VideoMode.obj) : error LNK2005: "public: __thiscall sf::VideoMode::VideoMode(void)" (??0VideoMode@sf@@QAE@XZ) ist bereits in sfml-window-s-d.lib(VideoMode.obj) definiert.
1>sfml-window-s-d.lib(VideoMode.obj) : error LNK2005: "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@QAE@III@Z) ist bereits in sfml-window-s-d.lib(VideoMode.obj) definiert.
1>sfml-window-s-d.lib(VideoMode.obj) : error LNK2005: "public: static class sf::VideoMode __cdecl sf::VideoMode::GetDesktopMode(void)" (?GetDesktopMode@VideoMode@sf@@SA?AV12@XZ) ist bereits in sfml-window-s-d.lib(VideoMode.obj) definiert.
1>sfml-window-s-d.lib(VideoMode.obj) : error LNK2005: "public: bool __thiscall sf::VideoMode::IsValid(void)const " (?IsValid@VideoMode@sf@@QBE_NXZ) ist bereits in sfml-window-s-d.lib(VideoMode.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: __thiscall sf::Input::Input(void)" (??0Input@sf@@QAE@XZ) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: bool __thiscall sf::Input::IsKeyDown(enum sf::Key::Code)const " (?IsKeyDown@Input@sf@@QBE_NW4Code@Key@2@@Z) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: bool __thiscall sf::Input::IsMouseButtonDown(enum sf::Mouse::Button)const " (?IsMouseButtonDown@Input@sf@@QBE_NW4Button@Mouse@2@@Z) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: bool __thiscall sf::Input::IsJoystickButtonDown(unsigned int,unsigned int)const " (?IsJoystickButtonDown@Input@sf@@QBE_NII@Z) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: int __thiscall sf::Input::GetMouseX(void)const " (?GetMouseX@Input@sf@@QBEHXZ) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: int __thiscall sf::Input::GetMouseY(void)const " (?GetMouseY@Input@sf@@QBEHXZ) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "public: float __thiscall sf::Input::GetJoystickAxis(unsigned int,enum sf::Joy::Axis)const " (?GetJoystickAxis@Input@sf@@QBEMIW4Axis@Joy@2@@Z) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(Input.obj) : error LNK2005: "private: void __thiscall sf::Input::ResetStates(void)" (?ResetStates@Input@sf@@AAEXXZ) ist bereits in sfml-window-s-d.lib(Input.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "public: virtual __thiscall sf::priv::WindowImplWin32::~WindowImplWin32(void)" (??1WindowImplWin32@priv@sf@@UAE@XZ) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::ShowMouseCursor(bool)" (?ShowMouseCursor@WindowImplWin32@priv@sf@@EAEX_N@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::SetCursorPosition(unsigned int,unsigned int)" (?SetCursorPosition@WindowImplWin32@priv@sf@@EAEXII@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::SetPosition(int,int)" (?SetPosition@WindowImplWin32@priv@sf@@EAEXHH@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::SetSize(unsigned int,unsigned int)" (?SetSize@WindowImplWin32@priv@sf@@EAEXII@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::Show(bool)" (?Show@WindowImplWin32@priv@sf@@EAEX_N@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::EnableKeyRepeat(bool)" (?EnableKeyRepeat@WindowImplWin32@priv@sf@@EAEX_N@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: virtual void __thiscall sf::priv::WindowImplWin32::SetIcon(unsigned int,unsigned int,unsigned char const *)" (?SetIcon@WindowImplWin32@priv@sf@@EAEXIIPBE@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: void __thiscall sf::priv::WindowImplWin32::RegisterWindowClass(void)" (?RegisterWindowClass@WindowImplWin32@priv@sf@@AAEXXZ) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: void __thiscall sf::priv::WindowImplWin32::SwitchToFullscreen(class sf::VideoMode const &)" (?SwitchToFullscreen@WindowImplWin32@priv@sf@@AAEXABVVideoMode@3@@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: void __thiscall sf::priv::WindowImplWin32::Cleanup(void)" (?Cleanup@WindowImplWin32@priv@sf@@AAEXXZ) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: void __thiscall sf::priv::WindowImplWin32::ProcessEvent(unsigned int,unsigned int,long)" (?ProcessEvent@WindowImplWin32@priv@sf@@AAEXIIJ@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: static enum sf::Key::Code __cdecl sf::priv::WindowImplWin32::VirtualKeyCodeToSF(unsigned int,long)" (?VirtualKeyCodeToSF@WindowImplWin32@priv@sf@@CA?AW4Code@Key@3@IJ@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: static bool __cdecl sf::priv::WindowImplWin32::HasUnicodeSupport(void)" (?HasUnicodeSupport@WindowImplWin32@priv@sf@@CA_NXZ) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>sfml-window-s-d.lib(WindowImplWin32.obj) : error LNK2005: "private: static long __stdcall sf::priv::WindowImplWin32::GlobalOnEvent(struct HWND__ *,unsigned int,unsigned int,long)" (?GlobalOnEvent@WindowImplWin32@priv@sf@@CGJPAUHWND__@@IIJ@Z) ist bereits in sfml-window-s-d.lib(WindowImplWin32.obj) definiert.
1>LINK : warning LNK4098: Standardbibliothek "MSVCRT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #3 on: December 13, 2010, 09:54:39 am »
What libraries do you link to? Do you link twice to the same SFML libraries??
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #4 on: December 13, 2010, 10:02:40 am »
These are my additional dependencies:

Code: [Select]
sfml-graphics-s-d.lib;sfml-window-s-d.lib;sfml-system-s-d.lib;%(AdditionalDependencies)

And here is my command line of the linker:

Code: [Select]
/LIBPATH:"H:\Programmierung\test\test\SFML\lib" /LIBPATH:"C:\boost\stage\lib" "sfml-graphics-s-d.lib" "sfml-window-s-d.lib" "sfml-system-s-d.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /MANIFEST

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #5 on: December 13, 2010, 10:41:21 am »
Can you try to compile the SFML examples?
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #6 on: December 13, 2010, 11:12:39 am »
Ok tried..

That's what I did.. i made a new solution in a whole new directory with CMake.

Then i tried to compile without changing anything.. this is what i get:

http://slexy.org/raw/s2e1YON4lj

(I posted it on slexy.org because the result was too long for this website)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #7 on: December 13, 2010, 11:36:29 am »
Can you try compiling with nmake rather than generating a Visual Studio solution?
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #8 on: December 13, 2010, 12:06:46 pm »
Ok I made nmake files from Visual Studio command prompt and after that i ran nmake.. output:

http://slexy.org/raw/s20xD3x0L0

I don't know what I'm doing wrong :(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #9 on: December 13, 2010, 12:16:36 pm »
That doesn't make any sense...

Are you sure that you didn't do anything in your global VC++ configuration (like defining a kind of default libraries)? Anything that could be related to this problem?
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #10 on: December 13, 2010, 12:23:08 pm »
No I don't think so.. I just searched my whole VC++ configuration... :(

But hmm.. can't you release already-compiled libraries for VC++ 2010? (;

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #11 on: December 13, 2010, 01:11:46 pm »
Tried resetting my Visual c++ settings.. didn't help..

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #12 on: December 13, 2010, 02:00:27 pm »
Quote
But hmm.. can't you release already-compiled libraries for VC++ 2010? (;

I can't provide compiled libraries until SFML 2 is officially released.

Can you send me your compiled SFML libraries? I'll try them on my computer.
Laurent Gomila - SFML developer

Lawgiver

  • Newbie
  • *
  • Posts: 9
    • View Profile
Help me use SFML on VC++ 2010 please! (:
« Reply #13 on: December 13, 2010, 02:08:50 pm »
http://www.file-upload.net/download-3045795/lib.rar.html

These are the libraries I had in the first few posts.

Thanks for the GREAT support btw! (:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Help me use SFML on VC++ 2010 please! (:
« Reply #14 on: December 13, 2010, 10:20:47 pm »
I tried again with VC++ 2010, SFML 2 latest revision, and everything's fine except the sfml-window library. Yours is twice the size as mine, which could explain why every symbol it contains is defined twice for you.

I don't know what's wrong with you, I just recompiled with CMake, nothing special, and it worked. Try cleaning everything and restarting from scratch.
Laurent Gomila - SFML developer

 

anything