False alarm, it was my fault... openscad was getting linked against
a wrong version of libGL, and of course glxinfo and glewinfo were not.
I'm really excited about OpenSCAD, it looks like exactly what I've been
wanting for a while. For some reason it took way too long to find (I
only
eventually heard of it from the RepRap project. Perhaps the project
needs a freshmeat page.
Britton
On Sat, 02 Jan 2010 10:01 +0100, "Clifford Wolf" <
[hidden email]>
wrote:
> Hi,
>
> On Fri, Jan 01, 2010 at 11:40:44PM -0900, Britton Kerin wrote:
> > I think I have an OpenGL 2.0 compatible card, at least:
> >
> > rhino$ glxinfo | grep '2\.'
> > OpenGL version string: 2.1.2 NVIDIA 173.14.09
> >
> > However, openscad gives me a warning about missing openGL
> > support on startup.
>
> interesting..
>
> > Any tips where to start looking for the problem?
>
> the relevant code from glview.cc is:
>
> --snip--
> GLenum err = glewInit();
> if (GLEW_OK != err) {
> fprintf(stderr, "GLEW Error: %s\n",
> glewGetErrorString(err));
> }
> const char *openscad_disable_gl20_env =
> getenv("OPENSCAD_DISABLE_GL20");
> if (openscad_disable_gl20_env &&
> !strcmp(openscad_disable_gl20_env, "0"))
> openscad_disable_gl20_env = NULL;
> if (glewIsSupported("GL_VERSION_2_0") &&
> openscad_disable_gl20_env == NULL)
> --snap--
>
> so unless you have set OPENSCAD_DISABLE_GL20 in your environment you
> should
> start looking at the glew library and the handling of "GL_VERSION_2_0"
> there..
>
> yours,
> - clifford
>
> --
> Walking on water and developing software from a specification are easy if
> both are frozen.
> _______________________________________________
> OpenSCAD mailing list
>
[hidden email]
>
http://rocklinux.net/mailman/listinfo/openscad