<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Arial">Thomas and Jack,</font></p>
    <p><font face="Arial">I have been having this error for a while and
        I can fix it by including the files on dialog/CMakeLists.txt. It
        seems that some of widgets dependencies are described there but
        not all. This patch seems to fix it.</font></p>
    <p><font face="Arial">Thanks,</font><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12/31/2017 12:00 PM, Jack wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:UFMD5VEY.EMYDOVIS.J53NCKQJ@IJBEQ2KC.VXE5MAXS.A6HMIZ5N">Thomas,
      <br>
      <br>
      On 2017.12.31 11:42, Thomas Baumgart wrote:
      <br>
      <blockquote type="cite">On Sonntag, 31. Dezember 2017 11:33:42 CET
        Jack Ostroff wrote:
        <br>
        <br>
        > With a fresh pull from git master, I get a compile failure
        <br>
        >
        <br>
        > [ 20%] Building CXX object
        <br>
        >
kmymoney/dialogs/CMakeFiles/dialogs.dir/kreportconfigurationfilterdlg.cpp.o<br>
        >
/path-to-source/kmymoney/dialogs/kreportconfigurationfilterdlg.cpp:61:33:<br>
        > fatal error: ui_reporttabgeneral.h: No such file or
        directory
        <br>
        >   #include <ui_reporttabgeneral.h>
        <br>
        >
        <br>
        > Looking at an old build folder I still have, that file
        appears in
        <br>
        > /path-to build/kmymoney/widgets/.  If I cd to that
        directory, type
        <br>
        > "make" there, and then resume make in the top build
        directory, it
        <br>
        > completes with no errors.
        <br>
        >
        <br>
        > I suspect that some recent change to the CMake files
        changed the order
        <br>
        > of things.
        <br>
      </blockquote>
      <br>
      Well, I also discovered two new build (actually cmake) issues. 
      First, it appears that building OFX is no longer the default.  I
      had to explicitly add -DENABLE_OFXIMPORTER=TRUE to my cmake line,
      because without it, it did NOT enable ofx.  (We also need to
      update README.ofx - I'll try to do that later today.)  Anyway, I
      also had some moc related warnings on "make install" but we'll see
      if they also go away if I fix this problem.  In addition,
      "Generate API documentation with Doxygen" is now "yes" and I don't
      think it used to be, and I know I do not address it directly in my
      cmake command.
      <br>
      <br>
      <blockquote type="cite">Strange.
        <a class="moz-txt-link-freetext" href="https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/">https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20SUSEQt5.9/</a>
        <br>
        shows no problems with a build from scratch. And the part you
        mention is not
        <br>
        optional.
        <br>
        <br>
        Try the following:
        <br>
        <br>
          cd <<your build directory>>
        <br>
          mv CMakeCache.txt CMakeCache.txt.old
        <br>
          cmake <<any options you need>>  <<your src
        directory>>
        <br>
          make
        <br>
      </blockquote>
      OK, I started with an empty build dir, did cmake (with the
      explicit enabling of ofx,) and got the same error.  I then renamed
      CMakeCache.txt and reran cmake.  Same error.
      <br>
      My cmake command is
      <br>
      <br>
      cmake -DCMAKE_BUILD_TYPE=Debug
      -DCMAKE_INSTALL_PREFIX=/home/jack/KDE/KMM/installframeworks
-DLibAlkimia5_DIR=/home/jack/KDE/KMM/installframeworks/lib64/cmake/LibAlkimia-6.0
      -DENABLE_OFXIMPORTER=TRUE ../kmymoney-git
      <br>
      <br>
      and my build directory is parallel to the source directory. 
      However, I also tried with the build directory under the source
      directory, and had the same result.
      <br>
      <blockquote type="cite">
        <br>
        in case cmake worked
        <br>
      </blockquote>
      cmake doesn't produce any errors, but make still fails.
      <br>
      <blockquote type="cite">
        <br>
          rm CMakeCache.txt.old
        <br>
        <br>
        Regards
        <br>
        Thomas Baumgart
        <br>
      </blockquote>
      just in case it matters, I have cmake 3.9.6, and Gnu make 4.2.1. 
      I'm currently using gcc 6.4.0.
      <br>
      <br>
      Jack<br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alexandre P. Ferreira
</pre>
  </body>
</html>