Editing MG/Mac Compiling

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 15: Line 15:
 
In this example you'll see how to install the packages with MacPorts which will handle the install of dependencies. (Full dependency lists are available in [[MG/Linux Compiling|Linux Compiling]] section if something is missing and you would like to install them manually.)
 
In this example you'll see how to install the packages with MacPorts which will handle the install of dependencies. (Full dependency lists are available in [[MG/Linux Compiling|Linux Compiling]] section if something is missing and you would like to install them manually.)
  
   sudo port install git pkgconfig cmake libsdl2 lua jpeg libpng freetype ftgl libogg glew libvorbis cppunit fribidi miniupnpc
+
   sudo port install git pkgconfig cmake libsdl lua jpeg libpng freetype ftgl libogg glew libvorbis cppunit fribidi miniupnpc VLC gcc49 wxWidgets-3.0
 
+
If you have few possibilities, then always install latest stable version of the package (not beta or devel).
  sudo port install curl wxWidgets-3.0
 
If you have few possibilities, then always install latest stable version (or even older) of the package (not beta or devel).
 
 
 
Choosing correct [http://www.xquartz.org/releases/index.html X11 for Mac OS] is a bit tricky especially if you have some version already installed, but if you haven't just do:
 
  sudo port install xorg-server
 
 
 
Don't try compile with VLC unless you really have to (long list of nasty "dynamic" dependencies).
 
  
  
Line 30: Line 23:
  
 
* Retrieve the build dependencies / 3rd party libraries and extract the contents of the archive in your library directory ~/Library/Frameworks
 
* Retrieve the build dependencies / 3rd party libraries and extract the contents of the archive in your library directory ~/Library/Frameworks
 +
  
 
=== Configuring Environment ===
 
=== Configuring Environment ===
Line 53: Line 47:
 
Once that has been added you will need to source the configuration file again to pick up the new settings
 
Once that has been added you will need to source the configuration file again to pick up the new settings
 
  source ~/.profile
 
  source ~/.profile
 +
  
 
== Preparing to compile ==
 
== Preparing to compile ==
Line 105: Line 100:
 
*[[MG/Windows Compiling|Windows Compiling]]
 
*[[MG/Windows Compiling|Windows Compiling]]
 
*[[MG/FreeBSD Compiling|FreeBSD Compiling]]
 
*[[MG/FreeBSD Compiling|FreeBSD Compiling]]
 
 
[[Category:MG]]
 
[[Category:Development]]
 

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)