Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BLT Obsolete?

6 views
Skip to first unread message

John Chaffer

unread,
Jan 2, 1997, 3:00:00 AM1/2/97
to

I have been unable to get the BLT 2.1 'graph' function to work with
the C-language API with Tcl/Tk 7.5/4.1, provided with Slackware 3.1.
Everything works as advertised, following the sequence in the graph
man page for C-Language API, EXCEPT when the call to 'Blt_ResetVector'
is made, the vector is not updated to the actual values in
x.arrValue, y.arrValue, or whatever. Instead, the graph produced
suddenly shows garbage values (e291, typical value). Note: I HAVE
loaded the dynamic lib, libBLT.so.1.2 (or 2.1, whichever, can't recall
and am writing this from brand-x op system). I have linked with
lBLT, have included blt.h, have defined graph in Tcl script, etc
etc.
Graph WORKS with orig data set if provided as hard-coded values
in Tcl script. It is just when the update call is made from
C ('Blt_ResetVector') that the graph becomes garbage, both
axes.
Tried emailing the two folks cited in BLT2.1 README - no response,
and one is no longer even at the address.
Is BLT gone the way of all 'freeware' ? - Just a temporary hot item
till a real paying job comes along?
jrc...@jrchaff.seanet.com

John Chaffer

unread,
Jan 2, 1997, 3:00:00 AM1/2/97
to

John Chaffer wrote:
>
> I have been unable to get the BLT 2.1 'graph' function to work ... when the call to 'Blt_ResetVector'
> is made, the vector is not updated ..

Note: The names used in my code are correct, eg "x.valueArr[]",
and "y.valueArr[]", exactly as shown in man pages for graph and
vector.

I cannot get the C-Lang API function, "Blt_ResetVector" to give
me anything but garbage; a printf / debug just prior shows that
the "x.valueArr[i]" and "y.valueArr[i]" values are exactly
correct and as desired.

What am I doing wrong?

Is BLT dead?

0 new messages