Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Opencv 4.1.1 / php-opencv / CentOS 7.7.1908 - Configure fail #10

@benjy8001

Description

@benjy8001

Hi !

I try to compile with library con centos with opencv 4.1.1. But on configure step, opencv was not found ...

export PKG_CONFIG=/usr/bin/pkg-config && export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig/ && export LD_LIBRARY_PATH="/usr/local/lib64/"
scl enable devtoolset-7 bash
git clone https://github.com/php-opencv/php-opencv.git
cd php-opencv/
phpize
./configure --with-php-config=/usr/bin/php-config
checking for opencv... not found
configure: error: Ooops ! no opencv detected in the system

The configure file is searching opencv with the label 'opencv4' instead of 'opencv' with pkg-config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions