Back to the table of contents|
Building on Mac
- Install clang or g++. Also install Gnu Make. One way to do this is:
- Install Xcode
- Click Xcode->Preferences->Downloads
- Click the down arrow to install the "Command Line Tools"
(If you prefer not to install Xcode, there are other ways
to install these tools, such as with Fink or MacPorts.)
- Open a terminal
- cd waffles/src
- make opt
- There are also some additional tools and demo apps that are not built by default because they require
some dependency libraries to be installed. If you want to build
these, first install:
sudo port install libpng
sudo port install libsdl-framework
sudo port install xorg-libX11
Then, to build the additional tools:
To build the demo apps:
(Some of the demos do not require any dependencies. If you prefer, you can install the dependencies only as needed.)
How do I build optimized binaries?
How do I build binaries with debug symbols?
Where can I get more specific help?
You can ask a question at our forum
. If you
post a question and you do not get a speedy response, please email me. Sometimes the email that is supposed
to notify me that there is a new forum post is incorrectly classified as spam and discarded. My email address is on the main page.
When I run some of the graphical apps, I get an
error message about a "bad adaptive filter type" or
"extra compressed data".
This appears to be caused by an old bug in the
libpng3-dev package. It does not repro with newer
versions. You should probably update your OS.
Back to the table of contents