[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 4.0 on Mac OS Yosemite (with gui!)
From: |
Sebastian |
Subject: |
Re: Octave 4.0 on Mac OS Yosemite (with gui!) |
Date: |
Tue, 6 Oct 2015 10:17:58 +0200 |
From: Sebastian
Date: Di. Okt. 06 2015 09:48:32
To: Ben Abbott
Subject: Re: Octave 4.0 on Mac OS Yosemite (with gui!)
>
>> I tried …
>>
>> export CPPFLAGS="-I/sw/include/mesa $CPPFLAGS"
>> export LDFLAGS="-L/sw/lib/mesa -lOSMesa $LDFLAGS”
>>
>> ./configure …
>>
>> but I still get a seg-fault when tying to print using osmesa.
>
>
> Me too :( I made the same error as Marius: I used gnuplot without noticing
> it.
> I put here again what Mike suggested; just to make sure that we test the
> correct thing.
>
> figure('visible','off');plot(1:10);img=__osmesa_print__(gcf);
>
> Sadly this segfaults with system osmesa (Xquartz 2.7.8_rc1, mesa 10.4.7) and
> also with my homebrewed one (10.5.4), i.e., it's not Apple's fault.
>
> otool -L __osmesa_print__.oct
> __osmesa_print__.oct:
> ...
> /usr/local/lib/libOSMesa.8.dylib (compatibility version 9.0.0, current
> version 9.0.0)
> ...
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
> (compatibility version 1.0.0, current version 1.0.0)
>
> Did I understand correctly that OpenGL.framework might be the problem? Any
> other idea how to debug this?
>
> Sebastian
Update: Indeed there is no segfault if opengl is disabled. However, the result
is a black square.
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), (continued)
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Marius Schamschula, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Alexander Hansen, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Alexander Hansen, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Alexander Hansen, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Sebastian, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!),
Sebastian <=
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Mike Miller, 2015/10/08
- Message not available
- Re: Octave 4.0 on Mac OS Yosemite (with gui!), Ben Abbott, 2015/10/08