MathGroup Archive 2000

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

Search the Archive

Re: Mathlink probs under Unix

number9 <number9 at> writes:

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


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,

  • 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