How to build a development version of OpenSCAD, checklist-macosx.txt is meant for deployment builds

git-svn-id: http://svn.clifford.at/openscad/trunk@526 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2010-05-07 16:02:51 +00:00
parent 2aaed5ab1c
commit 38a4aabc2c
1 changed files with 40 additions and 0 deletions

40
doc/build-macosx.txt Normal file
View File

@ -0,0 +1,40 @@
o Prerequisites (MacPorts):
- NB! CGAL requires gcc >= 4.2 (This is default in 10.6 Snow Leopard)
- eigen
- boost
- gmp
- mpfr
- cmake
- qt4-mac-devel
- glew
o An important note about paths:
You can choose where to put the libs you build yourself as long as
this is reflected in the environment variables as specified under
'Build OpenSCAD'.
o Build CGAL >= 3.5
tar xzf CGAL-3.6.tar.gz
cd CGAL-3.6
cmake -DCMAKE_INSTALL_PREFIX=$PWD/../install/CGAL-3.6 -DBUILD_SHARED_LIBS=FALSE
make -j4
make install
o Patch OpenCSG >= 1.3.0
tar xzf OpenCSG-1.3.0.tar.gz
cd OpenCSG-1.3.0
patch -p1 < ../openscad/patches/OpenCSG-1.3.0-MacOSX-port.patch
o Build OpenCSG
qmake -recursive
make
o Build OpenSCAD
cd openscad
export OPENCSGDIR=$PWD/../OpenCSG-1.3.0
export CGALDIR=$PWD/../install/CGAL-3.6
./scripts/release-common.sh