[Kwiver-users] Software installation guideline for Map-Tk and Sprokit

Roddy Collins roddy.collins at kitware.com
Wed Dec 13 02:41:01 EST 2017


Hmm...

On a guess, try adding -DKWIVER_ENABLE_EXAMPLES:BOOL=ON

...which I believes configures and installs the the pipeline file based on
the number_flow.pipe.in template (I don't think that file should be used
directly.) With examples turned on, you should be able to run

</path/to/kwiver/build>/bin/pipeline_runner -p </path/to/kwiver/build>/
examples/pipelines/number_flow.pipe <http://number_flow.pipe.in>

...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.)

-Roddy



On Wed, Dec 13, 2017 at 2:35 AM, Ankit Parag Shah <aps1 at andrew.cmu.edu>
wrote:

> Hi Roddy,
>
> For the kwiver build, I have installed using the following command -
>
> cmake ../../src/ -DCMAKE_BUILD_TYPE=Release -Dfletch_DIR:PATH=/home/ankit/
> KWIVER-Software-Scripts/fletch/build/rel/ -DKWIVER_ENABLE_ARROWS:BOOL=ON
> -DKWIVER_ENABLE_C_BINDINGS:BOOL=ON -DKWIVER_ENABLE_EXTRAS:BOOL=ON
> -DKWIVER_ENABLE_LOG4CPLUS:BOOL=ON -DKWIVER_ENABLE_PROCESSES:BOOL=ON
> -DKWIVER_ENABLE_PYTHON:BOOL=ON -DKWIVER_ENABLE_SPROKIT:BOOL=ON
> -DKWIVER_ENABLE_TOOLS:BOOL=ON -DKWIVER_USE_BUILD_TREE:BOOL=ON
>
> This installation is successful.
> However, when I am trying to run  -
>
> </path/to/kwiver/build>/bin/pipeline_runner -p ../examples/pipelines/
> number_flow.pipe.in
>
> 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.
>
> Message log -
>
> WARN [2017-12-13 07:18:07 sprokit.register_cluster
> /home/ankit/KWIVER-Software-Scripts/kwiver/src/sprokit/src/
> processes/clusters/registration.cxx:96] Path not found loading clusters:
> /usr/local/share/sprokit/pipelines/clusters
> 2017-12-13 07:18:07.095 INFO sprokit.modules.modules(68): Loading python
> modules
> 2017-12-13 07:18:07.095 DEBUG sprokit.modules.modules(81): Preparing to
> load sprokit python plugin modules: [
>     'sprokit.processes',
>     'sprokit.schedulers',
>     'kwiver.processes'
> ]
> 2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python
> module: "<module 'sprokit.schedulers.pythread_per_process_scheduler' from
> '/home/ankit/KWIVER-Software-Scripts/kwiver/build/release/li
> b/python2.7/dist-packages/sprokit/schedulers/pythread_per_
> process_scheduler.pyc'>"
> 2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python
> module: "<module 'kwiver.processes.ProcessImage' from
> '/home/ankit/KWIVER-Software-Scripts/kwiver/build/release/li
> b/python2.7/dist-packages/kwiver/processes/ProcessImage.pyc'>"
> 2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python
> module: "<module 'kwiver.processes.homography_writer' from
> '/home/ankit/KWIVER-Software-Scripts/kwiver/build/release/li
> b/python2.7/dist-packages/kwiver/processes/homography_writer.pyc'>"
> 2017-12-13 07:18:07.327 DEBUG sprokit.modules.modules(43): Loading python
> module: "<module 'kwiver.processes.kw_print_number_process' from
> '/home/ankit/KWIVER-Software-Scripts/kwiver/build/release/li
> b/python2.7/dist-packages/kwiver/processes/kw_print_number_process.pyc'>"
> 2017-12-13 07:18:07.328 DEBUG sprokit.modules.modules(43): Loading python
> module: "<module 'kwiver.processes.ApplyDescriptor' from
> '/home/ankit/KWIVER-Software-Scripts/kwiver/build/release/li
> b/python2.7/dist-packages/kwiver/processes/ApplyDescriptor.pyc'>"
> Exception caught: The process 'numbersink' has a configuration issue:
> Failed to open the path: @EXAMPLE_DIR@/pipelines/output/numbers.txt
>
> Kind Regards,
> Ankit Shah
>
>
> On Wed, Dec 13, 2017 at 2:26 AM, Roddy Collins <roddy.collins at kitware.com>
> wrote:
>
>> > command run is cmake . from the source directory where I have performed
>> a git clone of sprokit repository
>>
>> Try making a build directory next to the source directory and run cmake
>> from there, pointing at the source directory.
>>
>> $ mkdir /home/ankit/kwiver-build
>> $ cd /home/ankit/kwiver-build
>> $ ccmake ../KWIVER-Software-Scripts
>>
>> (assuming KWIVER-Software-Scripts is where you've cloned kwiver into.)
>>
>> ...note the use of ccmake, so that you can set options (such as turning
>> sprokit on or off.)
>>
>> -Roddy
>>
>>
>> On Wed, Dec 13, 2017 at 2:16 AM, Ankit Parag Shah <aps1 at andrew.cmu.edu>
>> wrote:
>>
>>> Hi Roddy,
>>>
>>> For the above post, I am having a problem building the software for
>>> sprokit and map-tk and running examples.
>>> Currently, I am using the latest branch of kwiver and fletch.
>>>
>>> Git hash for fletch is 65a12ea5b5f5cfd21ce43468ba8fb65360363c05
>>> Git hash for kwiver is d1f1c38c462a4be3b0cdc58d6163af0e33169ca5
>>>
>>> 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.
>>> I am using Ubuntu 16.04 based environment.
>>>
>>> Following is the output of gcc -v
>>> gcc -v
>>> Using built-in specs.
>>> COLLECT_GCC=gcc
>>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
>>> Target: x86_64-linux-gnu
>>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>>> 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
>>> --enable-languages=c,ada,c++,java,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=new --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/java-1.5.0-gcj-5-amd64/jre
>>> --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
>>> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
>>> --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
>>> --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
>>> --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib
>>> --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
>>> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
>>> Thread model: posix
>>> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
>>>
>>> Output screenshot - command run is cmake . from the source directory
>>> where I have performed a git clone of sprokit repository.
>>>
>>>    used as include directory in directory /home/ankit/KWIVER-Software-Sc
>>> ripts/sprokit/source/conf
>>>    used as include directory in directory /home/ankit/KWIVER-Software-Sc
>>> ripts/sprokit/source/conf
>>>    used as include directory in directory /home/ankit/KWIVER-Software-Sc
>>> ripts/sprokit/source/conf
>>>    used as include directory in directory /home/ankit/KWIVER-Software-Sc
>>> ripts/sprokit/source/conf
>>>    used as include directory in directory /home/ankit/KWIVER-Software-Sc
>>> ripts/sprokit/source/conf
>>>
>>> -- Configuring incomplete, errors occurred!
>>> See also "/home/ankit/KWIVER-Software-Scripts/sprokit/source/CMakeFil
>>> es/CMakeOutput.log".
>>> See also "/home/ankit/KWIVER-Software-Scripts/sprokit/source/CMakeFil
>>> es/CMakeError.log"
>>>
>>> Thank you for your quick response.
>>>
>>>
>>> Kind Regards,
>>> Ankit Shah
>>> Masters Student in Language Technologies
>>> Carnegie Mellon University.
>>>
>>> On Wed, Dec 13, 2017 at 1:55 AM, Roddy Collins <
>>> roddy.collins at kitware.com> wrote:
>>>
>>>> Hi Ankit--
>>>>
>>>> Can you be more specific in the difficulties you're having? (Problems
>>>> building the software, problems running the examples, etc.)
>>>>
>>>> Please be sure to include:
>>>>
>>>> - the operating system and compiler you're using
>>>> - which branches of kwiver and fletch you're building
>>>> - if possible, console output showing the problem (as an attachment)
>>>>
>>>> Thanks
>>>> -Roddy
>>>>
>>>>
>>>> On Wed, Dec 13, 2017 at 1:36 AM, Ankit Parag Shah <aps1 at andrew.cmu.edu>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> In order to install software Map-Tk and sprokit, is there a software
>>>>> installation tutorial/documentation available which is not present on the
>>>>> internet.
>>>>>
>>>>> I am finding difficulty in installing both these software necessary
>>>>> for working with Kwiver toolkit.
>>>>>
>>>>> Looking forward to your response.
>>>>>
>>>>> Kind Regards,
>>>>> Ankit Shah
>>>>> Masters Student in Language Technologies
>>>>> Carnegie Mellon University.
>>>>>
>>>>> _______________________________________________
>>>>> Kwiver-users mailing list
>>>>> Kwiver-users at public.kitware.com
>>>>> http://public.kitware.com/mailman/listinfo/kwiver-users
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20171213/e504f4f6/attachment-0001.html>


More information about the Kwiver-users mailing list