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

Author Topic: smfl-system.dll in path but reported missing  (Read 1460 times)

0 Members and 1 Guest are viewing this topic.

DanV2

  • Newbie
  • *
  • Posts: 2
    • View Profile
smfl-system.dll in path but reported missing
« on: March 17, 2012, 06:26:12 am »
Ok, so I feel like this issue has definitely been brought up before, by my time combing google results and the posts here have not found me a solution thus far.

Basically, I recently downloaded SFML-1.6 for codeblocks w/mingw.  I set up the search directories for the compiler and linker and added the library path with all of the DLL's to my system path.  Then I restarted (best way I know to make sure the PATH variable has been updated).  After that, I started up codeblocks, wrote out the example clock program, and compiled it.  Then I tried to run it, but got an error about sfml-system.dll missing from the system.  I open up a command promp, echo %SHELL%, the directory with the dll's is still there...

Next, I try just copying all of the DLL's into the C:\Windows\System32 directory.  I don't really like doing this because of the clutter in there, but I figure it has to work.  I restart (for good measure) and start up codeblocks again.  Compile -> run, same error pops up.

Finally, I just want the program to run.  I copy sfml-system.dll into my codeblocks project directory, try to run it again, it works.

So basically, does anyone have any idea why the system was unable to find the DLL's until I just put them directly in the project folder?  I suppose I can copy them whenever I start a new project, but that means another step to the process (not to mention the horror of updating SFML with all of those distributed DLL's), so I'd really like to get it working through the path.

Just in case it matters, I am running the Windows 8 Consumer Preview.  If you need/want any other info about my setup, just ask.

And again, I am sorry if this has already been posted and solved, but I was unable to find it.  All I saw were one or two users with the same problem and threads with no responses.  Hopefully that doesn't happen here...

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
smfl-system.dll in path but reported missing
« Reply #1 on: March 17, 2012, 10:34:09 am »
In theory it should work yes, but then again you're using Windows 8 DP (why don't you use the Beta now anyway? :wink:), although google didn't find a reported issue about PATH but maybe it's not working properly yet.

There are two places you could have added the path. Did you add it for just one user or for the whole system?

Then again I'd advice you to use SFML 2 since it's going soon to be a release candidate and SFML 1.6 has its bugs (e.g. you can't run it with (some) ATI graphics card) and it isn't maintained anymore.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

DanV2

  • Newbie
  • *
  • Posts: 2
    • View Profile
smfl-system.dll in path but reported missing
« Reply #2 on: March 17, 2012, 06:33:06 pm »
Ok, I think I'll try using SFML 2 instead.  I am actually just switching over from SDL (as I didn't know SFML existed before) so I wasn't sure which version to get.  I'll play around with it some more, see if anything comes of it.