<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hum, This is strange... have you tried to clean and then recompile?<br>
I haven't done any change to the
KoColorSpaceMathTraits<...>::unit/zeroValue variables.<br>
Those variables are in the file KoColorSpaceMath.cpp but only for:<br>
KoColorSpaceMathTraits<half><br>
KoColorSpaceMathTraits<float><br>
KoColorSpaceMathTraits<double><br>
the variables for KoColorSpaceMathTraits<unsigned char/short>
are constants<br>
so i wonder why the linker has any complains ??<br>
<br>
On 01/28/2011 10:52 PM, Sven Langkamp wrote:<br>
<blockquote
cite="mid:AANLkTimV1y2uESivXC-PBHcX_9+zpSpC=w2wBYKe1Z8Z@mail.gmail.com"
type="cite">I tried to build the branch but I get this error:<br>
Linking CXX shared library
../../lib/libpigmentcms.so
<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
function `unsigned short cfVividLight<unsigned
short>(unsigned short, unsigned
short)': <br>
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
short cfVividLight<unsigned short>(unsigned short, unsigned
short)]+0x31): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::unitValue'<br>
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
short cfVividLight<unsigned short>(unsigned short, unsigned
short)]+0x3d): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::zeroValue'<br>
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
short cfVividLight<unsigned short>(unsigned short, unsigned
short)]+0xb3): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::zeroValue'<br>
KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
short cfVividLight<unsigned short>(unsigned short, unsigned
short)]+0xbf): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::unitValue'<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
function `unsigned short cfDivide<unsigned short>(unsigned
short, unsigned short)':<br>
KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
cfDivide<unsigned short>(unsigned short, unsigned
short)]+0x25): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::zeroValue'<br>
KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
cfDivide<unsigned short>(unsigned short, unsigned
short)]+0x31): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::unitValue'<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
function `unsigned short cfArcTangent<unsigned
short>(unsigned short, unsigned short)':<br>
KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned
short cfArcTangent<unsigned short>(unsigned short, unsigned
short)]+0x25): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::zeroValue'<br>
KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned
short cfArcTangent<unsigned short>(unsigned short, unsigned
short)]+0x31): undefined reference to
`KoColorSpaceMathsTraits<unsigned short>::unitValue'<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
function `unsigned char cfVividLight<unsigned char>(unsigned
char, unsigned char)':<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
char cfVividLight<unsigned char>(unsigned char, unsigned
char)]+0x27): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::unitValue'<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
char cfVividLight<unsigned char>(unsigned char, unsigned
char)]+0x33): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::zeroValue'<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
char cfVividLight<unsigned char>(unsigned char, unsigned
char)]+0x97): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::zeroValue'<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
char cfVividLight<unsigned char>(unsigned char, unsigned
char)]+0xa3): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::unitValue'<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
function `unsigned char cfDivide<unsigned char>(unsigned
char, unsigned char)':<br>
KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
cfDivide<unsigned char>(unsigned char, unsigned
char)]+0x21): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::zeroValue'<br>
KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
cfDivide<unsigned char>(unsigned char, unsigned
char)]+0x2d): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::unitValue'<br>
CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
function `unsigned char cfArcTangent<unsigned char>(unsigned
char, unsigned char)':<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned
char cfArcTangent<unsigned char>(unsigned char, unsigned
char)]+0x21): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::zeroValue'<br>
KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned
char cfArcTangent<unsigned char>(unsigned char, unsigned
char)]+0x2d): undefined reference to
`KoColorSpaceMathsTraits<unsigned char>::unitValue'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [lib/libpigmentcms.so.8.0.0] Fehler 1<br>
make[1]: *** [libs/pigment/CMakeFiles/pigmentcms.dir/all] Fehler 2<br>
make: *** [all] Fehler 2<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
kimageshop mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kimageshop@kde.org">kimageshop@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kimageshop">https://mail.kde.org/mailman/listinfo/kimageshop</a>
</pre>
</blockquote>
<br>
</body>
</html>