f



blt-20100206.tar.gz on ftp://www.tcl.tk/pub/tcl/nightly-cvs/

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/
0
shamild (122)
2/25/2010 9:41:44 PM
comp.lang.tcl 23429 articles. 2 followers. Post Follow

4 Replies
641 Views

Similar Articles

[PageSpeed] 7

Any issues compiling it? I tried on Linux and get this:

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

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?
0
Roger
2/26/2010 9:10:22 AM
On Feb 25, 4:41=A0pm, sd <sham...@hotmail.com> wrote:
> It appears this BLT file was placed there a couple of weeks ago on
> Feb. 7, 2010. =A0I downloaded it but couldn't get the example scripts to
> run. =A0It 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.
0
Larry
2/26/2010 12:48:04 PM
On 26 feb, 06:10, Roger O <roger.oberholt...@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
0
Emiliano
2/26/2010 5:10:25 PM
On Feb 26, 12:10=A0pm, Emiliano <emilianogavi...@gmail.com> wrote:
> On 26 feb, 06:10, Roger O <roger.oberholt...@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.
0
Larry
2/26/2010 8:33:37 PM
Reply: