<div dir="ltr"><div><div>Hi all, <br></div><div><br></div>Please provide further inputs with above error. <br>I have tried a few things and making changes as per open pull requests to the compilation code which doesn't seem to work.<br></div>Eagerly waiting for your response. <br><div class="gmail_extra"><br clear="all"><div><div class="m_-6070368905396482046gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif">Kind Regards,</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>
<br><div class="gmail_quote">On Mon, Jan 15, 2018 at 5:28 PM, 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><div><div>Hi Aaron, <br><br></div>Thank you for your response. <br><br></div>There is a pull request open to fix linking issues on KWANT on windows - <a href="https://github.com/Kitware/kwant/pull/9/commits/a3766b22772c6f39717b23b34c7e7d194cd77f1e" target="_blank">https://github.com/Kitware/kwa<wbr>nt/pull/9/commits/a3766b22772c<wbr>6f39717b23b34c7e7d194cd77f1e - Fix linking issues in windows</a><br></div>I am able to see that the current version of kwant being compiled on is same as error prone linking version of above pull request. Further, it is stuck in kwant-patch step within build.make 108 line which might get fixed with the pull request. <br><br><div class="gmail_extra"><span><br clear="all"><div><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif">Kind Regards,</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>
<br></span><div><div class="m_-6070368905396482046h5"><div class="gmail_quote">On Mon, Jan 15, 2018 at 5:13 PM, Aaron Bray <span dir="ltr"><<a href="mailto:aaron.bray@kitware.com" target="_blank">aaron.bray@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Thanks for the input Ankit!<div dir="auto"><br></div><div dir="auto">I will check it all out and get back to you! </div></div><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694HOEnZb"><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694h5"><div class="gmail_extra"><br><div class="gmail_quote">On Jan 15, 2018 1:52 PM, "Ankit Parag Shah" <<a href="mailto:aps1@andrew.cmu.edu" target="_blank">aps1@andrew.cmu.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi all, <br><br></div>@Aaron - many thanks for providing the detailed list of steps.<br><br></div>I am trying to follow these exact same steps from a new clean directory - With a prebuilt KWIVER path<br><br><div style="margin-left:40px">clean/DIVA/build/release# <font size="2"><span style="font-family:monospace,monospace">cmake ../../src -DCMAKE_BUILD_TYPE=Release -Dkwiver_DIR:PATH=../../../../<wbr>kwiver/build/release/</span></font><br>-- Looking for your kwiver...<br>-- I found your kwiver!<br>-- It uses this fletch /home/ankit/KWIVER-Software-Sc<wbr>ripts/fletch/build/rel<br>-- You provided a fletch_DIR and a kwiver_DIR, I am going to ignore this fletch_DIR and use the fletch_DIR used to build kwiver<br>-- I am pulling and building kwant!<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/ankit/KWIVER-Software-Sc<wbr>ripts/clean/DIVA/build/release<br></div><br></div>The above command is successfully completed. <br><br></div>However, compilation fails as follows - <br><br>-- Configuring incomplete, errors occurred!<br>See also "/home/ankit/KWIVER-Software-S<wbr>cripts/clean/DIVA/build/releas<wbr>e/kwant-build/CMakeFiles/CMake<wbr>Output.log".<br>CMakeFiles/kwant.dir/build.mak<wbr>e:106: recipe for target 'DIVA-ExternalProject-Stamps/k<wbr>want-configure' failed<br>make[2]: *** [DIVA-ExternalProject-Stamps/k<wbr>want-configure] Error 1<br>CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/kwant.dir/all' failed<br>make[1]: *** [CMakeFiles/kwant.dir/all] Error 2<br>Makefile:83: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div>These tests are performed post confirmation of the switches required for installation in KWIVER build release. <br><br>============<br><br></div>To check on a clean docker image with no software installed prior using DIVA directly to compile all the relevant dependencies such as kwiver, fletch etc, I ran the following commands. <br><br><span style="font-family:monospace,monospace">apt-get update<br>yes | apt install wget<br>yes | apt install python<br>yes | apt install vim<br>yes | apt install git<br>yes | apt install cmake<br>yes | apt install build-essential<br>mkdir DIVA<br>cd DIVA<br>mkdir -p build/release<br>mkdir -p build/debug<br>git clone <a href="https://github.com/Kitware/DIVA" target="_blank">https://github.com/Kitware/DIV<wbr>A</a> src</span><br><br></div>Then ran the following command from DIVA/build/release path <br><br><span style="font-family:monospace,monospace">cmake ../../src -DCMAKE_BUILD_TYPE=Release<br><br></span></div><span style="font-family:monospace,monospace">Output - As expected clean <br>-- The C compiler identification is GNU 5.4.0<br>-- The CXX compiler identification is GNU 5.4.0<br>-- Check for working C compiler: /usr/bin/cc<br>-- Check for working C compiler: /usr/bin/cc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Found Git: /usr/bin/git (found version "2.7.4")<br>-- I am pulling and building fletch!<br>-- I am pulling and building kwiver!<br>-- I am pulling and building kwant!<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /mnt/sdd/aps/DIVA/build/releas<wbr>e<br><br></span></div><span style="font-family:monospace,monospace">However make -j16 command fails <br><br>-- Configuring incomplete, errors occurred!<br>See also "/mnt/sdd/aps/DIVA/build/relea<wbr>se/kwant-build/CMakeFiles/CMak<wbr>eOutput.log".<br>CMakeFiles/kwant.dir/build.mak<wbr>e:108: recipe for target 'DIVA-ExternalProject-Stamps/k<wbr>want-configure' failed<br>make[2]: *** [DIVA-ExternalProject-Stamps/k<wbr>want-configure] Error 1<br>CMakeFiles/Makefile2:181: recipe for target 'CMakeFiles/kwant.dir/all' failed<br>make[1]: *** [CMakeFiles/kwant.dir/all] Error 2<br>Makefile:83: recipe for target 'all' failed<br>make: *** [all] Error 2<br></span><div><div><div><div><br></div><div>This error is same as the error with preinstalled KWIVER and a fresh install of DIVA repository. <br><br></div><div>Version of kwant checked out is -<br><br>Cloning into 'kwant'...<br>Note: checking out 'f53aaaafbd06d7a2c7cbedebfdce9<wbr>4e9dbd83347'. <br><br></div><div>Info obtained from the CMakeOutput.log file. <br></div><div><br></div><div>All the above steps run for compiling DIVA are located as part bash script in a private repository - <a href="https://github.com/ankitshah009/KWIVER-Software-Scripts" target="_blank">https://github.com/ankitshah00<wbr>9/KWIVER-Software-Scripts</a> which if deemed useful, I could make it public post permission from my advisor. <br></div><div>Kindly let me know how to fix the above issue. <br><br></div><div>Looking forward to your response. <br></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694m_-3262134414686357711m_1052163577052645693gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif">Kind Regards,</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>
<br><div class="gmail_quote">On Sat, Jan 13, 2018 at 9:07 AM, Aaron Bray <span dir="ltr"><<a href="mailto:aaron.bray@kitware.com" target="_blank">aaron.bray@kitware.com</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">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="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694m_-3262134414686357711m_1052163577052645693m_-8885718961401756141gmail-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"><div><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694m_-3262134414686357711m_1052163577052645693h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6070368905396482046m_-4702476927785429632m_-8735497773871628694m_-3262134414686357711m_1052163577052645693h5"><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/DIV<wbr>A</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/F<wbr>indPackageHandleStandardArgs.c<wbr>make: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/F<wbr>indPackageHandleStandardArgs.c<wbr>make:388 (_FPHSA_FAILURE_MESSAGE)<br>  CMake/FindEigen3.cmake:81 (find_package_handle_standard_<wbr>args)<br>  CMake/kwiver-depends-Eigen.cma<wbr>ke: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_-6070368905396482046m_-4702476927785429632m_-8735497773871628694m_-3262134414686357711m_1052163577052645693m_-8885718961401756141m_-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></div></div>______________________________<wbr>_________________<br>
Kwiver-users mailing list<br>
<a href="mailto:Kwiver-users@public.kitware.com" target="_blank">Kwiver-users@public.kitware.co<wbr>m</a><br>
<a href="https://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/kwiver-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>