I have already converted static lib to OMF format, but still have message like:
.dub\build\application-debug-windows-x86-dmd_2066-1C1E0ED068478598700706764846CD8E\ftdi.obj(ftdi)
Error 42: Symbol Undefined _FT_Open
In program I have import functions with method which I have already used. And it was worked for me with another libs.
pragma (lib, "ftd2xx_OMF.lib");
extern (C)
{
FT_STATUS FT_Open(FT_HANDLE, ulong*);
FT_STATUS FT_Close(FT_HANDLE);
//...
};
Library exists and really includes these functions. I've checked it through generating export/import lists by coffimplib.exe.
Any ideas?