Windows DLLs - Which, Where, How

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
FinalSin
Prole
Posts: 16
Joined: Tue Dec 14, 2010 3:09 pm

Windows DLLs - Which, Where, How

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Windows DLLs - Which, Where, How

Post by bartbes »

You need the ones either in your installation dir, or in the zip distribution.
User avatar
FinalSin
Prole
Posts: 16
Joined: Tue Dec 14, 2010 3:09 pm

Re: Windows DLLs - Which, Where, How

Post by FinalSin »

The LOVE installation directory?

Ah. Cheers.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Windows DLLs - Which, Where, How

Post 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).
User avatar
FinalSin
Prole
Posts: 16
Joined: Tue Dec 14, 2010 3:09 pm

Re: Windows DLLs - Which, Where, How

Post 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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests