On 2008-03-20 19:04-0700 tex c214 wrote:

> Hi,
>
> I am using Tcl and plplot to draw large amount of data. The data will be
> processed in C and I am trying to compile the example codes xtk04.c shows
> how to work with matrix in Tcl and shared it with C. The problem is that I
> can't compile xtk04.c. I am using Tcl 8.5 and plplot 5.6.10 on Debian 4. I
> am using the following command when compiling xtk04.c. "gcc
> -I/usr/include/tcl -I/usr/include/plplot xtk04.c -ltcl". Does anyone here
> succeed in get the code running?

Try compiling xtk04.c using the instructions provided in the appropriate
Makefile in the install tree
for PLplot.  If you are compiling your own version that would be in the
directory

$prefix/share/plplot$version/examples/tk/

where $prefix is your installation prefix and $version is the version of
PLplot your are building.  I second Arjen's suggestion that you use the
latest version of PLplot for your builds, if that is what you are doing.

If you are just using the Debian package for PLplot called plplot-tcl-dev,
the Makefile with instructions on how to compile xtk04.c should be in
/usr/share/doc/libplplot9/examples/tk/.


Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to