Re: [linux-audio-user] [ANN] Slat 0.3

From: Hans Fugal <hans@email-addr-hidden>
Date: Fri Sep 23 2005 - 18:00:57 EEST

On Fri, 23 Sep 2005 at 15:04 +0100, james@email-addr-hidden-dot-dat.net wrote:
> On Fri, 23 Sep, 2005 at 07:39AM -0600, Hans Fugal spake thus:
> > Hey that looks pretty spiffy. Unfortunately it won't compile with
> > clanlib 0.6.5 which is what's in Debian/Demudi stable/testing.
>
> Have you tried changing the Makefile?

Yeah:

--- Makefile 2005-09-16 13:34:38.000000000 -0600
+++ Makefile.new 2005-09-23 08:57:52.000000000 -0600
@@ -1,9 +1,9 @@
-PACKAGES = clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7 clanVorbis-0.7 clanSound-0.7 jack
+PACKAGES = jack
 #CPP = gcc -g -I/usr/include/ClanLib-0.7/ -Wall `pkg-config --cflags $(PACKAGES)`
 CPP = gcc -g -Wall
 #`pkg-config --cflags $(PACKAGES)`
-LIBS=`pkg-config --libs $(PACKAGES)`
-FLAGS=`pkg-config --cflags $(PACKAGES)`
+LIBS=`pkg-config --libs $(PACKAGES)` `clanlib-config --libs`
+FLAGS=`pkg-config --cflags $(PACKAGES)` `clanlib-config --cflags`
 version=`./packagename`
 
 slat: theremin.o jackPart.o cmdline.o

> I doubt that I'm doing anything cutting-edge enough to realy need
> clanlib 0.7, so you should be OK just changing the very first line.
> In fact, most of the first line is not doing anything. It's left over
> from the last place I copied and pasted from ;)

See the attached error output. I think it looks like it can't find some
function definitions, and my guess is the API changed (or maybe with
0.6.5 we need different include files)
 

-- 
 Hans Fugal                 | If more of us valued food and cheer and
 http://hans.fugal.net/     | song above hoarded gold, it would be a
 http://gdmxml.fugal.net/   | merrier world.  
                            |         -- J.R.R. Tolkien
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95  CB5E FC98 E8CD E0AA D460

Received on Fri Sep 23 20:15:07 2005

This archive was generated by hypermail 2.1.8 : Fri Sep 23 2005 - 20:15:08 EEST