<div dir="ltr"><div><div><div>Yes, I believe the warning is indicating that the install prefix from the CMake build doesn't exist.<br><br></div>I'm glad the example is working for you!<br><br></div>Cheers,<br></div>-Roddy<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 2:52 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><span class="">Hi Roddy,<br><br>Still receiving the same warning message. I have installed the cmake with the option -DKWIVER_ENABLE_EXAMPLES:BOOL=<wbr>ON enabled.<br>A directory called examples is created in the build path and yes, running commands from build path over using src path.<br><br>/kwiver/build/release# bin/pipeline_runner -p examples/pipelines/number_flow<wbr>.pipe<br></span>WARN [2017-12-13 07:30:55 sprokit.register_cluster /home/ankit/KWIVER-Software-Sc<wbr>ripts/kwiver/src/sprokit/src/<wbr>processes/clusters/registratio<wbr>n.cxx:96] Path not found loading clusters: /usr/local/share/sprokit/pipel<wbr>ines/clusters<br>2017-12-13 07:30:55.837 INFO sprokit.modules.modules(68): Loading python modules<br>2017-12-13 07:30:55.837 DEBUG sprokit.modules.modules(81): Preparing to load sprokit python plugin modules: [<span class=""><br> 'sprokit.processes',<br> 'sprokit.schedulers',<br> 'kwiver.processes'<br>]<br></span>2017-12-13 07:30:55.999 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'sprokit.schedulers.pythread_p<wbr>er_process_scheduler' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/spro<wbr>kit/schedulers/pythread_per_<wbr>process_scheduler.pyc'>"<br>2017-12-13 07:30:55.999 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.ProcessImage<wbr>' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/ProcessImage.pyc'<wbr>>"<br>2017-12-13 07:30:55.999 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.homography_w<wbr>riter' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/homography_writer<wbr>.pyc'>"<br>2017-12-13 07:30:55.999 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.kw_print_num<wbr>ber_process' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/kw_print_number_<wbr>process.pyc'>"<br>2017-12-13 07:30:55.999 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.ApplyDescrip<wbr>tor' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/ApplyDescriptor.<wbr>pyc'>"<br><br></div>However, the good news is that the output numbers.txt is created. I think the warning is misleading. <br><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-8923745368682290230m_-822017013741287096gmail_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="h5"><div class="gmail_quote">On Wed, Dec 13, 2017 at 2:41 AM, Roddy Collins <span dir="ltr"><<a href="mailto:roddy.collins@kitware.com" target="_blank">roddy.collins@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"><div><div><div><div>Hmm...<br><br></div>On a guess, try adding -DKWIVER_ENABLE_EXAMPLES:BOOL=<wbr>ON<br><br></div>...which I believes configures and installs the the pipeline file based on the <a href="http://number_flow.pipe.in" target="_blank">number_flow.pipe.in</a> template (I don't think that file should be used directly.) With examples turned on, you should be able to run<br><br></path/to/kwiver/build>/bin/pi<wbr>peline_runner -p </path/to/kwiver/build>/exampl<wbr>es/pipelines/<a href="http://number_flow.pipe.in" target="_blank">number_flow.pipe</a><br><br></div>...i.e. the examples are installed in the build directory, rather than being run from the source directory. (In general we try to keep the build and source trees separate.)<span class="m_-8923745368682290230m_-822017013741287096HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_-8923745368682290230m_-822017013741287096HOEnZb"><font color="#888888">-Roddy</font></span><div><div class="m_-8923745368682290230m_-822017013741287096h5"><br><br><div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 2:35 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><div><div><div><div>Hi Roddy,<br><br></div>For the kwiver build, I have installed using the following command - <br><br>cmake ../../src/ -DCMAKE_BUILD_TYPE=Release -Dfletch_DIR:PATH=/home/ankit/<wbr>KWIVER-Software-Scripts/fletch<wbr>/build/rel/ -DKWIVER_ENABLE_ARROWS:BOOL=ON -DKWIVER_ENABLE_C_BINDINGS:BOO<wbr>L=ON -DKWIVER_ENABLE_EXTRAS:BOOL=ON -DKWIVER_ENABLE_LOG4CPLUS:BOOL<wbr>=ON -DKWIVER_ENABLE_PROCESSES:BOOL<wbr>=ON -DKWIVER_ENABLE_PYTHON:BOOL=ON -DKWIVER_ENABLE_SPROKIT:BOOL=O<wbr>N -DKWIVER_ENABLE_TOOLS:BOOL=ON -DKWIVER_USE_BUILD_TREE:BOOL=O<wbr>N <br><br></div>This installation is successful. <br></div>However, when I am trying to run - <br><br></path/to/kwiver/build>/bin/pi<wbr>peline_runner -p ../examples/pipelines/<a href="http://number_flow.pipe.in" target="_blank">number_f<wbr>low.pipe.in</a><br><br></div>I am receiving the following failure message along with warning for sprokit clusters not found. I checked the sprokit github repository and it seems that clusters are not implemented. Please correct me whether this is correct understanding or not. <br><br></div>Message log - <br><div><br>WARN [2017-12-13 07:18:07 sprokit.register_cluster /home/ankit/KWIVER-Software-Sc<wbr>ripts/kwiver/src/sprokit/src/p<wbr>rocesses/clusters/registration<wbr>.cxx:96] Path not found loading clusters: /usr/local/share/sprokit/pipel<wbr>ines/clusters<br>2017-12-13 07:18:07.095 INFO sprokit.modules.modules(68): Loading python modules<br>2017-12-13 07:18:07.095 DEBUG sprokit.modules.modules(81): Preparing to load sprokit python plugin modules: [<br> 'sprokit.processes',<br> 'sprokit.schedulers',<br> 'kwiver.processes'<br>]<br>2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'sprokit.schedulers.pythread_p<wbr>er_process_scheduler' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/spro<wbr>kit/schedulers/pythread_per_pr<wbr>ocess_scheduler.pyc'>"<br>2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.ProcessImage<wbr>' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/ProcessImage.pyc'<wbr>>"<br>2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.homography_w<wbr>riter' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/homography_writer<wbr>.pyc'>"<br>2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.kw_print_num<wbr>ber_process' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/kw_print_number_p<wbr>rocess.pyc'>"<br>2017-12-13 07:18:07.328 DEBUG sprokit.modules.modules(43): Loading python module: "<module 'kwiver.processes.ApplyDescrip<wbr>tor' from '/home/ankit/KWIVER-Software-S<wbr>cripts/kwiver/build/release/li<wbr>b/python2.7/dist-packages/kwiv<wbr>er/processes/ApplyDescriptor.p<wbr>yc'>"<br>Exception caught: The process 'numbersink' has a configuration issue: Failed to open the path: @EXAMPLE_DIR@/pipelines/output<wbr>/numbers.txt<br><div><div><div><div><div><div><div class="gmail_extra"><br clear="all"><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif">Kind Regards,</font><div><font face="tahoma, sans-serif">Ankit Shah</font></div><br></div></div></div><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282h5">
<br><div class="gmail_quote">On Wed, Dec 13, 2017 at 2:26 AM, Roddy Collins <span dir="ltr"><<a href="mailto:roddy.collins@kitware.com" target="_blank">roddy.collins@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-"><div>> command run is cmake . from the source directory where I have performed a git clone of sprokit repository<br><br></div></span>Try making a build directory next to the source directory and run cmake from there, pointing at the source directory.</div><div><br></div><div>$ mkdir /home/ankit/kwiver-build</div><div>$ cd /home/ankit/kwiver-build</div><div>$ ccmake ../KWIVER-Software-Scripts <br></div><div><br></div><div>(assuming KWIVER-Software-Scripts is where you've cloned kwiver into.)</div><div><br></div><div>...note the use of ccmake, so that you can set options (such as turning sprokit on or off.)</div><span class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-HOEnZb"><font color="#888888"><div><br></div><div>-Roddy</div><div><br></div></font></span></div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-HOEnZb"><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 2:16 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi Roddy, <br><br></div>For the above post, I am having a problem building the software for sprokit and map-tk and running examples. <br></div>Currently, I am using the latest branch of kwiver and fletch. <br><br></div>Git hash for fletch is 65a12ea5b5f5cfd21ce43468ba8fb6<wbr>5360363c05<br></div>Git hash for kwiver is d1f1c38c462a4be3b0cdc58d6163af<wbr>0e33169ca5<br><br></div>Build of kwiver and fletch was successful where I have followed the guidelines as per respective repository's documentation and have suggested modification to Readme documentation via pull request. <br></div>I am using Ubuntu 16.04 based environment. <br><br></div>Following is the output of gcc -v <br>gcc -v<br>Using built-in specs.<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/usr/lib/g<wbr>cc/x86_64-linux-gnu/5/lto-wrap<wbr>per<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/shar<wbr>e/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,j<wbr>ava,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=n<wbr>ew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/<wbr>java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/j<wbr>vm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jv<wbr>m-exports/java-1.5.0-gcj-5-amd<wbr>64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java<wbr>/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,m<wbr>x32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>Thread model: posix<br>gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)<br><br></div>Output screenshot - command run is cmake . from the source directory where I have performed a git clone of sprokit repository. <br><br> used as include directory in directory /home/ankit/KWIVER-Software-Sc<wbr>ripts/sprokit/source/conf<br> used as include directory in directory /home/ankit/KWIVER-Software-Sc<wbr>ripts/sprokit/source/conf<br> used as include directory in directory /home/ankit/KWIVER-Software-Sc<wbr>ripts/sprokit/source/conf<br> used as include directory in directory /home/ankit/KWIVER-Software-Sc<wbr>ripts/sprokit/source/conf<br> used as include directory in directory /home/ankit/KWIVER-Software-Sc<wbr>ripts/sprokit/source/conf<br><br>-- Configuring incomplete, errors occurred!<br>See also "/home/ankit/KWIVER-Software-S<wbr>cripts/sprokit/source/CMakeFil<wbr>es/CMakeOutput.log".<br>See also "/home/ankit/KWIVER-Software-S<wbr>cripts/sprokit/source/CMakeFil<wbr>es/CMakeError.log"<br><br></div>Thank you for your quick response. <br></div><div><div><div><div><div> <br></div></div></div></div></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-m_-8253933859523884151m_4937098478857053321gmail_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_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-m_-8253933859523884151h5"><div class="gmail_quote">On Wed, Dec 13, 2017 at 1:55 AM, Roddy Collins <span dir="ltr"><<a href="mailto:roddy.collins@kitware.com" target="_blank">roddy.collins@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi Ankit--<br><br></div>Can you be more specific in the difficulties you're having? (Problems building the software, problems running the examples, etc.)<br><br></div>Please be sure to include:<br><br></div>- the operating system and compiler you're using<br></div>- which branches of kwiver and fletch you're building<br></div>- if possible, console output showing the problem (as an attachment)<br><br></div>Thanks<br></div>-Roddy<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-m_-8253933859523884151m_4937098478857053321h5">On Wed, Dec 13, 2017 at 1:36 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-m_-8253933859523884151m_4937098478857053321h5"><div dir="ltr"><div><div><div>Hi all, <br><br></div>In order to install software Map-Tk and sprokit, is there a software installation tutorial/documentation available which is not present on the internet. <br><br></div>I am finding difficulty in installing both these software necessary for working with Kwiver toolkit. <br><br></div>Looking forward to your response. <br> <br><div><div class="m_-8923745368682290230m_-822017013741287096m_-3812305928233766230m_-6743033164180747282m_-4241348854003049896gmail-m_-8253933859523884151m_4937098478857053321m_-1059002049442338886m_-1932116923977074143gmail_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>
</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="http://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/kwiver-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>