Re: Help with Matlink, MaMa package
- To: mathgroup at smc.vnet.net
- Subject: [mg53279] Re: Help with Matlink, MaMa package
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Tue, 4 Jan 2005 03:13:03 -0500 (EST)
- Organization: Uni Leipzig
- References: <email@example.com> <200411251050.FAA21516@smc.vnet.net> <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
are you sure, that the linker find the MathLink library
ml32i2m.lib ? And where you are running mprep ?
"Namrata Khemka" <namrata.khemka at gmail.com> schrieb im Newsbeitrag
news:cr5k0t$170$1 at smc.vnet.net...
> Hi everyone,
> I have successfully managed to run the built in mathlink examples like
> the addtwo.
> I was trying to compile the MaMa package but I have been getting
> various errors. I downloaded the files from:
> The linking of the files (from the .bat which I have attached below)
> gives me errors:
> MaMatm.obj:error LNK2005: _IconProcedure@16 already defined in MaMa.obj
> I have similar errors with different variable names, _MLAbort,
> _MLDone... and so on..
> The other linking error that I am getting is:
> MaMa.obj: error LNK2019: unresolved external symbol _MatlabOpen
> referenced in function _tr0
> I have Mathematica 5.0 and was wondering if anyone would have any
> suggestions as to why I am getting these errors.
> Thanks a lot,
> The .bat which I have looks like:
> C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO .NET 2003\Common7\Tools\VSVARS32
> set PATH=C:\Program Files\Wolfram
> set INCLUDE=C:\Program Files\Wolfram
> FILES\MICROSOFT VISUAL STUDIO .NET
> set LIB=C:\Program Files\Wolfram
> FILES\MICROSOFT VISUAL STUDIO .NET 2003\Vc7\PlatformSDK\Lib;%lib%
> SET CL=/nologo /c /DWIN32 /D_WINDOWS /W3 /ML /O2 /DNDEBUG
> SET LINK=/NOLOGO /SUBSYSTEM:windows /INCREMENTAL:no kernel32.lib
> user32.lib gdi32.lib
> MPREP MaMa.tm -o MaMatm.c
> CL MaMa.c MaMatm.c
> LINK MaMa.obj MaMatm.obj ml32i2m.lib /OUT:MaMa.exe
Prev by Date:
Re: Strange bug
Next by Date:
shuffling 10^8 numbers
Previous by thread:
Help with Matlink, MaMa package
Next by thread:
software "file.txt" to "file.dat"