Joost Verburg
Mon, 08 Feb 2010 19:28:47 -0800
On 2/8/2010 7:40 PM, Uwe Stöhr wrote:
> Looks like I didn't receive it. Could you try to send it again? Thx. I uploaded it now: http://www.fkurth.de/uwest/LyX/libintl-0.17-windows-3.zip
I don't see a MSVC project for gettext itself in there, just a sample MSVC application that uses gettext.
> You have to tell the compiler which functions need to be exported in the DLL so they can be > called from external programs. There are also different calling conventions. See for example: > http://www.willus.com/mingw/yongweiwu_stdcall.html Thanks for this link. So when the MSCV DLL won't link we have to use static linking as Abdel pointed out. Can you have a look how this can be achieved? (I'm technically too limited with compiler/linker issues.)
Yes, maybe we could link statically. Although having a DLL would be better, right now all the external libraries are DLLs on Windows.
I'm afraid I won't have time to look into this now. If the LyX problem is caused by a known bug in gettext, maybe the easiest solution for now would be to apply the bugfix to our gettext version. Did someone test on Linux to figure out which gettext version fixes the problem?
Joost