<div class="gmail_quote">On Sat, Jan 29, 2011 at 1:42 PM, Silvio Heinrich <span dir="ltr"><<a href="mailto:plassy@web.de">plassy@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div 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 ??<div class="im"><br></div></div></blockquote><div><br>Still the same problem, even after clean.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 01/28/2011 10:52 PM, Sven Langkamp wrote:<br>
</div><blockquote type="cite"><div><div></div><div class="h5">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>
</div></div><pre><fieldset></fieldset>
_______________________________________________
kimageshop mailing list
<div class="im"><a href="mailto:kimageshop@kde.org" target="_blank">kimageshop@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/kimageshop" target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a>
</div></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
kimageshop mailing list<br>
<a href="mailto:kimageshop@kde.org">kimageshop@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kimageshop" target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br>
<br></blockquote></div><br>