Compiling

From Sailcut

Jump to: navigation, search

Sailcut CAD should compile on a wide variety of systems provided you have a C++ compiler and Trolltech's Qt4 toolkit.

You can download Qt Open Source Editition from http://trolltech.com/downloads/opensource.

Linux

The procedure to compile and install Sailcut CAD involves the three steps : running the configure script, compiling and installing. To compile Sailcut CAD from source, download the source code then run:

tar zxf sailcut-x.y.z.tar.gz
cd sailcut-x.y.z
./configure
make
make install

Mac OS/X

The following procedure has been tested on Mac OS/X 10.4.

First of all, you will need to compile Qt/Mac Open Source Edition, which can be downloaded from http://www.trolltech.com/products/qt/downloads. Type the following in a Terminal:

tar zxf qt-mac-opensource-src-4.3.3.tar.gz
cd qt-mac-opensource-src-4.3.3
./configure -release -static -no-framework
make
rm -f lib/*.la

Next, download the source code of Sailcut CAD from http://sourceforge.net/project/showfiles.php?group_id=60429

Now run the following in a Terminal, replacing /path/to by the path to where you put Qt:

tar zxf sailcut-1.3.1.tar.gz
cd sailcut-1.3.1
make -f Makefile.mac QTDIR=/path/to/qt-mac-opensource-src-4.3.3

This will produce a .dmg image which you can just click to run Sailcut CAD.

Windows (out of date)

First of all you need various compilation tools from the MinGW project. Download and install the following:

Next, you should download and install Qt/Windows Open Source Edition.

To compile Sailcut CAD on your system, launch MSYS to get a command prompt, then type the following in the base directory of the Sailcut distribution:

./configure
make
Personal tools