SEARCH
TOOLBOX
LANGUAGES
InstallSnowLeopard

InstallSnowLeopard

From SOFAWiki

Jump to: navigation, search

SOFA on Mac OS X 10.6 (Snow Leopard)

Update: a new pre-compiled dependencies package supporting both 32-bits and 64-bits is now available: dependencies-mac-i386+x86_64.zip

Some manipulations are required if you want to install Sofa (from sources) on Mac OS X 10.6 ,aka Snow Leopard.

(TIP : to ensure that you will not be bothered about 32/64 bits, add the flag +universal when installing package with Macport)

port install libpng +universal

Then add these two lines at the beginning of your sofa-local.cfg file (assuming you have the default configuration for macport)

 INCLUDEPATH += /opt/local/include
 LIBS += -L/opt/local/lib


  • Compile in 32bits. Support for 64bits is quite hazardous due to some libraries linking error. To force 32bits compilation, add this to the sofa-local.cfg file :
CONFIG += x86