<!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&lt;...&gt;::unit/zeroValue variables.<br>
    Those variables are in the file KoColorSpaceMath.cpp but only for:<br>
    KoColorSpaceMathTraits&lt;half&gt;<br>
    KoColorSpaceMathTraits&lt;float&gt;<br>
    KoColorSpaceMathTraits&lt;double&gt;<br>
    the variables for KoColorSpaceMathTraits&lt;unsigned char/short&gt;
    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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
      function `unsigned short cfVividLight&lt;unsigned
      short&gt;(unsigned short, unsigned
      short)':&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
      KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
      short cfVividLight&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x31): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::unitValue'<br>
      KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
      short cfVividLight&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x3d): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::zeroValue'<br>
      KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
      short cfVividLight&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0xb3): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::zeroValue'<br>
      KoLabColorSpace.cpp:(.text._Z12cfVividLightItET_S0_S0_[unsigned
      short cfVividLight&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0xbf): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::unitValue'<br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
      function `unsigned short cfDivide&lt;unsigned short&gt;(unsigned
      short, unsigned short)':<br>
      KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
      cfDivide&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x25): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::zeroValue'<br>
      KoLabColorSpace.cpp:(.text._Z8cfDivideItET_S0_S0_[unsigned short
      cfDivide&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x31): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::unitValue'<br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoLabColorSpace.o: In
      function `unsigned short cfArcTangent&lt;unsigned
      short&gt;(unsigned short, unsigned short)':<br>
      KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned
      short cfArcTangent&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x25): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::zeroValue'<br>
      KoLabColorSpace.cpp:(.text._Z12cfArcTangentItET_S0_S0_[unsigned
      short cfArcTangent&lt;unsigned short&gt;(unsigned short, unsigned
      short)]+0x31): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned short&gt;::unitValue'<br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
      function `unsigned char cfVividLight&lt;unsigned char&gt;(unsigned
      char, unsigned char)':<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
      char cfVividLight&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x27): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::unitValue'<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
      char cfVividLight&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x33): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::zeroValue'<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
      char cfVividLight&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x97): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::zeroValue'<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfVividLightIhET_S0_S0_[unsigned
      char cfVividLight&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0xa3): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::unitValue'<br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
      function `unsigned char cfDivide&lt;unsigned char&gt;(unsigned
      char, unsigned char)':<br>
      KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
      cfDivide&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x21): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::zeroValue'<br>
      KoRgbU8ColorSpace.cpp:(.text._Z8cfDivideIhET_S0_S0_[unsigned char
      cfDivide&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x2d): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::unitValue'<br>
      CMakeFiles/pigmentcms.dir/colorspaces/KoRgbU8ColorSpace.o: In
      function `unsigned char cfArcTangent&lt;unsigned char&gt;(unsigned
      char, unsigned char)':<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned
      char cfArcTangent&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x21): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::zeroValue'<br>
      KoRgbU8ColorSpace.cpp:(.text._Z12cfArcTangentIhET_S0_S0_[unsigned
      char cfArcTangent&lt;unsigned char&gt;(unsigned char, unsigned
      char)]+0x2d): undefined reference to
      `KoColorSpaceMathsTraits&lt;unsigned char&gt;::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>