[Kwiver-announce] problem with cmake of kwiver

Mandis S Beigi mandis at us.ibm.com
Tue Nov 28 16:37:18 EST 2017


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: <http://public.kitware.com/pipermail/kwiver-announce/attachments/20171128/796eba9d/attachment.html>


More information about the Kwiver-announce mailing list