When trying to build (cross-compile) a recent development version
(16390:1834b91292ab tip) using MXE I get:
:
/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/libgui/src/main-window.cc:
In member function 'void main_window::construct()':
/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/libgui/src/main-window.cc:1147:38:
error: invalid use of incomplete type 'class QDesktopWidget'
In file included from
/home/philip/devel/octdev/mxe/mxe-octave/usr/i686-pc-mingw32/include/QtGui/QApplication:1:0,
from
/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/libgui/src/main-window.cc:27:
/home/philip/devel/octdev/mxe/mxe-octave/usr/i686-pc-mingw32/include/QtGui/qapplication.h:73:7:
error: forward declaration of 'class QDesktopWidget'
/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/libgui/src/main-window.cc:1148:38:
error: invalid use of incomplete type 'class QDesktopWidget'
In file included from
/home/philip/devel/octdev/mxe/mxe-octave/usr/i686-pc-mingw32/include/QtGui/QApplication:1:0,
from
/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/libgui/src/main-window.cc:27:
/home/philip/devel/octdev/mxe/mxe-octave/usr/i686-pc-mingw32/include/QtGui/qapplication.h:73:7:
error: forward declaration of 'class QDesktopWidget'
make[5]: *** [src/src_libgui_src_la-main-window.lo] Error 1
make[5]: Leaving directory
`/home/philip/devel/octdev/mxe/mxe-octave/tmp-octave/octave-3.7.2+/.build/libgui'
make[4]: *** [install] Error 2
This happens using an Octave tarball (created with "make all dist") from a
Linux build that otherwise compiles, builds, and runs fine in plain Linux.
So it must be a windows/MinGW-specific issue.
My last successful MXE build before this one must have been over a week ago.