-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libVLC instructions on Mac OS #13
Comments
Hi @adrg
Got this error: unknown image for @rpath/... Right now I use vlc stream server instead, still try to find the root cause. |
Hi @sc0Vu. Thank you for taking an interest in the library. I see there are some instructions on the vlc wiki here: https://wiki.videolan.org/OSXCompile. |
Hi @sc0Vu, I had similar error so something like this should work: Make sure MacOSX.sdk exists by using following command If its there then cool go for next command If its not there then you'll need to install xcode-command-line-tools I hope this helps |
Thank you @gaurav-gogia. Ideally, there would be a wiki page similar to Install on Linux and Install on Windows with specific instructions for the whole installation process. |
The compilation instruction for VLC work fine for OSX including 11.1 (Big Sur). I also have it working fine for the M1 ARM architecture. After following: https://wiki.videolan.org/MacOSCompile/ You'll have to set LIBRARY_PATH to the lib folder belonging to your compiled VLC, otherwise
This was all I had to do. |
@ansoni-san Awesome. Thank you for testing the library on macOS. That should be enough information for me to create an installation wiki page. I noticed there's a NuGet package for macOS which provides an already built version of libVLC. Can that be used as an alternative to building the library yourself? The package is just a zip file so it can be opened with any archive manager. |
I added a Install on macOS wiki page based on the information you provided. Please let me know if that looks ok. |
I do not understand "vlc_install_dir" part in following command Linker gives me error: Undefined symbols for architecture x86_64: _libvlc_media_player_play and others. I have one of following problems: |
I updated the Install on macOS wiki page with instructions on how to install @zlatko5 Can you try setting up your |
Thank you, libVLC through MacPorts works fine. |
I had raised a new issue before I saw this one, I have a problem running the example code on Mac so I found a workaround(#113) . I am no good with c or the c compiler but I somehow think that there could be a better solution than my workaround. |
Installation instructions on Debian based distributions are covered in the README file.
Can someone provide installation instructions for the prerequisites of the library on Windows and Mac OS?
I can then add the information to the README or create a wiki about this in order to help new users.
The text was updated successfully, but these errors were encountered: