octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile failure


From: Shai Ayal
Subject: Re: Compile failure
Date: Fri, 23 Apr 2010 23:28:17 +0300

On Fri, Apr 23, 2010 at 7:27 PM, Robert T. Short
<address@hidden> wrote:
> Shai Ayal wrote:
>>
>> On Thu, Apr 15, 2010 at 8:21 PM, Robert T. Short
>> <address@hidden>  wrote:
>>
>>>
>>> I get the following when I try to build octave.  I am running debian
>>> "testing" and updated everything this morning.
>>>
>>> I assume that I am missing a header file or something?  I have attached
>>> tar
>>> files of all the logs (autogen, configure, make) if this snippet isn't
>>> enough.
>>>
>>> Bob
>>>
>>>
>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu
>>> -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2
>>> -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -g
>>> -O2
>>> -pthread -g -O2 -MT
>>> DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo -MD -MP -MF
>>> DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c
>>> DLD-FUNCTIONS/fltk_backend.cc  -fPIC -DPIC -o
>>> DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o
>>> In file included from ./gl-render.h:43,
>>>                 from DLD-FUNCTIONS/fltk_backend.cc:57:
>>> ./graphics.h: In member function 'ColumnVector
>>> graphics_xform::untransform(double, double, bool) const':
>>> ./graphics.h:4054: warning: declaration of 'scale' shadows a member of
>>> 'this'
>>> DLD-FUNCTIONS/fltk_backend.cc: In member function 'void
>>> OpenGL_fltk::overlay()':
>>> DLD-FUNCTIONS/fltk_backend.cc:175: error: 'gluOrtho2D' was not declared
>>> in
>>> this scope
>>> DLD-FUNCTIONS/fltk_backend.cc: In constructor
>>> 'plot_window::plot_window(int,
>>> int, int, int, figure::properties&)':
>>> DLD-FUNCTIONS/fltk_backend.cc:330: warning: 'plot_window::fp' will be
>>> initialized after
>>> DLD-FUNCTIONS/fltk_backend.cc:327: warning:   'int plot_window::shift'
>>> DLD-FUNCTIONS/fltk_backend.cc:220: warning:   when initialized here
>>> DLD-FUNCTIONS/fltk_backend.cc: In member function 'void
>>> plot_window::set_axes_currentpoint(graphics_object, int, int)':
>>> DLD-FUNCTIONS/fltk_backend.cc:468: warning: declaration of 'x' shadows a
>>> member of 'this'
>>> DLD-FUNCTIONS/fltk_backend.cc:468: warning: declaration of 'y' shadows a
>>> member of 'this'
>>> make[3]: ***
>>> [DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo]
>>> Error 1
>>> make[3]: Leaving directory
>>> `/home/rtshort/Mirrored/octave/Sources/octave-full/src'
>>>
>>>
>>
>> Hi
>>
>> Is this a regression? When was the last time you managed to compile
>> the current sources?
>>
>> Shai
>>
>>
>>
>
> I haven't compiled the sources for a long time.  I just reinstalled linux
> and most likely there is a package that isn't installed.  I don't see any
> such thing in the configure log, but I assume that I am simply missing
> something.  I don't get a missing header error though.
>
> So, if someone can tell me where "gluOrtho2D" lives, I can get past this
> problem.
>
> Bob
>
>

try freeglut3-dev and/or libglu1-mesa-dev.
However, this is a bug in configure -- it should search for these
libraries and warn.
I'll try to fix this

Shai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]