[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gl-render.cc: framework OpenGL on MacOSX
From: |
Jonathan Stickel |
Subject: |
Re: gl-render.cc: framework OpenGL on MacOSX |
Date: |
Tue, 10 Feb 2009 13:19:20 -0700 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
Ben Abbott wrote:
On Feb 10, 2009, at 1:59 PM, Jonathan Stickel <address@hidden> wrote:
On 2/10/09 address@hidden wrote:
Date: Tue, 10 Feb 2009 18:04:11 +0200
From: Shai Ayal <address@hidden>
Subject: Re: gl-render.cc: framework OpenGL on MacOSX
To: Ben Abbott <address@hidden>
Cc: octave maintainers mailing list <address@hidden>
Message-ID:
<address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
On Tue, Feb 10, 2009 at 5:21 PM, Ben Abbott <address@hidden> wrote:
>
> On Feb 9, 2009, at 1:15 PM, Thomas Treichl wrote:
>
>> Ben Abbott schrieb:
>>>
>>> The result of configure is below.
>>
>> Ok, let me know if your next compilation also is successful (at
least the
>> file src/gl-render.cc). I is compiled without the
three-dots-call of
>> gluTessCallback on your Mac.
>>
>> Thomas
>
> With the liboctave fix, I'm now able to build octave again and the
fltk
> backend actually functions for me!
<snip>
It looks like I am also seeing this issue of compiling gl-render.cc on
Mac. Has the fix propogated to the primary octave development branch?
Jonathan
Yes
Hmm, OK, but I am getting this error:
g++ -c -I/opt/local/include -fPIC -I. -I../../src -I.. -I../liboctave
-I../src -I../libcruft/misc -I../.. -I../../liboctave -I../../src
-I../../libcruft/misc -DHAVE_CONFIG_H -mieee-fp
-I/opt/local/include/freetype2 -I/opt/local/include -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/include -I/opt/local/include
../../src/graphics.cc -o pic/graphics.o
../../src/gl-render.cc: In member function ‘virtual void
opengl_tesselator::init()’:
../../src/gl-render.cc:273: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:273: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc:275: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:275: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc:277: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:277: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc:279: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:279: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc:281: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:281: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc:283: error: invalid conversion from ‘void (*)()’
to ‘GLvoid (*)(...)’
../../src/gl-render.cc:283: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
../../src/gl-render.cc: In member function ‘virtual void
opengl_renderer::draw(const axes::properties&)’:
../../src/gl-render.cc:595: error: invalid conversion from ‘int*’ to
‘GLint*’
../../src/gl-render.cc:595: error: initializing argument 2 of ‘void
glGetIntegerv(GLenum, GLint*)’
../../src/gl-render.cc: In member function ‘virtual void
opengl_renderer::init_marker(const std::string&, double, float)’:
../../src/gl-render.cc:2677: error: invalid conversion from ‘int*’ to
‘GLint*’
../../src/gl-render.cc:2677: error: initializing argument 2 of ‘void
glGetIntegerv(GLenum, GLint*)’
make[2]: *** [pic/gl-render.o] Error 1
The end of configure shows:
Octave is now configured for i386-apple-darwin8.11.1
Source directory: ..
Installation prefix: /usr/local/octave/3.1.52+
C compiler: gcc -mieee-fp -Wall -W -Wshadow
-I/usr/local/include -I/opt/local/include
C++ compiler: g++ -mieee-fp -I/opt/local/include/freetype2
-I/opt/local/include -Wall -W -Wshadow -Wold-style-cast
-I/usr/local/include -I/opt/local/include
Fortran compiler: g95 -O -mieee-fp
Fortran libraries: -L/usr/local/lib -L/opt/local/lib
-L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin8.11.1/4.0.4/
-L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin8.11.1/4.0.4
-L/usr/local/lib// -L/opt/local/lib//
-L/opt/local/lib/gcc-lib/i386-apple-darwin8.11.1/4.0.4/ -L/usr/lib/gcc//
-L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin8.11.1/4.0.4///
-L/opt/local/lib/gcc-lib/i386-apple-darwin8.11.1/4.0.4/// -L/usr/lib//
-lmetis -lhdf5 -lz -lf95 -lm -lSystemStubs -lmx
BLAS libraries: -framework Accelerate
FFTW libraries:
GLPK libraries: -lglpk
UMFPACK libraries: -lumfpack
AMD libraries: -lamd
CAMD libraries: -lcamd
COLAMD libraries: -lcolamd
CCOLAMD libraries: -lccolamd
CHOLMOD libraries: -lcholmod
CXSPARSE libraries: -lcxsparse
ARPACK libraries:
QRUPDATE libraries:
HDF5 libraries: -lhdf5
CURL libraries: -lcurl
REGEX libraries: -L/opt/local/lib -lpcre
QHULL libraries: -lqhull
OPENGL libraries: -L/usr/X11R6/lib -lGL -lGLU -L/opt/local/lib
-lfreetype -lz -Wl,-framework,CoreServices
-Wl,-framework,ApplicationServices -lftgl
FLTK backend libs: -L/opt/local/lib -lfltk_gl -framework AGL
-framework OpenGL -lfltk -lpthread -framework Carbon -framework
ApplicationServices
X11 include flags: /usr/X11R6/include
X11 libraries: -lX11
LIBS: -lreadline -lncurses -framework Accelerate
-lhdf5 -lz -lm -Wl,-framework -Wl,Carbon
Default pager: less
gnuplot: gnuplot
Magick config: GraphicsMagick++-config
Do internal array bounds checking: false
Build static libraries: false
Build shared libraries: true
Dynamic Linking: true (dyld)
Include support for GNU readline: true
64-bit array dims and indexing: false
configure: WARNING: qrupdate not found. The QR & Cholesky updating
functions will be slow.
configure: WARNING: arpack not found. This will result in a lack of the
eigs function.
configure: WARNING: FFTW library not found. Octave will use the
(slower) FFTPACK library instead.
configure:
NOTE: libraries may be skipped if a library is not found OR
if the library on your system is missing required features.
Thanks,
Jonathan
- Re: gl-render.cc: framework OpenGL on MacOSX, (continued)
Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/09
Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/09
Re: gl-render.cc: framework OpenGL on MacOSX, Jonathan Stickel, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX,
Jonathan Stickel <=
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX, John W. Eaton, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX, John W. Eaton, 2009/02/10
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Thomas Treichl, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Jonathan Stickel, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11