lcms build error

Adrian Page adrian at pagenet.plus.com
Mon Jan 23 19:28:11 CET 2006


g++ -DHAVE_CONFIG_H -I../krita/kritacolor 
-I/home/kdedev/kde-svn/koffice/krita/kritacolor -I.. 
-I/home/kdedev/kde-svn/koffice/lib/kofficeui -I../lib/kofficeui 
-I/home/kdedev/kde-svn/koffice/lib/kofficecore -I../lib/kofficecore 
-I/home/kdedev/kde-svn/koffice/lib/store -I../lib/store 
-I/home/kdedev/kde-svn/koffice/lib/kwmf -I../lib/kwmf 
-I/home/kdedev/kde-svn/koffice/lib/kopalette -I../lib/kopalette 
-I/home/kdedev/kde-svn/koffice/krita/kritacolor 
-I/home/kdedev/kde-svn/koffice/krita/kritacolor/../sdk 
-I/home/kdedev/kde-svn/koffice/krita/kritacolor/colorspaces 
-I/usr/include/OpenEXR -I/home/kdedev/kde-svn/include 
-I/home/kdedev/kde-svn/qt-copy/include -I. -DQT_THREAD_SUPPORT 
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -g3 -fno-inline -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fPIC 
-DPIC -c /home/kdedev/kde-svn/koffice/krita/kritacolor/kis_profile.cc -o 
../krita/kritacolor/.libs/kis_profile.o 
-Wp,-MD,../krita/kritacolor/.deps/kis_profile.TUlo
/home/kdedev/kde-svn/koffice/krita/kritacolor/kis_profile.cc: In member 
function `bool KisProfile::init()':
/usr/include/lcms/lcms.h:1472: error: too few arguments to function 
`MATSHAPER* cmsBuildOutputMatrixShaper(void*, unsigned int*)'
/home/kdedev/kde-svn/koffice/krita/kritacolor/kis_profile.cc:110: error: 
at this point in file
Error creating ../krita/kritacolor/kis_profile.lo. Exit status 1.

Looking at my lcms.h (1.13), cmsBuildOutputMatrixShaper is from the 
internal section rather than the public api so is free to change between 
versions. Mine takes two arguments rather than one.

Adrian


More information about the kimageshop mailing list