Difference between revisions of "Compiling ScummVM/macOS"

Jump to navigation Jump to search
→‎Manual compilation: added libvpx and libmikmod links
(Replaced library methods numbering with internal links)
(→‎Manual compilation: added libvpx and libmikmod links)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
== Things needed ==
== Things needed ==


=== Xcode ===
=== 1. Xcode ===
This can be installed from the [https://itunes.apple.com/us/app/xcode/id497799835?mt=12 Mac App Store].
This can be installed from the [https://itunes.apple.com/us/app/xcode/id497799835?mt=12 Mac App Store].


=== Xcode command line tools ===
=== 2. Xcode command line tools ===
After installing Xcode, open a terminal and type:
After installing Xcode, open a terminal and type:


Line 17: Line 17:
</syntaxhighlight>
</syntaxhighlight>


=== Package manager ===
=== 3. Package manager ===
Getting the required libraries is easier with a package manager. The three most well-known ones are [http://brew.sh/ Homebrew], [https://www.macports.org/ MacPorts], and [http://www.finkproject.org/ Fink].
Getting the required libraries is easier with a package manager. The three most well-known ones are [http://brew.sh/ Homebrew], [https://www.macports.org/ MacPorts], and [http://www.finkproject.org/ Fink].


Line 31: Line 31:


== Obtaining the required libraries ==
== Obtaining the required libraries ==
If you only want to build scummvm for your own use and are fine executing it from the command line, you can use a package manager ([[#Homebrew|method 1]] and [[#MacPorts|2 below]]) to get the required libraries. However those methods to not provide the static libraries needed to build a ScummVM.app bundle. If your goal is to build such a bundle you will need to download our libs package ([[#Download our libs package|method 3]]) or compile the libraries manually ([[#Manual compilation|method 4]]).
If you only want to build scummvm for your own use and are fine executing it from the command line, you can use a package manager ([[#Homebrew|method 1]] and [[#MacPorts_2|2 below]]) to get the required libraries. However those methods to not provide the static libraries needed to build a ScummVM.app bundle. If your goal is to build such a bundle you will need to download our libs package ([[#Download our libs package|method 3]]) or compile the libraries manually ([[#Manual compilation|method 4]]).


=== Homebrew ===
=== Homebrew ===
Line 85: Line 85:
** [http://liba52.sourceforge.net liba52]
** [http://liba52.sourceforge.net liba52]
** [https://theora.org Theora]
** [https://theora.org Theora]
** [https://github.com/webmproject/libvpx libvpx]
** [https://mikmod.sourceforge.net/ libmikmod]
** For cloud support:
** For cloud support:
*** [https://www.libsdl.org/projects/SDL_net/ SDL_net 2] or [https://www.libsdl.org/projects/SDL_net/release-1.2.html 1.2] (use same version as SDL)
*** [https://www.libsdl.org/projects/SDL_net/ SDL_net 2] or [https://www.libsdl.org/projects/SDL_net/release-1.2.html 1.2] (use same version as SDL)

Navigation menu