Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12364

mEngine from Mathsource

From daniel.manka85@googlemail.com
Newsgroups comp.soft-sys.math.mathematica
Subject mEngine from Mathsource
Date 2012-11-17 08:48 +0000
Message-ID <k87j1m$s30$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hi,

I tried mEngine from Mathematica Math Source to transfer matrix and variable data between Matlab and Mathematica. It doesn't work in an 64bit environment (64bit matlab/mathematica). So I tried to compile the given source code in 64bit. I got the compiler working in a 32bit environment and also get a working 32bit .exe.

Then I did the same on the 64bit environment and don't get any compiler failures if I use a recent version of mprep to build the template.c from the template.tm
But the .exe doesn't work as expected. The mEngine.exe opens but there is a failure when I try to use the mPut[], mCmd[],..  commands. Those functions are also not displayed when using ?mEngine`*.

Another try was to use an older (32bit) version of mprep to create the template.c file. This file includes more source code but then I get a linker error:
1>template.obj : error LNK2019: unresolved external symbol engcmd referenced in function _tr4
1>template.obj : error LNK2019: unresolved external symbol engputr referenced in function _tr5
1>template.obj : error LNK2019: unresolved external symbol engputc referenced in function _tr6
1>template.obj : error LNK2019: unresolved external symbol engget referenced in function _tr7

If I comment those four lines the compilation works and I also get an .exe file which shows all expected functions when using ?mEngine`*. But I get a failure when I try to use them.


Somebody has an idea how I can solve this?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

mEngine from Mathsource daniel.manka85@googlemail.com - 2012-11-17 08:48 +0000
  Re: mEngine from Mathsource mmausr <opngid@gmail.com> - 2012-12-03 08:30 +0000

csiph-web