octave-maintainers
[Top][All Lists]
Advanced

[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 09:48:32 +0200

> 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


reply via email to

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