# Glib for Win32 - Carboogle
Keywords: How to compile glib under MinGW,Glib for Win32,How to compile gettext under MinGW,Setup and configure MinGW

# Glib for Win32

### From Carboogle

(Redirected from How to compile glib under MinGW)

[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

Retrieved from "http://mathieu.carbou.free.fr/wiki/index.php?title=Glib_for_Win32"

##### Views

- Article
- Discussion
- Edit
- History

##### Personal tools

- Create an account or log in

##### carboogle

- Contact
- CV
- BLOG
- PHOTOS
- PROJECTS
- MYCILA.COM
- News
- Donations

##### google code projects

- xmltool
- maven-license-plugin
- mycila
- maven repo

##### projects

- BroadChat
- Common
- JavaMailWatcher
- JavaVoice
- JideoGuard
- Mecanica
- W-Rent

- Other projects...

##### ports

- arping
- Berkeley DB
- gettext
- glib
- gnet
- libnet
- libnids
- Winpcap / Libpcap

- MinGW Setup

##### articles

- Books

- Ubuntu Dapper Drake

- Eclipse/Tomcat setup
- EntityBean with CMP

##### lessons

- Inf4482
- Inf5270
- Inm5151

##### admin

- SideBar
- Menu bar
- Lessons menu
- Projects menu
- Articles menu
- Allpages
- Uploaded files
- MediaWiki Help

##### Search

##### Toolbox

- What links here
- Related changes
- Upload file
- Special pages
- Printable version