Skip to content

jefhai/openmw-deps-mac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository's intent is to provide an automated way to build all dependencies required for OpenMW.

Prerequisites

  • Xcode with OS X 10.11 SDK (7.0+)
  • CMake
  • pkg-config

Building & installing

  • Clone the repo

  • Create build dir

  • Run CMake. Example (it assumes that the build directory is a child of source directory): cmake ..

  • Build: make

  • Now all files should be in /your/build/directory/path/openmw-deps, you should specify this path while running CMake for OpenMW later

Caveats

Homebrew

If you have lots of formulae installed with Homebrew in /usr/local, some of these may be picked up during a build and lead to linking with unexpected binaries. For example, OpenSceneGraph tries to use libtiff if present. To avoid that OS X sandboxing mechanism can be used.

Here's how the example commands above may look like that with sandbox-exec:

$ sandbox-exec -f ../sandbox.sb cmake ..
$ sandbox-exec -f ../sandbox.sb make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • CMake 96.0%
  • Shell 4.0%