octave-maintainers
[Top][All Lists]
Advanced

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

Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp


From: Tatsuro MATSUOKA
Subject: Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp
Date: Tue, 24 Jan 2012 09:09:02 +0900 (JST)

Hello

Adding -D_WIN32_WINNT=0x0502 to INCFLAGS in octave-gui.pro.
I could finally build octave-gui.exe

Thanks!

Regards

Tatsuro
--- On Mon, 2012/1/23, Michael Goffioul  wrote:

> On Mon, Jan 23, 2012 at 10:08 AM, Tatsuro MATSUOKA
> <address@hidden> wrote:
> > I have searched GetConsoleWindow in MinGW\include and found
> >
> > MinGW\include\wincon.h:153:HWND WINAPI GetConsoleWindow(void);
> >
> > Around line 153 in wincon.h
> >
> > #if (_WIN32_WINNT >= 0x0500)
> > BOOL WINAPI GetConsoleDisplayMode(LPDWORD);
> > HWND WINAPI GetConsoleWindow(void);
> > #endif
> > #if (_WIN32_WINNT >= 0x0501)
> > DWORD WINAPI GetConsoleProcessList(LPDWORD, DWORD);
> > #endif
> >
> > For Windows XP or later, is WIN32_WINNT >= 0x0501 hold?
> 
> Yes, of course. See
> http://msdn.microsoft.com/en-us/library/aa383745(v=vs.85).aspx
> 
> > Do I have to set -DWIN32_NT=0x500 ?
> 
> You can probably use at least  -D_WIN32_WINNT=0x0502
> 
> Michael.
>


reply via email to

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