Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Mathlink probs under Unix

  • To: mathgroup at
  • Subject: [mg26268] Re: Mathlink probs under Unix
  • From: nhbckach at
  • Date: Sun, 10 Dec 2000 00:19:41 -0500 (EST)
  • Organization: Universitaet Hannover
  • References: <90kreu$>
  • Sender: owner-wri-mathgroup at

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