Download OpenSCAD User Manual OpenSCAD User Manual

Transcript
Testing images fails with 'morphology not found" for ImageMagick in the log
Your version of imagemagick is old. Upgrade imagemagick, or pass -DCOMPARATOR=old to cmake.
The comparison will be of lowered reliability.
I moved the dependencies I built and now openscad won't run
It isn't advised to move them because the build is using RPATH hard coded into the openscad
binary. You may try to workaround by setting the LD_LIBRARY_PATH environment variable to
place yourpath/lib first in the list of paths it searches. If all else fails, you can re-run
the entire dependency build process but export the BASEDIR environment variable to your
desired location, before you run the script to set environment variables.
Tricks and tips
Reduce space of dependency build
After you have built the dependencies you can free up space by removing the $BASEDIR/src
directory - where $BASEDIR defaults to $HOME/openscad_deps.
Preferences
OpenSCAD's config file is kept in ~/.config/OpenSCAD/OpenSCAD.conf.
Setup environment to start developing OpenSCAD in Ubuntu 11.04
The following paragraph describes an easy way to setup a development environment for
OpenSCAD in Ubuntu 11.04. After executing the following steps QT Creator can be used to
graphically start developing/debugging OpenSCAD.
• Add required PPA repositories:
# sudo add-apt-repository ppa:chrysn/openscad
• Update and install required packages:
# sudo apt-get update
# sudo apt-get install git build-essential qtcreator libglew1.5-dev libopencsg-dev
libcgal-dev libeigen2-dev bison flex
• Get the OpenSCAD sources:
# mkdir ~/src
# cd ~/src
# git clone https://github.com/openscad/openscad.git
• Build OpenSCAD using the command line:
# cd ~/src/openscad
# qmake
# make
• Build OpenSCAD using QT Creator:
Just open the project file openscad.pro (CTRL+O) in QT Creator and hit the build all
(CTRL+SHIFT+B) and run button (CTRL+R).
102