gl-render.cc: framework OpenGL on MacOSX

Shai Ayal shaiay at gmail.com
Sat Jan 31 14:36:49 CST 2009


On Sat, Jan 31, 2009 at 9:20 PM, Thomas Treichl <Thomas.Treichl at gmx.net> wrote:
> Shai Ayal schrieb:
>>
>> On Sat, Jan 31, 2009 at 10:50 AM, Thomas Treichl <Thomas.Treichl at gmx.net>
>> wrote:
>>>
>>> That is not quite correct. It does work very well - what does not work is
>>> resizing the figure window and therefore the callback if the figure
>>> window
>>> should be resized. I spent some time some while ago to find out what is
>>> going wrong, but I've not been successful - maybe somebody else on a Mac
>>> can
>>> have a look at this (but I still expect it has nothing to do with the
>>> sources Octave - I expect the problem is in the sources of fltk).
>>
>> This problem is addressed by using a post-compile stage with fltk on OSX:
>> see what the "fltk-config --post" command does on your system (on mine
>> it simply does nothing).
>
> I already tried this so often without any success. It seems like
> "fltk-config --post" also does not change anything with the files I take as
> input (neither the Octave main binary or the fltk_backend.oct file). Maybe
> it has to do with that fltk_backend.oct is not a program but a dynamic lib
> file - I can't say, I'm not an expert on this...

Maybe you can gain some insight from the fltk README.mac file:
http://svn.easysw.com/public/fltk/fltk/tags/branch-1.1.9/README.mac

Also, what verdion of fltk are you using? reading the README.mac file
for version <=1.1.7 I see the following:

KNOWN MacFLTK BUGS

    The following FLTK things are not implemented or don't work
    at present:
       ....
	- OpenGL subwindow during window resize changes position

So maybe an fltk upgrade will solve this problem?

Shai


More information about the Octave-maintainers mailing list