octave-maintainers
[Top][All Lists]
Advanced

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

Build errors in MXE


From: PhilipNienhuis
Subject: Build errors in MXE
Date: Fri, 29 Mar 2013 05:26:33 -0700 (PDT)

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.

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Build-errors-in-MXE-tp4651308.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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