Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5491 hidnplayr 1
Building AC97SND on windows.
2
 
3
1. Tools required:
4
 
5
- Microsoft Visual Studio (version 2005 or later)
6
 
7
- Flat assembler
8
Download and install fasm for windows from http://www.flatassembler.net
9
Add fasm directory to windows PATH variable.
10
(To check if this worked, open CMD and type fasm. Fasm's help messages should be visible now.)
11
 
12
- pe2kos.exe
13
Can be found in some subdirectorys of SVN, official location unknown.
14
This file will need to be placed in the same directory as dependecies, to build the final kolibrios executable
15
 
16
2. Collecting the dependencies:
17
 
18
- sound.lib
19
Source code can be found at SVN\programs\develop\sdk\trunk\sound\src
20
Building this is beyond the scope of this document for now.
21
If you cant figure it out, or are lazy, you can download latest compiled version from autobuild server.
22
http://builds.kolibrios.org/eng/data/programs/develop/sdk/trunk/sound/src/sound.lib
23
 
24
- ufmod.obj
25
Source code is at SVN\programs\develop\libraries\ufmod
26
Build using makeobj.bat
27
Or as above, download from:
28
http://builds.kolibrios.org/eng/data/programs/develop/libraries/ufmod/ufmod.obj
29
 
30
- mpg.obj
31
Open ac97snd solution in visual studio, select mpg project and click build -> build mpg
32
 
33
 
34
3. Building AC97SND binary
35
 
36
You will need to copy all previously mentioned dependecies into the folder that visual studio expects to find them.
37
This can be for example: SVN\programs\media\ac97snd\release\
38
Alternatively, you can add another directory to 'Additional Library Directorys' in Projects Linker options.
39
Now select AC97SND project, and click build -> build AC97SND
40
 
41
 
42
good luck!
43