Imported Upstream version 3.0
[debian/gnuradio] / gr-audio-windows / README
1
2 # Copyright 2001,2005 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21 gr-audio-windows will add an audio-sink to gnuradio for windows
22
23 Requirements for building:
24 make sure you have the following installed:
25 mingw
26 libtool (recent version ,built yourself, (if needed remove old libtool macros from /usr/share/aclocal))
27 msys
28 python2.4 (just install the prebuild binary for windows)
29 boost  (built yourself, maybe just unpacking the source somewhere will do, we only use header files)
30 cppunit (built yourself)
31 gnuradio-core (built with mingw)
32
33 Building:
34 sources from cvs:
35 edit bootstrap to your needs (see below for example)
36 ./bootstrap 
37 ./configure /configure --with-cppunit-prefix=/whereiscppunit --with-boost-include-dir=/c/whereisboost PYTHON=/c/Python24/python am_cv_python_pythondir=/c/Python24/Lib/site-packages am_cv_python_pyexecdir=/c/Python24/Lib/site-packages
38 make
39 make check
40 make install
41
42
43 If you have multiple versions of aclocal then edit bootstrap and change aclocal and automake to the latest version
44
45 You really need a recent libtool to get this built on mingw.
46 If you build it with default options it will be placed in /usr/local, but the default libtool will still be in /usr.
47 This will result in old m4 macros will be used by aclocal.
48 So if you have a more recent libtool installed in /usr/local add -I /usr/local/share/aclocal to the aclocal commandline in bootstrap.
49 (And add any other directories with the most recent m4 macros)
50 You could also uninstall (delete) the old libtool macros in /usr/share/aclocal
51
52 bootstrap example:
53
54 !/bin/sh
55 rm -fr config.cache autom4te*.cache
56 aclocal-1.8 -I /usr/local/share/aclocal -I config
57 autoconf
58 autoheader
59 libtoolize --automake
60 automake-1.8 --add-missing
61
62
63 configuration example:
64 ./configure --with-cppunit-prefix=/usr/local --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PYTHON=/d/Python24/python am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_pyexecdir=/d/Python24/Lib/site-packages
65
66 Martin Dvh, juli 2005