Mercurial > devkit
changeset 30:4a5873bf3284
libsdl-mixer: requires DLL_EXPORT
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 08 Apr 2021 14:01:31 +0200 |
parents | 6fbe1ed94439 |
children | 78dea7c19eff |
files | libsdl-mixer.md |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libsdl-mixer.md Thu Apr 08 13:36:31 2021 +0200 +++ b/libsdl-mixer.md Thu Apr 08 14:01:31 2021 +0200 @@ -23,19 +23,20 @@ 2. Open VisualC/SDL_mixer.sln, 3. Remove native_midi, playmus playwave, timidity project, 4. Remove x64, x86 from SDL2_mixer project -4. Select Release or Debug and x64 Visual Studio configuration -5. Open SDL2_mixer properties +5. Select Release or Debug and x64 Visual Studio configuration +6. Open SDL2_mixer properties 5.1 C/C++ -> General -> Additional Include Directories 5.1.1 Clear old values 5.1.2 Add C:\pkg\vs\<release|debug>\include\SDL2 5.1.3 Add C:\pkg\vs\<release|debug>\include 5.2 C/C++ -> Preprocessor -> Preprocessor Definitions 5.2.1 Remove all MUSIC_* and *_DYNAMIC values and keep MUSIC_OGG + 5.2.2 Add DLL_EXPORT 5.3 Linker -> General -> Additional Library Directories 5.3.1 Set to C:\pkg\vs\<release|debug>\lib 5.4 Linker -> Input -> Additional Dependencies - 5.4.1 (Debug) Set to SDL2d.lib libvorbisfile.lib - 5.4.2 (Release) Set to SDL2.lib libvorbisfile.lib + 5.4.1 (Debug) Set to SDL2d.lib vorbisfile.lib + 5.4.2 (Release) Set to SDL2.lib vorbisfile.lib 5.5 C/C++ -> All Options -> Additional Options 5.5.1 Remove /D OGG_DYNAMIC=... @@ -54,4 +55,4 @@ Release 1. Copy VisualC\x64\Release\SDL2_mixer.dll to C:\pkg\vs\release\bin -3. Copy VisualC\x64\Release\SDL2_mixer.lib to C:\pkg\vs\release\lib \ No newline at end of file +2. Copy VisualC\x64\Release\SDL2_mixer.lib to C:\pkg\vs\release\lib