How timely. I just ran into this exact same problem yesterday and was about to ask this list if anyone had a solution.
From prior notes on this list I read that icc34.h is suppiled by the ICC itself and is included in lcms mostly for convenience. On Tuesday 25 October 2005 08:02 am, Stefan v. Wachter wrote: > For integrating LCMS in my MinGW project under Windows I had to compile > lcms with gcc from MinGW. > My environment is MinGW (for gcc) combined with Cygwin (for make and > other tools). Details can be found in > http://www.mingw.org/mingwfaq.shtml#faq-usingwithcygwin > > After calling ./configure I had to manually change icc34.h and lcms.h > The changes are: > $ diff ./lcms-1.14/include/lcms.h ./lcms-1.14_orig/lcms-1.14/include/lcms.h > 206,213d205 > < #if 1 > < #undef LCMSEXPORT > < #undef LCMSAPI > < #undef cdecl > < #define cdecl > < #define LCMSEXPORT > < #define LCMSAPI > < #endif > > $ diff ./lcms-1.14/include/icc34.h > ./lcms-1.14_orig/lcms-1.14/include/icc34.h.i > n > 145a146,167 > > > #ifdef PACKAGE_NAME > > /* > > June 9, 2003, Adapted for use with configure by Bob Friesenhahn > > Added the stupid check for autoconf by Marti Maria > > */ > > typedef @INT32_T@ icSignature; > > > > typedef @UINT8_T@ icUInt8Number; > > typedef @UINT16_T@ icUInt16Number; > > typedef @UINT32_T@ icUInt32Number; > > typedef @UINT32_T@ icUInt64Number[2]; > > > > typedef @INT8_T@ icInt8Number; > > typedef @INT16_T@ icInt16Number; > > typedef @INT32_T@ icInt32Number; > > typedef @INT32_T@ icInt64Number[2]; > > > > typedef icInt32Number icS15Fixed16Number; > > typedef icUInt32Number icU16Fixed16Number; > > #else > > 150,151c172 > < // #if defined (__digital__) && defined (__unix__) > < #if 1 > --- > > > #if defined (__digital__) && defined (__unix__) > > 155,156c176 > < // #include <inttypes.h> > < #include <stdint.h> > --- > > > #include <inttypes.h> > > 165c185 > < typedef int8_t icInt8Number; > --- > > > typedef int8_t icInt8Number; > > 170c190 > < typedef icInt32Number icS15Fixed16Number; > --- > > > typedef icInt32Number icS15Fixed16Number; > > 225c245 > < typedef int8_t icInt8Number; > --- > > > typedef int8_t icInt8Number; > > 231c251 > < typedef icInt32Number icS15Fixed16Number; > --- > > > typedef icInt32Number icS15Fixed16Number; > > 259a280 > > > #endif > > Hopefully these hints will lead sometime to a more elegant solution > (changing the autoconf files)! > > Stefan > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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