On 10/25/05, Stefan v. Wachter <[EMAIL PROTECTED]> 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="-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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user