Has anybody ever installed libjpeg for windows. I have a MingW compiler, MSYS if needed and the instructions are leading me nowhere. It seems to require an understanding of one thousand obsolete systems to get anywhere.

Must I have MSYS installed? Can I install using the windows CMD Prompt? Is there any trick to this to make it easier? This is incredibly painful so I'm sure I'm missing some vital points on how to go about this.

Everthing I goodle seems to be in relation to UNIX, LINUX, MAC etc.

Any help at all on this will be greatly appreciated.


The Nuwen build of MinGW includes a number of pre-built libraries; libjpeg-8d is one of them. http://nuwen.net/mingw.html

Nuwen MinGW is distributed as a single self-extracting archive and can be installed from the command line.

thanks vijayan but I need some specific libraries for a PDF Library. I'm completely uncertain how I'm going to integrate them all as any knowledge in this area is completely word of mouth (nothing published). It took me long enought to install wxWidgets in code::Blocks with a MingW compiler.

There must be a book, manual, explanation on the theory behind installing open source softare somewhere in the world. Honestly..?

Someone must know>>?

MSYS is a collection of GNU utilities such as bash, make, gawk and grep to allow building of applications and programs which depend on traditionally UNIX tools to be present. http://www.mingw.org/wiki/MSYS

Once we have MSYS, building open source libraries for MinGW is not very different from building open source libraries on Unix.

Here is a brief tutorial to get you started:

You might also want to have a glance at:
gnu make: http://www.gnu.org/software/make/manual/make.html
gnu automake: http://www.gnu.org/software/automake/manual/html_node/index.html
gnu configure: http://airs.com/ian/configure/
gnu autoconf: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/index.html

Overview of linking with external libraries:

GCC link option -l http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
GCC directory options -L -I http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.