Re: MathLink with PowerPlant
- To: mathgroup at smc.vnet.net
- Subject: [mg13389] Re: MathLink with PowerPlant
- From: kevinl (Kevin Leuthold)
- Date: Thu, 23 Jul 1998 03:32:34 -0400
- Organization: Wolfram Research, Inc.
- References: <6ousv7$jjc@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello, These errors are due to a bug in mathlink.h which surfaces with any project built with C++ flags turned on. There is an updated mathlink.h available on our web site, at http://www.wolfram.com/support/MathLink/Updates/mathlink.h.html Kevin Leuthold MathLink Group Wolfram Research sato <sato at het02.ph.tsukuba.ac.jp> writes: >Hello, world. >I wrote a MathLink application using PowerPlant on Macintosh. >PowerPlant is a C++ framework by Metrowerks CodeWarrior. But the >compiler reports link errors about four MathLink functions, >MLClearError, MLError, MLSetYieldFunction, and MLSetMessageHandler. >When I tried a minimal example, which opens just a link by MLOpenArgv >etc, >without above functions, there was no problem. However, calling >MLSetMessageHandler etc cannot make an application. It seems that >'mathlink.h' or 'MathLinkStubs' doesn't fit into PowerPlant. >This link-error is only problem about my project. Do you have any >solution? >PowerPlant is in common use for most of today's Macintosh developer even >if >Mathematica isn't written with it. >Please let us come into MathLink world with PowerPlant by solving just a >link error. >Thank you. >7/19/98 >Junzo Sato >email: sato at het02.ph.tsukuba.ac.jp