MathGroup Archive 2000

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

Search the Archive

Re: Mathlink probs under Unix


number9 <number9 at cox-internet.com> writes:

> $ mprep binary.tm -o binary..c
> $ gcc -o binary
> -l/usr/local/mathematica/AddOns/MathLink/DevelopersKits/Solaris/CompilerAdditions/
> binary.c -lnsl -lsocket
> binary.tm:468: unterminated character constant

Hello,

I think you have to tell the C-compiler where to look for the
`mathlink.h' header file.  Mathematica comes with a directory
containing sample files (in
../DevelopersKits/Solaris/MathLinkExamples) including a Makefile which
demonstrates how to compile your project.

Hope this helps,
Karsten


  • Prev by Date: Relative Font Size in Plots / Graphics`
  • Next by Date: want to modify NDSolve--molecular dynamics with mathematica
  • Previous by thread: Mathlink probs under Unix
  • Next by thread: Re: Mathlink probs under Unix