Page 1 of 1

Using libvlcpp on Mac with Xcode

Posted: 07 Feb 2021 20:52
by aleroot
Hi,
I'm trying to experiment a bit with LibVLC on my Mac, I would like to develop a small utility that then will be deployed on Linux...
Basically I've created a C++ project with Xcode and then imported libvlcpp correctly, the problem is that when I build the app I get this error:

ExampleVLC/vlcpp/common.hpp:31:10: 'vlc/vlc.h' file not found

Now on Linux I would solve this problem installing libvlc-dev package, that would install the necessary headers, how can I achieve the same on macOS Big Sur ?

Thanks

Re: Using libvlcpp on Mac with Xcode

Posted: 08 Feb 2021 03:18
by mfkl
you could try to download a macOS build (which contains the headers) https://artifacts.videolan.org/vlc-3.0/

Re: Using libvlcpp on Mac with Xcode

Posted: 16 May 2021 12:05
by aleroot
I've tried to download that package, but there is no vlc.h include header file in that archive...

Anybody knows where I can find it ?

Thanks.

Re: Using libvlcpp on Mac with Xcode

Posted: 17 May 2021 03:25
by mfkl
Yes there is vlc-3.0.14-intel64-41878ff4.dmg\VLC Media Player\VLC.app\Contents\MacOS\include\vlc\