From: sd on
It appears this BLT file was placed there a couple of weeks ago on
Feb. 7, 2010. I downloaded it but couldn't get the example scripts to
run. It seems some files are missing, such as pkgIndex.tcl and
BLT24.dll. Has anyone else tried looking at it?

Regards,
sd/
From: Roger O on
Any issues compiling it? I tried on Linux and get this:

bltPictDraw.c:62: error: expected specifier-qualifier-list before
‘XftFont’
bltPictDraw.c: In function ‘CreateSimpleTextLayout’:
bltPictDraw.c:597: error: ‘FtFont’ has no member named ‘height’
bltPictDraw.c:614: error: ‘FtFont’ has no member named ‘ascent’
bltPictDraw.c:635: error: ‘FtFont’ has no member named ‘ascent’

I recall this from an earlier test of these BLT snapshots. I had to
fiddle with the code. OK once. But otherwise, something is perhaps
needed that the configure step does not catch?
From: Larry W. Virden on
On Feb 25, 4:41 pm, sd <sham...(a)hotmail.com> wrote:
> It appears this BLT file was placed there a couple of weeks ago on
> Feb. 7, 2010.  I downloaded it but couldn't get the example scripts to
> run.  It seems some files are missing, such as pkgIndex.tcl and
> BLT24.dll. Has anyone else tried looking at it?
>

I can't get it to compile in my environment. I've tried with Tcl 8.5.4
and 8.6.0 cvs head. So I can't get as far as you've gotten.
From: Emiliano on
On 26 feb, 06:10, Roger O <roger.oberholt...(a)gmail.com> wrote:
> Any issues compiling it? I tried on Linux and get this:

Today I checked out Blt HEAD and it compiles successfully on Linux
against a checkout of tcl-8-5-branch (Tk with Xft enabled)
with this patch:

Index: src/bltWinop.c
===================================================================
RCS file: /cvsroot/blt/blt/src/bltWinop.c,v
retrieving revision 1.83
diff -u -r1.83 bltWinop.c
--- src/bltWinop.c 29 Jan 2010 00:53:00 -0000 1.83
+++ src/bltWinop.c 26 Feb 2010 16:57:38 -0000
@@ -36,6 +36,7 @@
#include "bltPicture.h"
#include "bltImage.h"
#include <X11/Xutil.h>
+#include <X11/extensions/Xrandr.h>
#include "tkDisplay.h"

#define CLAMP(c) ((((c) < 0.0) ? 0.0 : ((c) > 255.0) ? 255.0 : (c)))


Some of the demos don't run at all (they crash) and some others need
modifications
to run. Fortunately, all the graph demos (the ones I'm interested in)
run without
problems.

Regards

Emiliano
From: Larry W. Virden on
On Feb 26, 12:10 pm, Emiliano <emilianogavi...(a)gmail.com> wrote:
> On 26 feb, 06:10, Roger O <roger.oberholt...(a)gmail.com> wrote:
>
> > Any issues compiling it? I tried on Linux and get this:
>
> Today I checked out Blt HEAD and it compiles successfully on Linux
> against a checkout of tcl-8-5-branch (Tk with Xft enabled)
> with this patch:

I tried to build tcl/tk 8.5.8 against the blt head using gcc 3.3.1 and
it failed in bltPictDraw.c around the XftFont line. But then, that was
on Solaris 2.8. So there are plenty of factors that could go wrong
here.