Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Build/Vlc4LinuxCloneMakeInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ sudo apt install gperf default-jdk ant flex flex-old bison
sudo apt install libcaca-dev libncursesw5-dev libasound2-dev lua5.2-dev libxcb-keysyms1-dev
sudo apt install lua5.2 openjdk-8-jdk ant nasm libxcb-composite0 libxcb-composite0-dev
sudo apt install libxcb-xv0 libxcb-xv0-dev wayland-protocols
sudo apt install libavutil-dev libavcodec-dev libavformat-dev libswscale-dev libxcb-randr0-dev

# Protocol Buffers - Google's data interchange format
git clone git://github.com/google/protobuf.git
Expand Down
1 change: 1 addition & 0 deletions Build/Vlc4LinuxMakeInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ sudo apt install gperf default-jdk ant flex flex-old bison
sudo apt install libcaca-dev libncursesw5-dev libasound2-dev lua5.2-dev libxcb-keysyms1-dev
sudo apt install lua5.2 openjdk-8-jdk ant nasm libxcb-composite0 libxcb-composite0-dev
sudo apt install libxcb-xv0 libxcb-xv0-dev wayland-protocols
sudo apt install libavutil-dev libavcodec-dev libavformat-dev libswscale-dev libxcb-randr0-dev

# Protocol Buffers - Google's data interchange format
#git clone git://github.com/google/protobuf.git
Expand Down
18 changes: 18 additions & 0 deletions Build/clang-5.0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
set -x

# https://askubuntu.com/questions/907873/how-to-set-clang-3-9-as-the-default-in-zesty

sudo apt update
sudo apt upgrade
sudo apt autoremove

sudo apt install clang clang-5.0

sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-5.0/bin/clang++ 100
sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-5.0/bin/clang 100

sudo update-alternatives --config clang

clang --version

7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ that are not yet available in the UE4 Master branch.
This plug-in was last built against **Unreal Engine 4.19** and tested
against the following platforms:

- Linux (Ubuntu 16.04)
- Linux (Ubuntu 18.04 LTS (Bionic Beaver))
- ~~Mac~~
- Windows

Expand Down Expand Up @@ -54,7 +54,7 @@ Nightly builds can be downloaded from the VideoLAN web site (see below).
For debugging on Win32 and Win64, you can download debug builds and replace the
corresponding files and folders in the *VlcMedia/ThirdParty/vlc/* directory.

### Linux (Ubuntu 16.04)
### Linux (Ubuntu 18.04 LTS (Bionic Beaver))

A suitable version of **libvlc** must be installed or compiled from source. If
you ship your game on Linux, you will likely want to include libvlc with it, so
Expand All @@ -68,6 +68,9 @@ run the *VlcMedia/Build/Vlc4LinuxCloneMakeInstall.sh* script from within your
project's root folder. If you later need to make and re-install VLC from the
existing VLC code, run the *Vlc4LinuxMakeInstall.sh* script instead.

To use clang-5.0 (llvm-5.0) as default clang compiler for Ubuntu 18.04 LTS,
run the *VlcMedia/Build/clang-5.0.sh* script.

### Mac, Windows

All required libraries and plug-ins are included in the *ThirdParty* directory
Expand Down