propose: patch for 1.4.3 to make LM compile under windows with CodeBlocks(+Mingw) or >=VS7.1

8 views
Skip to first unread message

alexant

unread,
Jan 14, 2009, 6:38:51 PM1/14/09
to Loudmouth Dev
The patch you can get here:
http://alexantimonov.land.ru/0001-Some-modifications-to-make-loudmouth-compile-under-w.patch
md5sum: 45d291415e071abdee3d4173c62f7496

Steps how to build loudmouth with CodeBlocks(+Mingw) and/or VS >=7.1
(supposed, any of these IDEs is already installed).

Checkout 1.4.3 branch, e.g.:
git clone git://github.com/hallski/loudmouth.git
git branch loudmouth-1-4-3 origin/loudmouth-1-4
git checkout loudmouth-1-4-3

apply patch:
git apply 0001-Some-modifications-to-make-loudmouth-compile-under-
w.patch

1) Install dependences (binaries and development packages) required by
loudmouth: glib-2.0, OpenSSL.
You can get them by the following links (or check for the new
versions and get the new ones):

http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip
http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip
just unpack to some directory.

http://www.slproweb.com/download/Win32OpenSSL-0_9_8j.exe

Note: I have disabled libintl (and libiconv) in the loudmouth, I
think localized network error messages
on windows can wait for some time.

Note: if you build with CodeBlocks, in the installed OpenSSL
directory (e.g. C:\OpenSSL\lib\MinGW)
copy ssleay32.a library file to libssleay32.a

2) In the root directory of the project copy win32-config-openssl.h
file to config.h
If you wish, in config.h define package related macros like
PACKAGE_NAME.

3) Load CodeBlocks/VS7.1 project file. (e.g. ...\build\win32\codeblocks
\loudmouth.cbp)
In the project's properties, change the paths (includes and
libraries) of the dependences
to where they were installed.

If all was set up properly, now you should be able to build loudmouth
1.4.3 under windows.
Reply all
Reply to author
Forward
0 new messages