BerryBots pre-release testing help
← Thread:User talk:Voidious/BerryBots pre-release testing help/reply (42)
I tried to run BerryBots but instead I got this error message:
"The program can't start because sfml-graphics-2.dll is missing from your computer. Try reinstalling the program to fix this problem."
It worked fine before.
Hmm - do you see sfml-graphics-2.dll in the same directory as BerryBots.exe?
Aha!
When I open it straight from Explorer, it works fine. But, when I go through the shortcut I put on my desktop, I get the error. Are you making some kind of reference to that DLL that wouldn't work through a desktop shortcut?
You are correct, I am using Windows 7. (I've tried linux, but I haven't gotten the hang of it yet.)
Ah! Ok, that makes some sense. Really glad you uncovered this one!
It needs the DLLs somewhere that the system will find them. Having them in the same dir as the .exe works, and lets me avoid needing an installer or polluting your system with DLLs (or so I thought). But maybe I do need an installer after all, or to static link everything (all the required DLL code goes right into the .exe, basically).
The desktop shortcut works for me on Windows 8. It's definitely a shortcut on your desktop right? Not a copy of the .exe? I think if you want a work-around for now, you could copy the DLLs into Windows\System32, or add the BerryBots directory to your PATH.
You're right. I actually copied the .exe file to my desktop folder. It's fixed now.
It probably would be a good idea to use an installer or have all code in one file, in case somebody else does something stupid. ;)
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Voidious/BerryBots pre-release testing help/reply (49).