[OpenSCAD] Openscad crash on Intersection()

Brad Pitcher bradpitcher at gmail.com
Sun Jan 29 01:53:12 CET 2012

It likes like a recent commit (
broke the windows build:

i686-pc-mingw32-g++ -c -pipe -fno-keep-inline-dllexport
-fno-strict-aliasing -fpermissive -frounding-math -DEIGEN_DONT_ALIGN -O2
-frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-I'../mingw-cross-env/usr/i686-pc-mingw32/include' -I'src'
-I'objects' -I'objects'
-o objects/CGALRenderer.o src/CGALRenderer.cc

In file included from src/CGAL_renderer.h:30:0,

                 from src/CGALRenderer.cc:37:

src/OGL_helper.h:223:38: error: expected initializer before 'beginCallback'

src/OGL_helper.h:226:38: error: expected initializer before 'endCallback'

src/OGL_helper.h:229:38: error: expected initializer before 'errorCallback'

src/OGL_helper.h:236:38: error: expected initializer before 'vertexCallback'

src/OGL_helper.h:246:38: error: expected initializer before

src/CGALRenderer.cc:143:1: error: expected '}' at end of input

src/CGALRenderer.cc:143:1: error: expected '}' at end of input

make[1]: *** [objects/CGALRenderer.o] Error 1

If I switch back to qgl.h, the build succeeds. Apparently there's something
needed from qgl.h that's not in GL/gl.h or glew.h?
The Linux build still seems to be working. Any idea how to fix this?
On Sat, Jan 28, 2012 at 10:16 AM, Marius Kintel <marius at kintel.net> wrote:

> On Jan 28, 2012, at 18:13 PM, Pasca Andrei wrote:
> > I checked both the binary and the installer and both fail again with the
> same error. However, both files report the same date and git version as in
> the previous build - 2012.01.25 git d8ee4bd.
> Looks like the wrong version.
> > And while we're here - I wonder if the bug and the bug fix affects not
> only the intersection but also the difference, since also this one can
> result in empty trees after normalization?
> Both should be fixed.
>  -Marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20120129/07c58b83/attachment.html

More information about the OpenSCAD mailing list