[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp
From: |
Michael Goffioul |
Subject: |
Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp |
Date: |
Mon, 23 Jan 2012 09:38:43 +0000 |
On Mon, Jan 23, 2012 at 9:15 AM, Tatsuro MATSUOKA <address@hidden> wrote:
> Hello
>
> I have now trying to build octave-gui on MinGW platform.
> In comping src/terminal/win32/QConsole.cpp, I have met the following error.
>
> src/terminal/win32/QConsole.cpp:196:39: error: 'GetConsoleWindow' was not
> declared in this scope
>
> The GetConsoleWindow seems to be a winapi function.
> Am I missing something for Win32 API?
You're missing a high-enough definition for _WIN32_WINNT. See
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683175(v=vs.85).aspx
If the function is not part of MinGW Win32 headers, then it's a
problem with MinGW.
Michael.