diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-02 03:43:47 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-02 03:43:47 (GMT) |
commit | c900bc628fafa157aa2f45e0d387563a6a19819e (patch) | |
tree | 189b34d9978362a491a8363f098638423146d635 /README.md | |
parent | 679ae1304e7d1318c2c1e3b8b4f4f974ea061f0f (diff) |
update README with cross-build instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -164,9 +164,22 @@ After that, follow the Compilation instructions below. ### Building for Windows OpenSCAD for Windows is usually cross-compiled from Linux. If you wish to -attempt an MSVC build, please see this site: +attempt an MSVC build on Windows, please see this site: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows +To cross-build, first make sure that you have development tools +installed to get GCC. Then after you've cloned this git repository, run +the script that sets up the environment variables. + + source ./scripts/setenv-mingw-xbuild.sh + +Then run the script to download & compile all the prerequisite libraries above: + + ./scripts/mingw-x-build-dependencies.sh + +After that, follow the Compilation instructions that are printed at the +end of the script (not the ones below). + ### Compilation First, run 'qmake' from Qt4 to generate a Makefile. On some systems you need to |