Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Mar 2011 22:03:11 -0800
changeset 54488090caeed230
parent 5447 2a3cf6d7cac5
child 5449 1a6f882e4a55
Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
VisualC/SDL/SDL_VS2010.vcxproj
configure.in
     1.1 --- a/VisualC/SDL/SDL_VS2010.vcxproj	Mon Mar 07 14:07:08 2011 -0800
     1.2 +++ b/VisualC/SDL/SDL_VS2010.vcxproj	Mon Mar 07 22:03:11 2011 -0800
     1.3 @@ -98,7 +98,7 @@
     1.4        <Culture>0x0409</Culture>
     1.5      </ResourceCompile>
     1.6      <Link>
     1.7 -      <AdditionalDependencies>msvcrt.lib;msimg32.lib;version.lib;winmm.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.8 +      <AdditionalDependencies>winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.9        <OutputFile>$(IntDir)SDL.dll</OutputFile>
    1.10        <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
    1.11        <GenerateDebugInformation>true</GenerateDebugInformation>
    1.12 @@ -117,7 +117,7 @@
    1.13      <ClCompile>
    1.14        <Optimization>Disabled</Optimization>
    1.15        <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    1.16 -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    1.17 +      <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    1.18        <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    1.19        <BufferSecurityCheck>false</BufferSecurityCheck>
    1.20        <PrecompiledHeader>
    1.21 @@ -130,7 +130,7 @@
    1.22        <Culture>0x0409</Culture>
    1.23      </ResourceCompile>
    1.24      <Link>
    1.25 -      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.26 +      <AdditionalDependencies>winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.27        <OutputFile>$(IntDir)SDL.dll</OutputFile>
    1.28        <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
    1.29        <GenerateDebugInformation>true</GenerateDebugInformation>
    1.30 @@ -168,7 +168,7 @@
    1.31        <Culture>0x0409</Culture>
    1.32      </ResourceCompile>
    1.33      <Link>
    1.34 -      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.35 +      <AdditionalDependencies>winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.36        <OutputFile>$(IntDir)SDL.dll</OutputFile>
    1.37        <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
    1.38        <SubSystem>Windows</SubSystem>
    1.39 @@ -186,7 +186,7 @@
    1.40        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    1.41        <IntrinsicFunctions>false</IntrinsicFunctions>
    1.42        <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    1.43 -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    1.44 +      <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    1.45        <StringPooling>true</StringPooling>
    1.46        <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    1.47        <BufferSecurityCheck>false</BufferSecurityCheck>
    1.48 @@ -200,7 +200,7 @@
    1.49        <Culture>0x0409</Culture>
    1.50      </ResourceCompile>
    1.51      <Link>
    1.52 -      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.53 +      <AdditionalDependencies>winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.54        <OutputFile>$(IntDir)SDL.dll</OutputFile>
    1.55        <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
    1.56        <SubSystem>Windows</SubSystem>
    1.57 @@ -446,4 +446,4 @@
    1.58    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    1.59    <ImportGroup Label="ExtensionTargets">
    1.60    </ImportGroup>
    1.61 -</Project>
    1.62 +</Project>
    1.63 \ No newline at end of file
     2.1 --- a/configure.in	Mon Mar 07 14:07:08 2011 -0800
     2.2 +++ b/configure.in	Mon Mar 07 22:03:11 2011 -0800
     2.3 @@ -2200,7 +2200,7 @@
     2.4          # SDL 1.3 is unicode, and unicows emulates this on Windows 98/ME
     2.5          # You can get this here: http://libunicows.sourceforge.net/
     2.6          #EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows"
     2.7 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lmsimg32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid"
     2.8 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid"
     2.9          # The Windows platform requires special setup
    2.10          VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
    2.11          SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"