Hi All,
I have built Plplot-5.2.0 on RH7.1. I want to use tcl/tk driver. I have built
plplot twice. My observations are as following
1 Without defining CFLAG=-DUSE_TCL_STUBS _DUSE_TK_STUB
In this case I am able to build the library without any compilation error. But
plplot crashes when I do following on the wish prompt
%package require Plplotter
5.2.0
%plframe .p1
%plframe .p2
When I try to create the second plframe, I am getting errors from CreatePixmap
function from "\driver\tkwin.c" file. The errors thrown by some XCreatePixmap
function stating bad window parameter, bad window option.
2. With CFLAG=-DUSE_TCL_STUBS _DUSE_TK_STUB
2a In this case I get compilation error in file "\bindings\tcl\tclmain.c" file
for line 50, 51. I could build the package once I comment these lines. But the
my wish prompt does not return when I do the following
% package require Plplotter
5.2.0
% plframe .p1
% .p1 cmd plinit
After this command, I get list of all the available drivers like xwin tcl/tl
jpeg etc When I select tcl/tk as my driver wish prompt does not return.
Incidentally, I am trying to build Plplot-5.2.0 on Solaris also. In this case
also, I am facing the same problem.
I want to create multiple Plplot windows and use these to plot some real time
data plotting. I am able to do this on Windows. But I am struggling to make
Plplot working on Solaris and Linux.
Can you somebody help me to sort out these problems on Linux and Solaris?
Thanks in advance for any help.
-Pankaj.
|