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