README_MAC.TXT 650 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4 5 6
Pour compiler CGoGN sur MAC (testé sur OS X 10.6)

1) créer un lien de sys/malloc vers malloc.h dans usr/include:
    cd /usr/include; sudo ln -s sys/malloc.h . 
   Ceci permet d'éviter pas mal de pb de compilation de source linux.

Sylvain Thery's avatar
Sylvain Thery committed
7 8
2) installer avec macports  ou homebrew
    zlib,  glew (sudo port install xxxx)
Pierre Kraemer's avatar
Pierre Kraemer committed
9

Sylvain Thery's avatar
Sylvain Thery committed
10
3) installer Qt (http://qt.nokia.com/downloads/)
Pierre Kraemer's avatar
Pierre Kraemer committed
11 12

4) Ajouter (si ce n'est déjà fait) dans bash_profile:
Sylvain Thery's avatar
Sylvain Thery committed
13
    export LD_LIBRARY_PATH=/opt/local/lib 
Pierre Kraemer's avatar
Pierre Kraemer committed
14 15 16 17 18 19
    export C_INCLUDE_PATH=/opt/local/include:/usr/X11/include
    export CPLUS_INCLUDE_PATH=/opt/local/include:/usr/X11/include
    export LIBRARY_PATH=/opt/local/lib:/usr/X11/lib