Skip to content

Commit

Permalink
Merge pull request #17 from rbouqueau/build-macos
Browse files Browse the repository at this point in the history
update macos build instructions
  • Loading branch information
jeanlf authored Sep 26, 2024
2 parents 28265c5 + f06ff07 commit 55d4f99
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions docs/Build/build/GPAC-Build-Guide-for-OSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ brew install cmake scons coreutils gettext yasm git wget pkg-config
3. Install dependencies

```bash
brew install freetype jpeg libpng openjpeg mad faad2 libogg libvorbis theora a52dec ffmpeg x264 aom xvid [email protected] sdl2
brew install freetype jpeg libpng openjpeg mad faad2 libogg libvorbis theora a52dec ffmpeg x264 aom xvid [email protected] sdl2 libcaca kvazaar
```


Expand Down Expand Up @@ -84,9 +84,40 @@ total 42784

_(contents and versions may differ depending on updates and deprecated features)_

## Build gpac
## Build Xcode additional dependencies

Add these only if you explicitely need them or if you plan to use Xcode. The command-line build doesn't need these experimental tools.

Make sure you have the required build tools:

```bash
brew install autoconf automake libtool
```

Install openvvc:

```bash
git clone https://github.com/OpenVVC/OpenVVC.git && cd OpenVVC && autoreconf -iv && ./configure && make
make install
```

Install vvdec:

```bash
git clone https://github.com/fraunhoferhhi/vvdec.git && mkdir vvdec/build && cd vvdec/build && cmake .. && make -j && make install
sudo cp -r ../install/* /usr/local/
```

Install vvenc:

```bash
git clone https://github.com/fraunhoferhhi/vvenc.git && mkdir vvenc/build && cd vvenc/build && cmake .. && make -j && make install
sudo cp -r ../install/* /usr/local/
```

## Build gpac

```bash
cd ../gpac_public
./configure --extra-cflags=-Wno-deprecated
make
Expand Down

0 comments on commit 55d4f99

Please sign in to comment.