How to compile libjpeg using mingw

Downlaod latest MinGW from sourceforge: https://sourceforge.net/projects/mingw/files/ and install it to c:\MinGW

Download latest libjpeg sources from: http://www.ijg.org/files/ and untar it to c:\MinGW\msys\1.0\home\

Launch msys shell: c:\MinGW\msys\1.0\msys.bat
cd /home//libjpeg-
./configure
make
make install

now in .libs folder we will have files: libjpeg.a, libjpeg.dll.a and libjpeg-7.dll

Advertisements

One thought on “How to compile libjpeg using mingw

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s