octave-maintainers
[Top][All Lists]
Advanced

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

Re: Build errors in MXE


From: John W. Eaton
Subject: Re: Build errors in MXE
Date: Fri, 29 Mar 2013 12:21:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

On 03/29/2013 08:26 AM, PhilipNienhuis wrote:
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.

I checked in a change to fix that.

jwe



reply via email to

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