[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Patch: Many composite/blend modes mostly compatible to Adobe
From: Sven Langkamp <sven.langkamp () gmail ! com>
Date: 2011-02-06 21:20:01
Message-ID: AANLkTi=DNiEOr6F1LY3rwfCcyLtWpUqCO6+6jkwD8Hw4 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sat, Jan 29, 2011 at 1:42 PM, Silvio Heinrich <plassy@web.de> wrote:
> Hum, This is strange... have you tried to clean and then recompile?
> I haven't done any change to the
> KoColorSpaceMathTraits<...>::unit/zeroValue variables.
> Those variables are in the file KoColorSpaceMath.cpp but only for:
> KoColorSpaceMathTraits<half>
> KoColorSpaceMathTraits<float>
> KoColorSpaceMathTraits<double>
> the variables for KoColorSpaceMathTraits<unsigned char/short> are constants
> so i wonder why the linker has any complains ??
>
>
Still the same problem, even after clean.
> On 01/28/2011 10:52 PM, Sven Langkamp wrote:
>
> I tried to build the branch but I get this error:
> Linking CXX shared library
> ../../lib/libpigmentcms.so
>
> CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function
> `unsigned short cfVividLight<unsigned short>(unsigned short, unsigned
> short)':
> KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short
> cfVividLight<unsigned short>(unsigned short, unsigned short)]+0x31):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
> KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short
> cfVividLight<unsigned short>(unsigned short, unsigned short)]+0x3d):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
> KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short
> cfVividLight<unsigned short>(unsigned short, unsigned short)]+0xb3):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
> KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short
> cfVividLight<unsigned short>(unsigned short, unsigned short)]+0xbf):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
> CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function
> `unsigned short cfDivide<unsigned short>(unsigned short, unsigned short)':
> KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
> cfDivide<unsigned short>(unsigned short, unsigned short)]+0x25): undefined
> reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
> KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
> cfDivide<unsigned short>(unsigned short, unsigned short)]+0x31): undefined
> reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
> CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function
> `unsigned short cfArcTangent<unsigned short>(unsigned short, unsigned
> short)':
> KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short
> cfArcTangent<unsigned short>(unsigned short, unsigned short)]+0x25):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::zeroValue'
> KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short
> cfArcTangent<unsigned short>(unsigned short, unsigned short)]+0x31):
> undefined reference to `KoColorSpaceMathsTraits<unsigned short>::unitValue'
> CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function
> `unsigned char cfVividLight<unsigned char>(unsigned char, unsigned char)':
> KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char
> cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x27): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
> KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char
> cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x33): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
> KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char
> cfVividLight<unsigned char>(unsigned char, unsigned char)]+0x97): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
> KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char
> cfVividLight<unsigned char>(unsigned char, unsigned char)]+0xa3): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
> CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function
> `unsigned char cfDivide<unsigned char>(unsigned char, unsigned char)':
> KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
> cfDivide<unsigned char>(unsigned char, unsigned char)]+0x21): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
> KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
> cfDivide<unsigned char>(unsigned char, unsigned char)]+0x2d): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
> CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function
> `unsigned char cfArcTangent<unsigned char>(unsigned char, unsigned char)':
> KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char
> cfArcTangent<unsigned char>(unsigned char, unsigned char)]+0x21): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::zeroValue'
> KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char
> cfArcTangent<unsigned char>(unsigned char, unsigned char)]+0x2d): undefined
> reference to `KoColorSpaceMathsTraits<unsigned char>::unitValue'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libpigmentcms.so.8.0.0] Fehler 1
> make[1]: *** [libs/pigment/CMakeFiles/pigmentcms.dir/all] Fehler 2
> make: *** [all] Fehler 2
>
>
> _______________________________________________
> kimageshop mailing list
> kimageshop@kde.orghttps://mail.kde.org/mailman/listinfo/kimageshop
>
>
>
> _______________________________________________
> kimageshop mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>
[Attachment #5 (text/html)]
<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>
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic