0 votes

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

in Engine by (29 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.

by (21,920 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.