[OpenSCAD] Fixes for compiling on Ubuntu

Karl Ostmo kostmo at gmail.com
Wed Dec 23 14:31:14 CET 2009

Dear Author,
Here are some changes I had to make to compile OpenSCAD on my Ubuntu system
(9.10, x86_64).

The second "else" clause of "openscad.pro" (line 23) should look like this:
else {
    INCLUDEPATH += $(PWD)/../OpenCSG-1.1.1/include
    LIBS += -lmpfr -L$(PWD)/../OpenCSG-1.1.1/lib
    QMAKE_CXXFLAGS += -frounding-math

And in "release-linux.sh" make the following two changes:
* on line 1 use "#!/bin/bash" instead of "#!/bin/sh"
* on line 8 "qmake" should be replaced with "qmake-qt4"

Then I am able to run the program like this:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../OpenCSG-1.1.1/lib/ ./openscad

Also, is there a way we can directly check out the trunk from SVN?

I tried the following command, but it didn't work:
svn co svn://svn.clifford.at/openscad/trunk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20091223/df53d890/attachment.html

More information about the Openscad mailing list