Using libvlcpp on Mac with Xcode

This forum is about all development around libVLC.
aleroot
Blank Cone
Blank Cone
Posts: 12
Joined: 22 Dec 2015 18:47

Using libvlcpp on Mac with Xcode

Postby aleroot » 07 Feb 2021 20:52

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

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Using libvlcpp on Mac with Xcode

Postby mfkl » 08 Feb 2021 03:18

you could try to download a macOS build (which contains the headers) https://artifacts.videolan.org/vlc-3.0/
https://mfkl.github.io

aleroot
Blank Cone
Blank Cone
Posts: 12
Joined: 22 Dec 2015 18:47

Re: Using libvlcpp on Mac with Xcode

Postby aleroot » 16 May 2021 12:05

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.

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Using libvlcpp on Mac with Xcode

Postby mfkl » 17 May 2021 03:25

Yes there is vlc-3.0.14-intel64-41878ff4.dmg\VLC Media Player\VLC.app\Contents\MacOS\include\vlc\
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 19 guests