MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Problems with mathlink (and TWJ_ExtendGraphics)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12927] Problems with mathlink (and TWJ_ExtendGraphics)
  • From: Joel Cannon <cannon at alpha.centenary.edu>
  • Date: Wed, 24 Jun 1998 03:44:46 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I am attempting to use use the mathlink binaries from Tom Wickham-Jones
book. Although everything seems to compile OK (one warning) it still
does not work. Hopefully someone can recognize what I have overlooked. 
Here is what I have done:

I loaded down the newer packages from mathsource and am attempting to
use the Mandelbrot.nb package to test the use of the packages. I am
running V.3.0.2 on a Digital Alpha running DecUnix 4.0D.

Following the instructions, I installed the packages as recommended in
/usr/local/mathematica/AddOns/Applications

# pwd
/usr/local/mathematica/AddOns/Applications/ExtendGraphics

I execute the mcc command link found in the header of mandelbrot.tm
(received a warning that appears insignificant concerning long integers
and the alpha's 64 bit words).

# mcc -o mandelbrot mandelbrot.tm
                typedef long double extended_ct;
------------------------^

It produces a file mandelbrot.

However, when inside the Mandelbrot notebook, I exectute the
Needs[ExtendGraphics`Mandelbrot` I get the  error message copied below:

In[1]:=
Needs[ "ExtendGraphics`Mandelbrot`"]

LinkConnect::"linkc": 
    "\!\(LinkObject[\(\"ExtendGraphics`mandelbrot`\", 2, 2\)]\) is dead;
\ attempt to connect failed."

MandelbrotImage::"fail": 
    "Installation of the MathLink binary mandelbrot failed.  The binary
must \ be found for the functions to work."

I noticed that in the xwindow from which mathematica was launched I get
the following messages:

sh: mandelbrot: not found
sh: ExtendGraphics: not found

It appears that there may be a problem with path since both the
directory ExtendGraphics and the file mandelbrot (in ExtendGraphics)
are present. When I load a packgage that does not use mathlink such as
"ExtendGraphics`LabelContour`" it loads fine indicating that there is
not a problem with $Path.

Any suggestions people can give are greatly appreciated?  Thanks.
 

------------------------------------------------------------------------------
Joel W. Cannon                 |   (318)869-5160          Dept. of
Physics               |   (318)869-5026  FAX    Centenary College of
Louisiana |       P. O. Box 41188		       |	     
Shreveport, LA 71134-1188      |      
                                     
                    



  • Prev by Date: Re: GraphicArray wastes memory
  • Next by Date: 3D Explorer for Linux-ELF
  • Previous by thread: Re: eps mathematica fonts/latex
  • Next by thread: Re: Problems with mathlink (and TWJ_ExtendGraphics)