--===============0688580319== Content-Type: multipart/alternative; boundary=00163630f32398418e049ba3ad8c --00163630f32398418e049ba3ad8c Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jan 29, 2011 at 1:42 PM, Silvio Heinrich 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 > KoColorSpaceMathTraits > KoColorSpaceMathTraits > the variables for KoColorSpaceMathTraits 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)': > KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short > cfVividLight(unsigned short, unsigned short)]+0x31): > undefined reference to `KoColorSpaceMathsTraits::unitValue' > KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short > cfVividLight(unsigned short, unsigned short)]+0x3d): > undefined reference to `KoColorSpaceMathsTraits::zeroValue' > KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short > cfVividLight(unsigned short, unsigned short)]+0xb3): > undefined reference to `KoColorSpaceMathsTraits::zeroValue' > KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned short > cfVividLight(unsigned short, unsigned short)]+0xbf): > undefined reference to `KoColorSpaceMathsTraits::unitValue' > CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function > `unsigned short cfDivide(unsigned short, unsigned short)': > KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short > cfDivide(unsigned short, unsigned short)]+0x25): undefined > reference to `KoColorSpaceMathsTraits::zeroValue' > KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short > cfDivide(unsigned short, unsigned short)]+0x31): undefined > reference to `KoColorSpaceMathsTraits::unitValue' > CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function > `unsigned short cfArcTangent(unsigned short, unsigned > short)': > KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short > cfArcTangent(unsigned short, unsigned short)]+0x25): > undefined reference to `KoColorSpaceMathsTraits::zeroValue' > KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned short > cfArcTangent(unsigned short, unsigned short)]+0x31): > undefined reference to `KoColorSpaceMathsTraits::unitValue' > CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function > `unsigned char cfVividLight(unsigned char, unsigned char)': > KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char > cfVividLight(unsigned char, unsigned char)]+0x27): undefined > reference to `KoColorSpaceMathsTraits::unitValue' > KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char > cfVividLight(unsigned char, unsigned char)]+0x33): undefined > reference to `KoColorSpaceMathsTraits::zeroValue' > KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char > cfVividLight(unsigned char, unsigned char)]+0x97): undefined > reference to `KoColorSpaceMathsTraits::zeroValue' > KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned char > cfVividLight(unsigned char, unsigned char)]+0xa3): undefined > reference to `KoColorSpaceMathsTraits::unitValue' > CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function > `unsigned char cfDivide(unsigned char, unsigned char)': > KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char > cfDivide(unsigned char, unsigned char)]+0x21): undefined > reference to `KoColorSpaceMathsTraits::zeroValue' > KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char > cfDivide(unsigned char, unsigned char)]+0x2d): undefined > reference to `KoColorSpaceMathsTraits::unitValue' > CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In function > `unsigned char cfArcTangent(unsigned char, unsigned char)': > KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char > cfArcTangent(unsigned char, unsigned char)]+0x21): undefined > reference to `KoColorSpaceMathsTraits::zeroValue' > KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned char > cfArcTangent(unsigned char, unsigned char)]+0x2d): undefined > reference to `KoColorSpaceMathsTraits::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 > > --00163630f32398418e049ba3ad8c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, Jan 29, 2011 at 1:42 PM, Silvio Heinrich= <plassy@web.de&g= t; wrote:
=20 =20 =20
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.=A0
On 01/28/2011 10:52 PM, Sven Langkamp wrote:
I tri= ed to build the branch but I get this error:
Linking CXX shared library ../../lib/libpigmentcms.so=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In function `unsigned short cfVividLight<unsigned short>(unsigned short, unsigned short)':=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
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 mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


--00163630f32398418e049ba3ad8c-- --===============0688580319== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============0688580319==--