Building OpenCSG - How the Heck?

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

Building OpenCSG - How the Heck?

Cathal Garvey
Hi all,
I'm trying to build OpenCSG so I can build/use the latest version of OpenSCAD. It fails on "make" with a string of "XYZ not declared in this scope" errors.
I've attached the full output after I go into the directory and type "make". Can anyone make sense of this?

I tried this with OpenCSG 1.1.1 and got the same error, by the way. I was hoping the latest OpenCSG would be different.
--
letters.cunningprojects.com
twitter.com/onetruecathal

OpenCSG make error.txt (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building OpenCSG - How the Heck?

Stefan Farthofer


On Thu, Jan 7, 2010 at 4:48 PM, Cathal Garvey <[hidden email]> wrote:
Hi all,
I'm trying to build OpenCSG so I can build/use the latest version of OpenSCAD. It fails on "make" with a string of "XYZ not declared in this scope" errors.
I've attached the full output after I go into the directory and type "make". Can anyone make sense of this?
You missed the line before all the "not declared" errors:
main.cpp:25:21: error: GL/glut.h: No such file or directory

looks like you are missing GLUT.

hth,
Stefan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building OpenCSG - How the Heck?

Clifford Wolf
In reply to this post by Cathal Garvey
Hi,

On Thu, Jan 07, 2010 at 03:48:38PM +0000, Cathal Garvey wrote:
> I'm trying to build OpenCSG so I can build/use the latest version of
> OpenSCAD. It fails on "make" with a string of "XYZ not declared in this
> scope" errors.

the first error generated is almost always the important one:
main.cpp:25:21: error: GL/glut.h: No such file or directory

install glut (or built opencsg without the example programs).

yours,
 - clifford

--
 ____   ___   ____ _  __  _     _ www.rocklinux.org
|  _ \ / _ \ / ___| |/ / | |   (_)_ __  _   ___  __
| |_) | | | | |   | ' /  | |   | | '_ \| | | \ \/ /
|  _ <| |_| | |___| . \  | |___| | | | | |_| |>  <
|_| \_\\___/ \____|_|\_\ |_____|_|_| |_|\__,_/_/\_\

Loading...