Nabble has removed Mailing-list integration.
Posts created here DO NOT GET SENT TO THE MAILING LIST.
Mailing-list emails DO NOT GET POSTED TO THE FORUM.
So basically the Forum is now out of date, we are looking into migrating the history.

For now you should send emails, people will see them, discuss@lists.openscad.org.

Problems installing OpenSCAD

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems installing OpenSCAD

Mario Alexandre Nobre Saleiro
Hi all!

First of all I would like to congratulate Clifford Wolf for developing
OpenSCAD. I believe this software is the one that was missing in the
Linux world and have already read great reports on the software.
However I couldn't try it yet but I hope to do it soon. I am running
Ubuntu 9.10 with kernel 2.6.31-16-generic and I have installed OpenSCAD
using the instructions listed in this webpage:
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX

The first time I tried I got some errors during the process concerning
some GLUT files but then I installed GLUT3 and GLUT3-dev files and the
errors no longer appeared. Then I followed the rest of the process and
finally tried to run OpenSCAD. However, when I type "openscad" in the
console I get the following error:

xxxxxxx@xxxxxxx-laptop:~$ openscad
terminate called after throwing an instance of
'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
File: /usr/include/CGAL/Interval_nt.h
Line: 154
Explanation: Wrong rounding: did you forget the -frounding-math option
if you use GCC?
Aborted

Can anyone help me with this error?
By the way, I am not a very advanced linux user. It's just my third
month using linux so there's lots of stuff that I don't know yet. But I
learn fast :)

Thank you to everyone in advance!

By the way, merry christmas to all!

With my best regards

Mário Saleiro



Reply | Threaded
Open this post in threaded view
|

Re: Problems installing OpenSCAD

Clifford Wolf
Hi,

On Fri, Dec 25, 2009 at 01:04:30PM +0000, Mario Alexandre Nobre Saleiro wrote:

> errors no longer appeared. Then I followed the rest of the process and
> finally tried to run OpenSCAD. However, when I type "openscad" in the
> console I get the following error:
>
> xxxxxxx@xxxxxxx-laptop:~$ openscad
> terminate called after throwing an instance of
> 'CGAL::Assertion_exception'
>   what():  CGAL ERROR: assertion violation!
> Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
> File: /usr/include/CGAL/Interval_nt.h
> Line: 154
> Explanation: Wrong rounding: did you forget the -frounding-math option
> if you use GCC?
> Aborted
>
> Can anyone help me with this error?

you need to recompile it with -frounding-math (the current development
version does it automatically).

if you can't or won't update to the svn head for some reason you could also
force the use of -frounding-math by adding this line to the end of openscad.pro:

        QMAKE_CXXFLAGS += -frounding-math

and then run "qmake-qt4", "make clean" and "make".

I hope that helps..

yours,
 - clifford

--
"Gee, I wish we had one of those doomsday machines."
 - dr. strangelove, the movie

Reply | Threaded
Open this post in threaded view
|

Re: Problems installing OpenSCAD

Mario Alexandre Nobre Saleiro
Hi again,

I have just made what you suggested ant it worked like a charm :D Thank
you very much for your help and congratulations for your work in the
development of OpenSCAD. Hope you have a great 2010!

With my best regards,

Mário Saleiro


Sex, 2009-12-25 às 19:08 +0100, Clifford Wolf escreveu:

> Hi,
>
> On Fri, Dec 25, 2009 at 01:04:30PM +0000, Mario Alexandre Nobre Saleiro wrote:
> > errors no longer appeared. Then I followed the rest of the process and
> > finally tried to run OpenSCAD. However, when I type "openscad" in the
> > console I get the following error:
> >
> > xxxxxxx@xxxxxxx-laptop:~$ openscad
> > terminate called after throwing an instance of
> > 'CGAL::Assertion_exception'
> >   what():  CGAL ERROR: assertion violation!
> > Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
> > File: /usr/include/CGAL/Interval_nt.h
> > Line: 154
> > Explanation: Wrong rounding: did you forget the -frounding-math option
> > if you use GCC?
> > Aborted
> >
> > Can anyone help me with this error?
>
> you need to recompile it with -frounding-math (the current development
> version does it automatically).
>
> if you can't or won't update to the svn head for some reason you could also
> force the use of -frounding-math by adding this line to the end of openscad.pro:
>
> QMAKE_CXXFLAGS += -frounding-math
>
> and then run "qmake-qt4", "make clean" and "make".
>
> I hope that helps..
>
> yours,
>  - clifford
>