[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Octave with OpenGL on Linux
From: |
logari81 |
Subject: |
Re: Building Octave with OpenGL on Linux |
Date: |
Thu, 21 Oct 2010 16:45:52 +0200 |
On Wed, 2010-10-20 at 17:30 -0700, Michael D Godfrey wrote:
> On 10/20/2010 02:15 PM, logari81 wrote:
> > Hi, I am interested in testing the new fltk backend. I have tried to
> > build the version 3.3.53 on Linux but I didn't manage to get OpenGL
> > enabled. Actually the problem during configure is:
> >
> > configure:30419: checking whether ld accepts -framework OpenGL
> > configure:30454: g++ -o conftest -g -O2 -framework OpenGL conftest.cpp
> > -lm >&5
> > g++: OpenGL: No such file or directory
> > cc1plus: error: unrecognized command line option "-framework"
> >
> > I don't understand why the configure script uses the -framework option,
> > since it seems to be OS X specific.
> >
> > I would be grateful for any hints.
> >
> > Best regards,
> >
> > Kostas
> >
> It would be good if you checked if you have openGL installed.
>
> Try rpm -qa|grep mesa
> If you do not get at least:
> mesa-libGL
> mesa-libGLU
> mesa-libGL-devel
> mesa-libGLU-devel
>
> then you need to install these.
>
> Michael
>
(since my last message was hold for approval, I resend it without the
attachment)
On Ubuntu 10.04 I have all following packages installed:
libgl1-mesa-swx11
libgl1-mesa-swx11-dev
libglu1-mesa
libglu1-mesa-dev
I have also tried replacing:
libgl1-mesa-swx11
libgl1-mesa-swx11-dev
with:
libgl1-mesa
libgl1-mesa-dev
but with the same problem on configure. Anyway the configure script
finds the GL header files. The only negative check during the configure
which is related to OpenGL is the one with the option "-framework".
Maybe someone else can find other native graphic related problems in the
config.log that I have attached.
As you can see in the attached log file I call the configure script only
with the option --prefix=/opt
Best regards,
Kostas
Attached file:
http://files.ubuntu-gr.org/forum/logari81/Bugs/config.log_.tar_.gz