Can't find curl and webp libs

Issue #20 new
Pavel S created an issue

Can't find curl and webp libs, though packages are installed. Ubuntu 18.04

# apt policy libcurl4-openssl-dev libwebp-dev
libcurl4-openssl-dev:
  Installed: 7.58.0-2ubuntu3
  Candidate: 7.58.0-2ubuntu3
  Version table:
 *** 7.58.0-2ubuntu3 500
        500 http://mirror.yandex.ru/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
libwebp-dev:
  Installed: 0.6.1-2
  Candidate: 0.6.1-2
  Version table:
 *** 0.6.1-2 500
        500 http://mirror.yandex.ru/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

# make
cd .build_release ; cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION_MAJOR:STRING=3 -DAPP_VERSION_MINOR:STRING=0 -DAPP_VERSION_RELEASE:STRING=5 .. ; make ; cd ..
-- ***************************
-- * Simple Viewer GL v3.0.5 *
-- ***************************
-- *      Release Build      *
-- ***************************
-- * OpenGL found
-- * GLFW3 found
-- * Threads found
-- * X11 found
-- * ZLib found
-- * PNG support enabled
-- * JPEG support enabled
-- * EXIF support enabled
-- * LCMS2 support enabled
-- * OpenJPEG2 support enabled
-- * GIF support enabled
-- * TIFF support enabled
-- * WebP support disabled
-- * OpenEXR support enabled
-- * Curl support disabled
-- * Imlib2 support enabled
-- ***************************
-- Configuring done
-- Generating done

Comments (5)

  1. Andrey Ugolnik repo owner

    Try development branch

    $ git checkout development
    $ git pull
    $ make clean
    $ make release
    
  2. Pavel S reporter
    # make release
    cd .build_release ; cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION_MAJOR:STRING=3 -DAPP_VERSION_MINOR:STRING=0 -DAPP_VERSION_RELEASE:STRING=6 .. ; make ; cd ..
    -- The C compiler identification is GNU 7.3.0
    -- The CXX compiler identification is GNU 7.3.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
    -- ***************************
    -- * Simple Viewer GL v3.0.6 *
    -- ***************************
    -- *      Release Build      *
    -- ***************************
    -- * OpenGL found
    -- * GLFW3 found
    -- Check if compiler accepts -pthread
    -- Check if compiler accepts -pthread - yes
    -- * Threads found
    -- * X11 found
    -- * ZLib found
    -- * PNG support enabled
    -- * JPEG support enabled
    -- * EXIF support enabled
    -- Checking for module 'lcms2'
    --   Found lcms2, version 2.9
    -- * LCMS2 support enabled
    -- * OpenJPEG2 support enabled
    -- * GIF support enabled
    -- * TIFF support enabled
    -- * WebP support disabled
    -- Checking for module 'IlmBase'
    --   Found IlmBase, version 2.2.0
    -- * OpenEXR support enabled
    -- * Curl support disabled
    -- Found IMLIB2: /usr/lib/x86_64-linux-gnu/libImlib2.so  
    -- * Imlib2 support enabled
    -- Looking for clock_gettime in rt
    -- Looking for clock_gettime in rt - found
    -- ***************************
    -- Configuring done
    -- Generating done
    
  3. Andrey Ugolnik repo owner

    Looks like cmake's find_package function can't locate curl and webp dev libs. Have no idea how to fix that.

    What version of cmake are you using?

  4. Log in to comment