Page 1 of 1

Not Libvlc found when compiling

Posted: 10 Nov 2021 20:27
by pablormago
Hi everyone,

I installed the last build from the website. I´m ussing macOS intel with the appropiate version of vlc. I´m trying to compile an applicattion with CMAKE, and everytime i try, i get the same error:

-- Checking for module 'libvlc>=1.0.0'
-- No package 'libvlc' found
CMake Error at CMake/Packages/FindVLC.cmake:33 (macro_ensure_version):
macro_ensure_version Macro invoked with incorrect arguments for macro
named: MACRO_ENSURE_VERSION
Call Stack (most recent call first):
CMakeLists.txt:94 (find_package)


CMake Error at CMake/Packages/FindVLC.cmake:39 (message):
VLC library not found
Call Stack (most recent call first):
CMakeLists.txt:94 (find_package)

it does not find the lib, but i don´t know what is happening.

Any idea????
thanks in advance

Re: Not Libvlc found when compiling

Posted: 12 Dec 2021 21:33
by unidan
Hi, what is the path you expect for libvlc ? I’m not sure what the package provide but if there is a pkg-config file, you’ll need to point PKG_CONFIG_PATH to the right location.