-
-
Notifications
You must be signed in to change notification settings - Fork 57
Install on macOS
Adrian-George Bostan edited this page Oct 15, 2024
·
12 revisions
- Install command line tools
sudo xcode-select --install-
Download and install MacPorts for your operating system version from https://www.macports.org/install.php.
-
Install VLC port.
sudo port install VLC- Find VLC port installation directory.
port contents vlcFor the rest of this guide, the installation directory is considered to be /Applications/MacPorts/VLC.app/Contents/MacOS.
If the location of your installation directory is different, use that for the following steps.
- Create symbolic links to the development files in standard locations.
sudo ln -s /Applications/MacPorts/VLC.app/Contents/MacOS/include/vlc /usr/local/include/
sudo ln -s /Applications/MacPorts/VLC.app/Contents/MacOS/lib/* /usr/local/lib/- Set the
VLC_PLUGIN_PATHenvironment variable.
export VLC_PLUGIN_PATH="/Applications/MacPorts/VLC.app/Contents/MacOS"In order to permanently set the VLC_PLUGIN_PATH environment variable, add the command above to ~/.profile, ~/.bash_profile or ~/.bashrc. Please open a new terminal window in order for the change to take effect.
Follow the build instructions found at https://wiki.videolan.org/MacOSCompile.