diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-04 04:33:04 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-04 04:33:04 (GMT) |
commit | 9a05c66e1ccbdf44ad5c1bf333faff204b629619 (patch) | |
tree | 8222f38f908933bd4939825e0a7ce2d0b55d4103 /README.md | |
parent | 491caa15ada3e51fd252aaa74de31178f01ff5ad (diff) |
document linux source build. add env variable script for linux src builds
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 19 insertions, 9 deletions
@@ -79,10 +79,10 @@ To build OpenSCAD, you need some libraries and tools. The version numbers in brackets specify the versions which have been used for development. Other versions may or may not work as well. -If you're using Ubuntu, you can install these libraries from -aptitude. If you're using Mac, there is a build script that compiles -the libraries from source. Follow the instructions for the platform -you're compiling on below. +If you're using a newer version of Ubuntu, you can install these +libraries from aptitude. If you're using Mac, or an older Linux, there +are build scripts that download and compile the libraries from source. +Follow the instructions for the platform you're compiling on below. * [Qt4 (4.4 - 4.7)](http://www.qt.nokia.com/) * [CGAL (3.6 - 3.9)](http://www.cgal.org/) @@ -117,15 +117,25 @@ compilation process. After that, follow the Compilation instructions below. -### Building for Ubuntu +### Building for older Linux or without root access -If you have done this and want to contribute, fork the repo and -contribute docs on how to build for windows! +First, make sure that you have compiler tools (build-essential on ubuntu). +Then after you've cloned this git repository, run the script that sets up the +environment variables. + + source ./scripts/setenv-linbuild.sh + +Then run the script to download & compile all the prerequisite libraries above: + + ./scripts/linux-build-dependencies.sh + +After that, follow the Compilation instructions below. ### Building for Windows -If you have done this and want to contribute, fork the repo and -contribute docs on how to build for windows! +OpenSCAD for Windows is usually cross-compiled from Linux. If you wish to +attempt an MSVC build, please see this site: +http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows ### Compilation |