<!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">
    On 02/06/2011 10:56 PM, Sven Langkamp wrote:<br>
    <blockquote
      cite="mid:AANLkTikaTiw1YDsTREi3kXbGf8YDMnq3Pcu+UViv0_Ak@mail.gmail.com"
      type="cite">
      <div bgcolor="#ffffff" text="#000000">What compiler version do you
        use?<br>
      </div>
      <div class="gmail_quote">
        <div><br>
          gcc 4.4.3<br>
          &nbsp;</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">And can you please try
            to add this include to the top of the
            libs/pigment/compositeops/KoCompositeOps.h header:<br>
            <br>
            <tt>#include "KoColorSpaceMaths.h"</tt><br>
            <br>
            and compile again.<br>
          </div>
        </blockquote>
        <div><br>
          Doesn't work. <br>
        </div>
      </div>
      <br>
    </blockquote>
    Argg.. I hate when something like this happens :-/.<br>
    I think we have to back-trace this then.<br>
    It would be nice if you could erase the entire content of
    libs/pigment/compositeops/KoCompositeOps.h and try<br>
    this two versions instead:<br>
    <br>
    <tt>#ifndef _KO_COMPOSITEOPS_H_<br>
      #define _KO_COMPOSITEOPS_H_<br>
      <br>
      #include "KoColorSpace.h"<br>
      #include "KoColorSpaceTraits.h"<br>
      #include "KoCompositeOp.h"<br>
      #include "compositeops/KoCompositeOpFunctions.h"<br>
      #include "compositeops/KoCompositeOpGeneric.h"<br>
      <br>
      template&lt;class Traits&gt;<br>
      void addStandardCompositeOps(KoColorSpace* cs)<br>
      {<br>
      &nbsp;&nbsp;&nbsp; cs-&gt;addCompositeOp(new KoCompositeOpGenericSC&lt;Traits,
      &amp;cfVividLight&gt;(cs, COMPOSITE_VIVID_LIGHT, i18n("Vivid
      Light"), KoCompositeOp::categoryLight(), true));<br>
      }<br>
      <br>
      <br>
      // _KO_COMPOSITEOPS_H_</tt><br>
    <br>
    <br>
    and:<br>
    <br>
    <tt>#ifndef _KO_COMPOSITEOPS_H_<br>
      #define _KO_COMPOSITEOPS_H_<br>
      <br>
      #include "KoColorSpace.h"<br>
      #include "KoColorSpaceTraits.h"<br>
      #include "KoCompositeOp.h"<br>
      #include "compositeops/KoCompositeOpFunctions.h"<br>
      #include "compositeops/KoCompositeOpGeneric.h"<br>
      <br>
      template&lt;class Traits&gt;<br>
      void addStandardCompositeOps(KoColorSpace* cs)<br>
      {<br>
      &nbsp;&nbsp;&nbsp; typedef typename Traits::channels_type Arg;<br>
      &nbsp;&nbsp;&nbsp; cs-&gt;addCompositeOp(new KoCompositeOpGenericSC&lt; Traits,
      &amp;cfVividLight&lt;Arg&gt; &gt;(cs, COMPOSITE_VIVID_LIGHT,
      i18n("Vivid Light"), KoCompositeOp::categoryLight(), true));<br>
      }<br>
      <br>
      <br>
      // _KO_COMPOSITEOPS_H_</tt><br>
    <br>
    If you get some compiling errors instead of linking errors I made
    some mistake :D but I hope it will compile.<br>
    So, please try the two versions an tell me what errors you get :D<br>
    I have gcc 4.4.5 but I can just hardly believe that 4.4.3 isn't able
    to compile this :/<br>
    <br>
  </body>
</html>