Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: MathLink


  • To: mathgroup@smc.vnet.net
  • Subject: [mg11928] Re: MathLink
  • From: kevinl@wolfram.com (Kevin Leuthold)
  • Date: Thu, 9 Apr 1998 00:33:28 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6g29iu$1fi@smc.vnet.net>


Vince,

Yes, the function MLMain should be generated if you run everything
properly. It is defined in the code generated by the mprep tool.  To
generate this code,  type the following at a command prompt:

mprep sumalist.tm -o sumalist.tm.c

(mprep is located in the CompilerAdditions directory.)

In general, on Unix, there are two provided ways to build a MathLink
sample program.  You can use the mcc script (in CompilerAdditions) -
this hides all the details of building the program and deletes the
mprep-generated code once it's compiled so you won't see this code.  Or
you can use the Makefile provided in MathLinkExamples.  By looking at
this Makefile you should be able to see the steps needed to build
sumalist, including the call to mprep.

Kevin Leuthold
MathLink Group
Wolfram Research



vince@vince.math.uconn.edu (Vince Giambalvo) writes:

>Here is a silly question from someone just starting to use Mathlink.
>Trying an example, to compile and set up the sample sumalist program, 
>nowhere can the system find MLMain. Is this supposed to be
>automagically created if I run the other stuff properly? I have a unix
>system. 
>Thanks for your help.
>        Vince




  • Prev by Date: Beginner ReadList
  • Next by Date: Q--PolynomialReduce
  • Prev by thread: MathLink
  • Next by thread: RE: MathLink