Re: Re: mathlink
- To: mathgroup at smc.vnet.net
- Subject: [mg25002] Re: [mg24971] Re: [mg24957] mathlink
- From: Christopher Lee French <clfrench at bellatlantic.net>
- Date: Fri, 1 Sep 2000 01:09:35 -0400 (EDT)
- References: <200008281227.IAA00006@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Murphy, There is a filename.c library of custom functions at my work that I would like to access using Mathematica. What is your method for calling c functions using J/Link? I have J/Link and I can get 50% of the examples to run on my PC. Is there any hope for me of this being easy? Chris French Murphy wrote: > At 00:02 25.08.00 -0400, you wrote: > >Hi all, > > I am trying to let the mathematica kernel evaluates for me something from > >a c program. I am using the "simple example " from Todd Gayley MathLink > >tutorial page 24 .After calling the excutabe file(call it add) through: > >add -linkname'math-mathlink'-linkmode launch ; > > did you type it like that? the problem might be in some missing blanks: > try: -linkname "math -mathlink" -linkmode launch > > I am using J/Link, so I'm not an expert on pure mathlink; > > >it seems to me that the progrm is compiled > > what do you think is being compiled ? > > >and it instructs me to > >enter two numbers.After I entered them it instructs me as: > >Create Link :Connect to link. > > what do you mean by "instructs me"? > does it tell you that it is creating the link or are you supposed to enter > something here? > > >What I should do now.Whatever I type in the computer goes in a very long > >sleep!!!! > > is this one of the prebuilt samples from the developer kit or your own program; > do the other samples from the developer kit work? > what Operating system are you working with? > > murphee