gl-render.cc: framework OpenGL on MacOSX
Ben Abbott
bpabbott at mac.com
Tue Feb 10 20:45:35 CST 2009
On Feb 10, 2009, at 8:18 PM, John W. Eaton wrote:
> On 10-Feb-2009, Ben Abbott wrote:
>
> | (1) I'm using Thomas' macro to make sure the OpenGL stuff is found.
> |
> | http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2009-February/010703.html
> |
> | If you're not using it, give it a try. If you are, make sure you're
> | not passing some OpenGL specifics to configure.
> |
> | When running configure I pass the following options ...
> |
> | ./configure --prefix=/sw FLIBS=/sw/lib/gcc4.3/lib/libgfortran.dylib
> | F77=/sw/bin/gfortran --infodir='${prefix}/share/info' --mandir='$
> | {prefix}/share/man' --libexecdir='${prefix}/lib' -enable-shared -
> | enable-dl --disable-static --without-mpi --with-hdf5 --with-fftw
> | CPPFLAGS="-g -I/sw/include -I/sw/include/freetype2" FFLAGS="-g -
> ff2c"
> | LDFLAGS="-L/sw/lib/fltk-aqua/lib -L/sw/lib -lfltk_gl -lfltk -
> lpthread"
> | $blas
> |
> | where $blas points to vecLib and is defined as
> |
> | blas='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/
> | Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
> | vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/
> Frameworks/
> | Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/
> | libLAPACK.dylib --with-blas=-Wl,-framework,Accelerate,-dylib_file,/
> | System/Library/Frameworks/Accelerate.framework/Versions/A/
> Frameworks/
> | vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/
> Frameworks/
> | Accelerate.framework/Versions/A/Frameworks/vecLib.framework/
> Versions/A/
> | libBLAS.dylib'
> |
> | Also notice I've setup things to work with the Fink package manager.
> |
> | (2) I've also modified the tests for FTGL in configure.in
> |
> | 707 #ifdef HAVE_FTGL_FTGL_H
> | 708 #ifdef HAVE_FTGL_UPPERCASE
> | 709 #include <FTGL/FTGL.h>
> | 710 #include <FTGL/FTGLTextureFont.h>
> | 711 #else
> | 712 #include <FTGL/ftgl.h>
> | 713 #include <FTGL/FTGLTextureFont.h>
> | 714 #endif
> | 715 #elif HAVE_FTGL_H
> | 716 #ifdef HAVE_FTGL_UPPERCASE
> | 717 #include <FTGL.h>
> | 718 #include <FTGLTextureFont.h>
> | 719 #else
> | 720 #include <ftgl.h>
> | 721 #include <FTGLTextureFont.h>
> | 722 #endif
> | 723 #endif], [
>
> Is there a changeset with all of these things?
>
> jwe
Thomas is working on a changeset related to Mac OSX and OpenGL.
Regarding the FTGL, Shai deduced the problem. However, neither he nor
I am familiar with what was originally intended. In any event, I've
attached a changeset attributed to Shai.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-FTGLTextureFont.patch
Type: application/octet-stream
Size: 1135 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090210/719762f9/attachment.obj
-------------- next part --------------
More information about the Octave-maintainers
mailing list