Glib for Win32
From Carboogle
(Redirected from How
to compile glib under MinGW)
Contents |
[edit]
Get the library
- Official website: http://www.gnu.org/software/gettext/
- Mirror: ftp://mirrors.kernel.org/gnu/gettext/
[edit]
Compiling under MinGW
[edit]
Requirements
- First install MinGW
- Compile required library libiconv and gettext
[edit]
Compile glib
Commands to use:
./configure make make install
When compiling glib 2.14.1, i had the following error:
configure: error: *** No iconv() implementation found in C library or libiconv
This is caused of the compilation of libiconv and gettext that install stuff in /local. To fix this you can type the following commands :
export CFLAGS="-I/local/include" export LDFLAGS="-L/local/lib" ./configure make make install