0 votes

Need some help here, how can I compile Godot source on OSX?!

asked Nov 28, 2018 in Engine by xDGameStudios (28 points)

I get an error, "ImportError : No module named zlib"

1 Answer

+1 vote

I always just use

scons p=osx

If you're using Homebrew (and you should be), you can install zlib with brew install zlib

Edit: XCode also includes zlib, so make sure you have Xcode Tools installed and you won't need the brew version.

answered Nov 29, 2018 by kidscancode (17,132 points)

For the record, the only (optional) additional utility you need to install using Homebrew is yasm:

brew install scons yasm

It's possible to compile Godot without it, but then VP8/VP9 video playback will be extremely slow (and probably unusable).

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.