Skip to content

Commit

Permalink
Win32: Include msvcr100.dll in the distribution
Browse files Browse the repository at this point in the history
As libpng and libcurl have been compiled with VC++ 10.0, they
are dependent on msvcr100.dll. This shared library is part of
the MSVC2010 redistributable files and is not found by default
on Windows installations.

The Windows build is now working on 64-bit Windows 7 (running
as 32-bit) as well as 32-bit Windows.
  • Loading branch information
skyjake committed Sep 28, 2011
1 parent 8ec3557 commit d0077e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distrib/win32/dorel.bat
Expand Up @@ -13,6 +13,9 @@ cd ..\..\snowberry
call build.bat
cd ..\distrib\win32

REM -- Extra dependencies.
copy %windir%\system32\msvcr100.dll ..\products

REM -- Recompile.
SET BUILDFAILURE=0
rd/s/q work
Expand Down
1 change: 1 addition & 0 deletions distrib/win32/setup.iss.template
Expand Up @@ -71,6 +71,7 @@ Source: "lzss.dll"; DestDir: "{app}\bin"; Flags: ignoreversion; Components: Engi
Source: "zlib1.dll"; DestDir: "{app}\bin"; Flags: ignoreversion; Components: Engine
Source: "libpng15.dll"; DestDir: "{app}\bin"; Flags: ignoreversion; Components: Engine
Source: "libcurl.dll"; DestDir: "{app}\bin"; Flags: ignoreversion; Components: Engine
Source: "msvcr100.dll"; DestDir: "{app}\bin"; Flags: ignoreversion; Components: Engine

; Snowberry
Source: "..\..\snowberry\dist\*"; DestDir: "{app}\snowberry"; Flags: ignoreversion; Components: Launcher
Expand Down

0 comments on commit d0077e9

Please sign in to comment.