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

Author Topic: I'm having problems with SFML  (Read 1145 times)

0 Members and 1 Guest are viewing this topic.

kapesu8

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
I'm having problems with SFML
« on: May 03, 2012, 06:40:00 pm »
When I build the solution it brings no errors at all, but when it's time to run the exe it comes up with error msg box saying that it couldn't find sfml-[ANY ADDITIONAL DEPENDENCY]-d-2.dll even if there's one..

[ANY ADDITIONAL DEPENDENCY] stands for all;
sfml-system-d-2.dll
sfml-window-d-2.dll
etc.


I'm using the 2.0 version.
I'm pretty sure that I setted it up correctly.
Anybody else having same kind of problems?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: I'm having problems with SFML
« Reply #1 on: May 03, 2012, 07:00:07 pm »
Have you copied the DLLs to the executable directory?
Laurent Gomila - SFML developer

kapesu8

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: I'm having problems with SFML
« Reply #2 on: May 03, 2012, 10:56:49 pm »
Do you mean those which came after building SFML.sln which came from cmake?
Those are currently copied to lib folder which is linked to that project's library directory

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: I'm having problems with SFML
« Reply #3 on: May 03, 2012, 11:03:23 pm »
Yes... Please read the tutorial.
Laurent Gomila - SFML developer

kapesu8

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: I'm having problems with SFML
« Reply #4 on: May 05, 2012, 01:27:51 pm »
Oh I forgot to do that.. It was just in text while the other parts of it was also with pictures :P
I'm lazy to read..

It works fine but just before the SFML works! window opens the console says:
Failed to share OpenGL context

 

anything