BerryBots pre-release testing help

Jump to navigation Jump to search

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.

Sheldor12:27, 10 March 2013

Hmm - do you see sfml-graphics-2.dll in the same directory as BerryBots.exe?

Voidious15:28, 10 March 2013

Yes.

Sheldor15:30, 10 March 2013

Any chance you are clicking into the zip and not the extracted folder? I know I've done that when Windows is hiding file extensions.

If it's not that, I'm pretty confused and will have to do some research. Windows 7 for you right? And does re-extracting to another location work? Thanks.

Voidious16:18, 10 March 2013
 
 

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.)

Sheldor17:15, 10 March 2013
 

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Voidious/BerryBots pre-release testing help/reply (47).

 

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. ;)

Sheldor18:05, 10 March 2013
 

Oh cool, good to hear. I am looking into installers now, Inno Setup looks promising.

But I may put the installer off to next release if it's not totally breaking anything. The bigger piece of work here is that with the code in "Program Files", I'd also want to move bots/stages to somewhere else (configurable, eg My Documents\BerryBots), and then need a way to find them (like via the registry). I already have to do it this way on Mac OS X, and it does seem like a better setup. Right now it just knows to look in the subdirectories on Windows/Linux.

Voidious18:14, 10 March 2013