Skip to content

Commit 39db06c

Browse files
committed
Added README.md with build instructions for Windows.
1 parent ed00cb8 commit 39db06c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Building SoX dynamic library (libsox-3.dll) on Windows
2+
3+
libsox and its prerequisites libogg and libvorbis are built using autoconf in MinGW/MSYS.
4+
5+
## 0. Make sure you have installed MinGW/MSYS
6+
Download and install from http://www.mingw.org.
7+
8+
## 1. Build libogg
9+
1. Download libogg from https://xiph.org/downloads/. The lastest version as of this writing is 1.3.4.
10+
2. Open a `MinGW Shell` and to the libogg folder and run
11+
```
12+
./configure && make
13+
```
14+
15+
## 2. Build libvorbis
16+
1. Download libvorbis from https://xiph.org/downloads/. The lastest version as of this writing is 1.3.6.
17+
2. Open a `MinGW Shell` and go to the libvorbis folder and run (change the paths for ogg-libraries and ogg-includes to suit your locations)
18+
```
19+
./configure --with-ogg-libraries=Z:\vmware-share\libogg-1.3.4\src\.libs --with-ogg-includes=Z:\vmware-share\libogg-1.3.4\include\ogg --disable-oggtest && make
20+
```
21+
22+
## 3. Build libsox
23+
1. Open a `MinGW Shell` and standing in this folder run
24+
```
25+
./configure --without-magic --without-png --without-ladspa --without-opus --without-mad --without-libltdl --without-coreaudio --without-gsm --without-lpc10 --with-mpg123 --disable-static --enable-shared && make
26+
```
27+
2. The result can be found in `src/.libs/libsox-3.dll`.

0 commit comments

Comments
 (0)