From b55ad6401a19a08c07bd2866f059212776fb4e13 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 28 Feb 2015 14:22:45 +0000 Subject: [PATCH] Building instructions for AC97SND on windows platform. git-svn-id: svn://kolibrios.org@5491 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/media/ac97snd/build.txt | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 programs/media/ac97snd/build.txt diff --git a/programs/media/ac97snd/build.txt b/programs/media/ac97snd/build.txt new file mode 100644 index 0000000000..c47f34d67c --- /dev/null +++ b/programs/media/ac97snd/build.txt @@ -0,0 +1,44 @@ +Building AC97SND on windows. + +1. Tools required: + +- Microsoft Visual Studio (version 2005 or later) + +- Flat assembler +Download and install fasm for windows from http://www.flatassembler.net +Add fasm directory to windows PATH variable. +(To check if this worked, open CMD and type fasm. Fasm's help messages should be visible now.) + +- pe2kos.exe +Can be found in some subdirectorys of SVN, official location unknown. +This file will need to be placed in the same directory as dependecies, to build the final kolibrios executable + +2. Collecting the dependencies: + +- sound.lib +Source code can be found at SVN\programs\develop\sdk\trunk\sound\src +Building this is beyond the scope of this document for now. +If you cant figure it out, or are lazy, you can download latest compiled version from autobuild server. +http://builds.kolibrios.org/eng/data/programs/develop/sdk/trunk/sound/src/sound.lib + +- ufmod.obj +Source code is at SVN\programs\develop\libraries\ufmod +Build using makeobj.bat +Or as above, download from: +http://builds.kolibrios.org/eng/data/programs/develop/libraries/ufmod/ufmod.obj + +- mpg.obj +Open ac97snd solution in visual studio, select mpg project and click build -> build mpg + + +3. Building AC97SND binary + +You will need to copy all previously mentioned dependecies into the folder that visual studio expects to find them. +This can be for example: SVN\programs\media\ac97snd\release\ +Alternatively, you can add another directory to 'Additional Library Directorys' in Projects Linker options. +Now select AC97SND project, and click build -> build AC97SND + + +good luck! + +