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

Author Topic: [Fixed] Copying dlls  (Read 2132 times)

0 Members and 1 Guest are viewing this topic.

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
[Fixed] Copying dlls
« on: September 08, 2010, 06:25:53 pm »
I am silly always copying SFML (among other libraries) dll's to my project directories. Is there a way to say all my executables to look to my SFML directory for the dll's?

I thought putting the dll's directory in the PATH environment (Windows) would work, but looks like it won't.

purkskis

  • Newbie
  • *
  • Posts: 22
    • View Profile
[Fixed] Copying dlls
« Reply #1 on: September 08, 2010, 07:01:12 pm »
put dll's in C:\Windows\System32
it works for me

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
[Fixed] Copying dlls
« Reply #2 on: September 08, 2010, 07:05:15 pm »
Quote
I thought putting the dll's directory in the PATH environment (Windows) would work, but looks like it won't.

It should, you probably did something wrong.

Quote
put dll's in C:\Windows\System32

This works because C:\Windows\System32 is in the PATH environment variable ;)
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
[Fixed] Copying dlls
« Reply #3 on: September 09, 2010, 10:45:38 pm »
I fixed it. I must restart my computer to make the PATH changes work.