Re: [buildcheapeeg] Question for Jim-P

From: Jim Peters (jim_at_uazu.net)
Date: 2002-02-26 21:52:55


Doug Sutherland wrote:
> I want to try compiling and running your code on my embedded
> systems. I am running slackware 7.1, kernel 2.2.16, XFree86
> 3.3.6. Could you please tell me where to find your source and
> whatever additional libs I need? I assume I can compile with GNU
> gcc, is that right? I'm about to start writing a driver for a
> non-standard (PDA) keyboard in C on linux, it's been a while since
> I've C'd anything <g>.

First to answer your question in the other posting -- I already have
BWView built and working (and released, and tested by Joerg) on
Windows using MinGW (a GCC derivative) and libSDL. See MinGW here:

http://www.mingw.org/

I used MSYS as a shell environment for building, also from the same
site. The build process was a bit of a hack, but I'll tidy this up
before the next release.

For building on Linux you'll need this archive:

http://uazu.net/temp/bwview-0.1.0.tgz

In it you'll find a file "BUILD.Linux":

> To build this tool you will need both the FFTW and SDL libraries.
> Please download an install them from the following locations:
>
> http://www.fftw.org/
> http://www.libsdl.org/
>
> When you build FFTW, please configure it using the following
> command-line:
>
> ./configure --enable-float --enable-i386-hacks
>
> This is required because I use the 32-bit floating point version of
> the library, rather than the default 64-bit one.
>
> With all that in place, building the tool should be as simple as
> typing ./mk in the bwview/ directory. If that doesn't work, you know
> where I am!

As you can see, you'll need to pick up and build the FFTW and SDL 1.2
libraries separately. I plan to include the bits of FFTW I need
within the source bundle next time, to save you having to
(temporarily) install a 32-bit version of the library. (The library
is only for linking -- it isn't a shared library).

I hope this will be enough to allow you to build it. GCC is fine, as
that is what I'm using.

Any problems, let me know --

Jim

P.S. I have found a couple of minor bugs, not yet fixed. I'll tidy
this all up and get it up on my site properly pretty soon.

P.P.S. To the FreeBSD guy who's just joined the list -- I'm sure
you'll be able to build BWView on FreeBSD also, if libSDL supports
FreeBSD -- there's nothing too strange about the code.

-- 
Jim Peters (_)/=\~/_(_) jim_at_uazu.net
(_) /=\ ~/_ (_)
Uazú (_) /=\ ~/_ (_) http://
B'ham, UK (_) ____ /=\ ____ ~/_ ____ (_) uazu.net


This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:38 BST