Re: Mathlink and Intel C++ compiler
- To: mathgroup at smc.vnet.net
- Subject: [mg66586] Re: Mathlink and Intel C++ compiler
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 21 May 2006 00:29:26 -0400 (EDT)
- References: <e4mnhh$6rm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I assume you have added the ml32i2.lib to the Linker input ? and you have disabled the _UNICODE and UNICODE definitions ?? Your > Set Lib=C:\Program Files (x86)\Wolfram Research\Mathematica\5.2\AddOns\MathLink\DeveloperKit\Windows-x86-64\CompilerAdditions\mldev64\lib;%LIB% set the library directory but does not set a library. And you are sure, that you need the 64 Bit library and not the 32 Bit one ?? Regards Jens Dmitry Garanin wrote: > Hi all, > > I am trying to compile Mathematica's Mathlink samples with Intel C++ 9.0 compiler and it does not work. > > mprep.exe produces .tm.c files that contain a lot of functions (MLCreateMessageHandler et.c) that turn out to be unresolved externals on my system. Assuming that these functions belong to the Mathlink library, I have added the line > > Set Lib=C:\Program Files (x86)\Wolfram Research\Mathematica\5.2\AddOns\MathLink\DeveloperKit\Windows-x86-64\CompilerAdditions\mldev64\lib;%LIB% > > to my Compile.bat file. This does not help, I'm having 39 unresolved externals. > > Any suggestions would be appreciated. > > Thank you, > > Dmitry Garanin >