MatD - Matlab external interface bindings for D

eles eles at eles.com
Sun Aug 22 02:34:26 PDT 2010


== Quote from Rainer Schuetze (r.sagitario at gmx.de)'s article
> Hi,
> I have not tried it with the MatLab libraries, but optlink can only
> handle libraries in the omf-format. Libraries in other formats are
> either ignored (in the best case) or cause optlink to exit without
> error, but also without a generated executable.
> Trass3r probably used coffimplib
> (ftp://ftp.digitalmars.com/coffimplib.zip) to convert the microsoft
> compatible import libraries to omf format to help optlink.
> Rainer

I just checked and you are right. I used coffimplib.exe to convert
the Matlab .lib files in the "microsoft" subfolder (presumably in
coff format) to new .lib files in omf format. It works as expected,
the compiler links them in and the .DLL file is correctly generated.

Thank you.


More information about the Digitalmars-d-announce mailing list