From: Jim Peters (jim_at_uazu.net)
Date: 2002-03-01 12:19:33
Doug Sutherland wrote:
> 1) Dave, I tried running your bwview binary, but it fails on my system
> because it's looking for glibc version 2.2 and I'm using version
> 2.1.3.
And it fails on mine, because libSDL-1.2 can't find the
XF86VidModeQueryExtension (!?). My libSDL obviously needs stuff that
you didn't build into the executable.
Perhaps if we really want to release binaries, we need to release as
packages (.deb, .rpm, or whatever) with dependencies against the
official SDL and FFTW libraries for those distributions.
Building from source is so much easier.
(See Sorcerer Linux for a rather novel distribution based entirely on
source downloads: <http://sorcerer.wox.org/>. If I had broad-band, I
would definitely be giving this a try.)
> 4) On my system, the libraries for both SDL and FFTW install to
> /usr/local/lib by default. I like it this way, I prefer all
> non-distribution stuff to be in /usr/local so it's very clear
> what was the OS distribution and what I added. I put all add-on
> software in /usr/local, and every package I've tried that uses
> "make install" puts stuff in /usr/local (including bin, lib,
> src, man, etc). This seems to be pretty standard among unix
> admin types. I noticed that Jim's make file has the SDLLIB
> set to /usr/lib, I changed mine to /usr/local/lib.
This is probably because I'm using the Debian SDL package.
> 5) As I mentioned before, my initial attempt at compilation of
> bwview failed because it could not find libXv. This is listed
> in Jim's make (mk) file as -lXv. Investigation into this
> revealed that libXv is for XVideo hardware acceleration. I
> don't have hardware acceleration so I took out the -lXv from
> the mk file and it worked.
I have found a script 'sdl-config' that looks like it is intended to
give the correct libraries to link with in a given setup:
sdl-config --libs
man sdl-config
> Now on to Windows, God help me ... <g>
Just to let you know that I never tried building SDL from source on
Windows. I just installed the .DLL, and fiddled around with the
provided .a and header files etc until it worked (merging them into
the mingw/ directory tree in the end).
Jim
-- 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:39 BST