<div dir="ltr">CMake version 3.5.1 will work just fine<div><br></div><div>If you are running that cmake command from your intended DIVA build directory (Which should be empty, do not manually build fletch and kwiver to the same target build directory), </div><div>This will execute the 'Superbuild' control flow in the DIVA CMake files.</div><div>(<span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px">A CMake super-build is a project which downloads, configures and builds other projects.</span><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px"> )</span></div><div><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px"><br></span></div><div>This control flow from your command should return something like this :</div><div><br></div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>The C compiler identification is GNU 5.4.0</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>The CXX compiler identification is GNU 5.4.0</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Check for working C compiler: /usr/bin/cc</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Check for working C compiler: /usr/bin/cc -- works</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting C compiler ABI info</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting C compiler ABI info - done</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting C compile features</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting C compile features - done</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Check for working CXX compiler: /usr/bin/c++</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Check for working CXX compiler: /usr/bin/c++ -- works</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting CXX compiler ABI info</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting CXX compiler ABI info - done</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting CXX compile features</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Detecting CXX compile features - done</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Found Git: /usr/bin/git (found version "2.7.4") </i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>I am pulling and building fletch!</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>I am pulling and building kwiver!</i></p><i>
</i><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><i>Configuring done</i></p></div><div><div><br></div><div>This is telling you that it will create a Makefile that will download the fletch, kwiver, and kwant source code and build them each, and then build the DIVA code base</div><div><br></div><div>The Eigen Error mentioned is usually due to running CMake on KWIVER source (from with the KWIVER build directory) (Which should be empty and a different folder or a subfolder from the DIVA build directory) and not providing a fletch_DIR for the KWIVER CMake script to use during it's configuration process</div><div><br></div><div>Did you successfully build Fletch and KWIVER manually? </div><div><br></div><div>If so, you should run CMake for DIVA, from an empty build directory like so, to inform the DIVA super build of the location of your KWIVER build directory</div><div><br></div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46)">$ cmake ../../src -DCMAKE_BUILD_TYPE=Release -Dkwiver_DIR:PATH=<path/to/kwi<wbr>ver/build/dir></pre></div><div>CMake will return something like this:</div><div><br></div><div><i>Looking for your kwiver...<br></i></div><div><i>I found your kwiver!<br></i></div><div><i>It uses this fletch <path to the fletch build directory></i></div><div><p style="margin:0px;white-space:pre-wrap"><i>I am pulling and building kwant!</i></p><p style="margin:0px;white-space:pre-wrap"><i>Configuring done</i></p><p style="margin:0px;white-space:pre-wrap"><i><br></i></p><p style="margin:0px;white-space:pre-wrap"><i><br></i></p><p style="margin:0px;white-space:pre-wrap">I suggest using the cmake gui to help see what directories and CMake options are set to help get your build set up</p><p style="margin:0px;white-space:pre-wrap">(I recommend checking the 'Grouped' and 'Advanced' options in the GUI)<br></p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">you can get it with <br></p><p style="margin:0px;white-space:pre-wrap"><span class="gmail-comment-copy"><code>$sudo apt-get install cmake-qt-gui</code></span></p><p style="margin:0px;white-space:pre-wrap"><i></i></p><p style="margin:0px;white-space:pre-wrap"><i><br></i></p><p style="margin:0px;white-space:pre-wrap">Thanks,</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap"> Aaron</p></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 13, 2018 at 3:01 AM, Ankit Parag Shah <span dir="ltr"><<a href="mailto:aps1@andrew.cmu.edu" target="_blank">aps1@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all, <br></div><div><br></div><div>While building DIVA project using the following steps - <a href="https://github.com/Kitware/DIVA" target="_blank">https://github.com/Kitware/<wbr>DIVA</a>, with a fresh Kwiver and fletch installation steps, I am facing errors while performing the following installation step. <br></div><div><br></div><div>
</div><div style="margin-left:40px">$ cmake ../../src -DCMAKE_BUILD_TYPE=Release</div><div><br></div><div>Error is as follows: - <br></div><div><br></div><div>CMake Error at /usr/share/cmake-3.5/Modules/<wbr>FindPackageHandleStandardArgs.<wbr>cmake:148 (message):<br> Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)<br> (Required is at least version "2.91.0")<br>Call Stack (most recent call first):<br> /usr/share/cmake-3.5/Modules/<wbr>FindPackageHandleStandardArgs.<wbr>cmake:388 (_FPHSA_FAILURE_MESSAGE)<br> CMake/FindEigen3.cmake:81 (find_package_handle_standard_<wbr>args)<br> CMake/kwiver-depends-Eigen.<wbr>cmake:3 (find_package)<br> CMake/kwiver-depends.cmake:4 (include)<br> CMakeLists.txt:138 (include)<br></div><div><br></div><div>Upon researching on Google about the error caused and understanding use of EIGEN, there are various hacks suggested to overcome the problem. The problem seems to be within CMAKE which is not able to find EIGEN3_INCLUDE_DIR in path variable. <br></div><div><br></div><div>Currently, I am using cmake 3.5.1, may I ask whether it is recommended to perform hacks or it is better to install latest version of cmake available going forward. <br></div><div><br></div><div>Looking forward to your response. <br></div><div><br></div><div><div><div><div class="m_-2407067228660540106gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif">Kind Regards,<br></font><div><font face="tahoma, sans-serif">Ankit Shah</font></div><div><font face="tahoma, sans-serif">Masters Student in Language Technologies</font></div><div><font face="tahoma, sans-serif">Carnegie Mellon University.</font></div></div></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Kwiver-users mailing list<br>
<a href="mailto:Kwiver-users@public.kitware.com">Kwiver-users@public.kitware.<wbr>com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/kwiver-users</a><br>
<br></blockquote></div><br></div>