MathGroup Archive 2001

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

Search the Archive

Re: Calling Mathematica-4.0 from C Code.


compile so that the MathLink include files and librarys are found

cc -o mytest
-lML \ -lsocket -lnsl

and run


Is it so complicated ?


Chia-Wei Wang wrote:
> Hi,
>    I am trying to get familiar with MathLink, especially calling
> Mathematica from a C code. So I copy the example file from Todd Gayley's
> "A MathLink Tutorial" at Chapter 2. But the manual does not say how to
> compilie that code and excute it. I am using Sun Unix System. Could
> someone tell me what is the procedure to make that code work? Thank you
> very much.
> With Regards
> Chiawei
> ________________________________________________________________________

  • Prev by Date: Re: Combining 3D Graphics
  • Next by Date: Re: calling function in a DLL from Mathematica
  • Previous by thread: Calling Mathematica-4.0 from C Code.
  • Next by thread: Re: Calling Mathematica-4.0 from C Code.