Re: [Lcms-user] Hack for building with MinGW / Cygwin
An ICC-based CMM for color management
Brought to you by:
mm2
From: John C. <jc...@gm...> - 2005-10-25 17:13:40
|
On 10/25/05, Stefan v. Wachter <svw...@mn...> wrote: > For integrating LCMS in my MinGW project under Windows I had to compile > lcms with gcc from MinGW. I was able to build lcms under mingw 4.1.1 / msys 1.0.10 with: CFLAGS=3D"-mms-bitfields -Wall -O2" ./configure make make install With a one-line change to lcms.h. I changed typedef unsigned int DWORD, *LPDWORD; to typedef unsigned long DWORD, *LPDWORD; to avoid conflicts with mingw's windows.h. I'm sure there's a neater solution (why is lcms.h defining DWORD under mingw?) but it seems to work. John |