Page 1 of 1

Windows DLLs - Which, Where, How

Posted: Tue Jan 04, 2011 1:39 pm
by FinalSin
It's me again, I'm afraid. I've finished a week of development and want to test distribution, and Windows is getting the first test. I've packaged everything into an EXE, but running the exe of course complains about missing dlls. First, it was SDL.dll, which I grabbed from an old pygame installation. Now, it's MSVCR90.dll - the same dll that killed off my ability to distribute pygame games a month or two ago.

Is there any definitive way of getting the right version of this DLL to distribute with the game? Because for pygame, I spent hours trying to find the right type and never could.

Also, besides these two, are there any other DLLs required? When using an old version of msvcr90, I received a runtime error with a generic R6034 code. I don't know if that means there's more to do, or simply that one of my dlls was out of date.

Cheers.

Re: Windows DLLs - Which, Where, How

Posted: Tue Jan 04, 2011 2:06 pm
by bartbes
You need the ones either in your installation dir, or in the zip distribution.

Re: Windows DLLs - Which, Where, How

Posted: Tue Jan 04, 2011 2:45 pm
by FinalSin
The LOVE installation directory?

Ah. Cheers.

Re: Windows DLLs - Which, Where, How

Posted: Tue Jan 04, 2011 11:58 pm
by TechnoCat
Yeah, include the dll's in the love install, or packaged with the zip.
bartbes wrote:You need the ones either in your installation dir, or in the zip distribution.
MSVCR90.dll shouldn't be asked for, unless I built it wrong (I assume).

Re: Windows DLLs - Which, Where, How

Posted: Wed Jan 05, 2011 10:47 am
by FinalSin
You're absolutely right; when I put those DLLs in the pack it stopped asking for it. Finally, cross-platform distribution that works! ;)

Cheers guys.