From brian.clipp at kitware.com Wed Nov 15 12:46:24 2017 From: brian.clipp at kitware.com (Brian Clipp) Date: Wed, 15 Nov 2017 17:46:24 +0000 Subject: [Kwiver-announce] Best practices for passing inherited types through Sprokit Pipeline Message-ID: Hi All. I ran into a case yesterday where I had a process that output a child class and a process that expected an input from it of the parent class. Sprokit's type checking fails in that case. It lead me to spend some time thinking about what types to pass between processes. After some discussion with Aaron and Matt B. these are some suggestions I've arrived at. Thoughts? Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Inherited Types in Sprokit Pipelines.pptx Type: application/vnd.openxmlformats-officedocument.presentationml.presentation Size: 51721 bytes Desc: not available URL: From matt.phillips at kitware.com Wed Nov 15 12:56:20 2017 From: matt.phillips at kitware.com (Matt Phillips) Date: Wed, 15 Nov 2017 12:56:20 -0500 Subject: [Kwiver-announce] Best practices for passing inherited types through Sprokit Pipeline In-Reply-To: References: Message-ID: Is the issue here just slicing when derived class objects are passed to Keyframe selector? I'm not familiar off the top of my head with how sprokit does serialization/deserialization but might making that 'slice-proof' be the answer? By e.g. storing type information and using factory methods at construction. Matt On Wed, Nov 15, 2017 at 12:46 PM, Brian Clipp wrote: > Hi All. > > I ran into a case yesterday where I had a process that output a child > class and a process that expected an input from it of the parent class. > Sprokit's type checking fails in that case. It lead me to spend some time > thinking about what types to pass between processes. After some discussion > with Aaron and Matt B. these are some suggestions I've arrived at. > > Thoughts? > > Brian > > _______________________________________________ > Kwiver-announce mailing list > Kwiver-announce at public.kitware.com > http://public.kitware.com/mailman/listinfo/kwiver-announce > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.leotta at kitware.com Wed Nov 15 13:08:07 2017 From: matt.leotta at kitware.com (Matthew Leotta) Date: Wed, 15 Nov 2017 13:08:07 -0500 Subject: [Kwiver-announce] Best practices for passing inherited types through Sprokit Pipeline In-Reply-To: References: Message-ID: <42B741D0-CC66-49CD-B6D8-2F22EE6B3AF2@kitware.com> Guys, Let?s take this discussion to the kwiver-users list rather than kwiver-announce. kwiver-annouce is supposed to be for major announcements, like new versions. Of course this make me wonder if we really need kwiver-announce anymore. Is there anyone on this mailing list who is not also on kwiver-users and who only wants to receive very infrequent notifications about KWIVER releases and other major announcements? If this describes you, please send me a response privately. If I get no responses in a week or so, I think we should retire this list and use only kwiver-users. That pattern aligns better with what our other open source projects do for mailing lists. Thanks, Matt > On Nov 15, 2017, at 12:56 PM, Matt Phillips wrote: > > Is the issue here just slicing when derived class objects are passed to Keyframe selector? I'm not familiar off the top of my head with how sprokit does serialization/deserialization but might making that 'slice-proof' be the answer? By e.g. storing type information and using factory methods at construction. > > Matt > > On Wed, Nov 15, 2017 at 12:46 PM, Brian Clipp > wrote: > Hi All. > > I ran into a case yesterday where I had a process that output a child class and a process that expected an input from it of the parent class. Sprokit's type checking fails in that case. It lead me to spend some time thinking about what types to pass between processes. After some discussion with Aaron and Matt B. these are some suggestions I've arrived at. > > Thoughts? > > Brian > > _______________________________________________ > Kwiver-announce mailing list > Kwiver-announce at public.kitware.com > http://public.kitware.com/mailman/listinfo/kwiver-announce > > > _______________________________________________ > Kwiver-announce mailing list > Kwiver-announce at public.kitware.com > http://public.kitware.com/mailman/listinfo/kwiver-announce -------------- next part -------------- An HTML attachment was scrubbed... URL: From mandis at us.ibm.com Tue Nov 28 16:37:18 2017 From: mandis at us.ibm.com (Mandis S Beigi) Date: Tue, 28 Nov 2017 16:37:18 -0500 Subject: [Kwiver-announce] problem with cmake of kwiver Message-ID: Hi all, I'm new to kwiver and am trying to compile kwiver+fletch in a docker (ubuntu 16.04) and get the following error: Has anyone seen this error before? CMake Error at CMake/kwiver-depends-log4cplus.cmake:11 (find_package): By not providing "Findlog4cplus.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "log4cplus", but CMake did not find one. Could not find a package configuration file provided by "log4cplus" with any of the following names: log4cplusConfig.cmake log4cplus-config.cmake Add the installation prefix of "log4cplus" to CMAKE_PREFIX_PATH or set "log4cplus_DIR" to a directory containing one of the above files. If "log4cplus" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMake/kwiver-depends.cmake:8 (include) CMakeLists.txt:138 (include) My Dockerfile is the following: FROM wvfs-docker-local.artifactory.swg-devops.com/res-base-ubuntu-plus-dev:v0.2 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y --no-install-recommends apt-utils RUN apt-get install doxygen -y RUN apt-get install libreadline-dev -y RUN apt-get install build-essential libgl1-mesa-dev -y RUN apt-get install libexpat1-dev -y RUN apt-get install libgtk2.0-dev -y RUN apt-get install liblapack-dev -y RUN apt-get install libeigen3-dev -y RUN apt-get install liblog4cplus-dev -y RUN apt-get install ffmpeg -y COPY ./ /opt/IBM/ivadle/ CMD cmake -DCMAKE_BUILD_TYPE=Release -Dfletch_ENABLE_ALL_PACKAGES=ON -Dfletch_ENABLE_PYTHON=ON /opt/IBM/ivadle/fletch/src COPY ./ /opt/IBM/ivadle/ CMD cmake ./ -DCMAKE_BUILD_TYPE=Release \ -Dfletch_DIR:PATH=/opt/IBM/ivadle/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 ENV DEBIAN_FRONTEND teletype Regards, Mandis S. Beigi IBM TJ Watson Research Center Yorktown Heights, NY TEL: (914)945-1165, T/L: 862-1165 Email: mandis at us.ibm.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.stoup at kitware.com Tue Nov 28 19:42:44 2017 From: david.stoup at kitware.com (David Stoup) Date: Tue, 28 Nov 2017 19:42:44 -0500 Subject: [Kwiver-announce] problem with cmake of kwiver In-Reply-To: References: Message-ID: Hi, I haven't seen this issue before. Are you working from master on both repositories or some other branch? On Nov 28, 2017 5:28 PM, "Mandis S Beigi" wrote: Hi all, I'm new to kwiver and am trying to compile kwiver+fletch in a docker (ubuntu 16.04) and get the following error: Has anyone seen this error before? CMake Error at CMake/kwiver-depends-log4cplus.cmake:11 (find_package): By not providing "Findlog4cplus.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "log4cplus", but CMake did not find one. Could not find a package configuration file provided by "log4cplus" with any of the following names: log4cplusConfig.cmake log4cplus-config.cmake Add the installation prefix of "log4cplus" to CMAKE_PREFIX_PATH or set "log4cplus_DIR" to a directory containing one of the above files. If "log4cplus" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMake/kwiver-depends.cmake:8 (include) CMakeLists.txt:138 (include) My Dockerfile is the following: FROM wvfs-docker-local.artifactory.swg-devops.com/res-base- ubuntu-plus-dev:v0.2 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y --no-install-recommends apt-utils RUN apt-get install doxygen -y RUN apt-get install libreadline-dev -y RUN apt-get install build-essential libgl1-mesa-dev -y RUN apt-get install libexpat1-dev -y RUN apt-get install libgtk2.0-dev -y RUN apt-get install liblapack-dev -y RUN apt-get install libeigen3-dev -y RUN apt-get install liblog4cplus-dev -y RUN apt-get install ffmpeg -y COPY ./ /opt/IBM/ivadle/ CMD cmake -DCMAKE_BUILD_TYPE=Release -Dfletch_ENABLE_ALL_PACKAGES=ON -Dfletch_ENABLE_PYTHON=ON /opt/IBM/ivadle/fletch/src COPY ./ /opt/IBM/ivadle/ CMD cmake ./ -DCMAKE_BUILD_TYPE=Release \ -Dfletch_DIR:PATH=/opt/IBM/ivadle/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 ENV DEBIAN_FRONTEND teletype Regards, Mandis S. Beigi IBM TJ Watson Research Center Yorktown Heights, NY TEL: (914)945-1165 <(914)%20945-1165>, T/L: 862-1165 Email: mandis at us.ibm.com _______________________________________________ Kwiver-announce mailing list Kwiver-announce at public.kitware.com http://public.kitware.com/mailman/listinfo/kwiver-announce -------------- next part -------------- An HTML attachment was scrubbed... URL: