octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenGL error with mxe-octave build


From: John D
Subject: OpenGL error with mxe-octave build
Date: Thu, 26 Jun 2014 12:10:57 -0400

Message: 1
Date: Thu, 26 Jun 2014 10:16:56 -0400
From: "John W. Eaton" <address@hidden>
To: octave maintainers mailing list <address@hidden>
Subject: OpenGL error with mxe-octave build
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm seeing the following error when trying to build the current default
branch for Windows with mxe-octave.  Is it just me, or is anyone else
hitting this error?  If it works for others, am I missing some package? 
  I did just try to update to the latest sources by creating a 4.1.0+.tar.gz
file from the current default branch and dropping it in to an old build
tree, so maybe something that needs to be updated was not? 
  I can try starting from a completely clean mxe-octave build tree and see
if that avoids the problem but it will take a while for a complete build to
finish so I thought I would ask first.

jwe


libtool: compile:  i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. 
-I/scratch/jwe/src/m
xe-octave-hg/tmp-octave/octave-4.1.0+/libinterp -I.. 
-I/scratch/jwe/src/mxe-octa
ve-hg/tmp-octave/octave-4.1.0+/liboctave/cruft/misc
-I/scratch/jwe/src/mxe-octav
e-hg/tmp-octave/octave-4.1.0+/liboctave/array -I../liboctave/numeric
-I/scratch/ jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/liboctave/numeric
-I../liboctave/
operators
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/liboctave/op
erators
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/liboctave/syst
em
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/liboctave/util
-I/s
cratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/octave-value
-I/
scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/operators
-Ipar
se-tree
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/pars
e-tree -Icorefcn
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libin
terp/corefcn -I../libgnu
-I/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.
0+/libgnu -I/scratch/jwe/src/mxe-octave-hg/usr/i686-w64-mingw32/include
-I/scrat
ch/jwe/src/mxe-octave-hg/usr/i686-w64-mingw32/include/freetype2
-I/scratch/jwe/s
rc/mxe-octave-hg/usr/i686-w64-mingw32/include
-I/scratch/jwe/src/mxe-octave-hg/u
sr/i686-w64-mingw32/include/freetype2
-I/scratch/jwe/src/mxe-octave-hg/usr/i686-
w64-mingw32/include
-I/scratch/jwe/src/mxe-octave-hg/usr/i686-w64-mingw32/includ
e -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT
corefcn/corefcn_libcorefcn_la-hess.lo -MD -MP -MF
corefcn/.deps/corefcn_libcorefcn_la-hess.Tpo -c
/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/corefcn/he
ss.cc
  -DDLL_EXPORT -DPIC -o corefcn/.libs/corefcn_libcorefcn_la-hess.o
/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/corefcn/gl
-render.cc: 
In member function 'virtual void opengl_renderer::init_gl_context(bool,
const Matrix&)':
/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/corefcn/gl
-render.cc:647:17: 
error: 'GL_MULTISAMPLE' was not declared in this scope
        glEnable (GL_MULTISAMPLE);
                  ^
/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/corefcn/gl
-render.cc:649:22: 
error: 'GL_SAMPLE_BUFFERS' was not declared in this scope
        glGetIntegerv (GL_SAMPLE_BUFFERS, &iMultiSample);
                       ^
/scratch/jwe/src/mxe-octave-hg/tmp-octave/octave-4.1.0+/libinterp/corefcn/gl
-render.cc:650:22: 
error: 'GL_SAMPLES' was not declared in this scope
        glGetIntegerv (GL_SAMPLES, &iNumSamples);
                       ^

--------

I tried compiling 4.1.0 a little a few mins ago and see the same thing - a
quick search shows Philip had reported this on the maintainers list with a
patch.

http://octave.1599824.n4.nabble.com/Re-MXE-and-GL-MULTISAMPLE-tt4664309.html
#a4664324

http://octave.1599824.n4.nabble.com/file/n4664324/gl-render.cs





reply via email to

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