Ian,<br />
<br />
Thanks for the response.<br />
<br />
>Makefile.mingw is meant for cross compiling on Linux, with the mingw32<br />
>package installed.<br />
I have/had the following installed<br />
mingw32 - Minimalist GNU win32 (cross) compiler<br />
mingw32-binutils - Minimalist GNU win32 (cross) binutils<br />
mingw32-runtime - Minimalist GNU win32 (cross) runtime<br />
<br />
>This sounds like you haven't installed a cross-compiled version of<br />
>libgcrypt. The include files and libraries should live under<br />
>/usr/i586-mingw32msvc/.<br />
Can you tell me how to install a cross compiled version of this ? <br />
<br />
I will try to figure the X11 stuff from pidgin. <br />
<br />
Thanks,<br />
Sec<br />
<br />
Kill snoopers dead<br />
<br />
On Fri, 10 Jul 2009 19:58:16 +0530 wrote<br />
>On Fri, Jul 10, 2009 at 02:11:40AM -0000, Sec wrote:<br />
>> Hi,<br />
>> <br />
>> Has anyone successfully compiled this for windows ? <br />
>> <br />
>> I have tried cross compiling using linux and also tried to compile using windows and cygwin. <br />
>> <br />
>> With windows cygwin I get the following error when I try to "make -f Makefile.mingw"<br />
>> make: i586-mingw32msvc-gcc: Command not found<br />
><br />
>Makefile.mingw is meant for cross compiling on Linux, with the mingw32<br />
>package installed.<br />
><br />
>> On linux, I followed the instructions at <br />
>> http://ubuntuforums.org/showthread.php?t=558197<br />
>> and get error with trying to find some header files. I am using debian lenny.<br />
>> <br />
>> otr-plugin.c:32:20: error: gcrypt.h: No such file or directory<br />
><br />
>This sounds like you haven't installed a cross-compiled version of<br />
>libgcrypt. The include files and libraries should live under<br />
>/usr/i586-mingw32msvc/.<br />
><br />
>> In file included from /usr/include/gtk-2.0/gdk/gdkx.h:36,<br />
>> from /usr/include/pidgin/pidgin.h:33,<br />
>> from otr-plugin.c:35:<br />
>> /usr/include/X11/Xlib.h:60:19: error: X11/X.h: No such file or directory<br />
>> /usr/include/X11/Xlib.h:63:28: error: X11/Xfuncproto.h: No such file or directory<br />
>> /usr/include/X11/Xlib.h:64:25: error: X11/Xosdefs.h: No such file or directory<br />
><br />
>This seems wrong; the Windows cross-compile should not be using X, I'm<br />
>pretty sure (but that's in the pidgin stuff, which I don't know as well<br />
>as the OTR stuff).<br />
><br />
> - Ian<br />
><br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>