[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make fails for octave gui using mingw
From: |
Kai Habel |
Subject: |
Re: make fails for octave gui using mingw |
Date: |
Sun, 20 Nov 2011 14:56:59 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Am 20.11.2011 14:33, schrieb Michael Goffioul:
On Sun, Nov 20, 2011 at 1:25 PM, Kai Habel<address@hidden> wrote:
pp:196:39: error: 'GetConsoleWindow' was not declar
ed in this scope
See
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683175(v=vs.85).aspx
You'll have to look into the MinGW windows headers to see why it's not
defined. It may be because of _WIN32_WINNT being defined to a version
too old.
That was the problem indeed. I have set it to 0x0500 now.
src/terminal/win32/QConsole.cpp:220:50: error: invalid conversion from
'wchar_t*
' to 'const ushort*'
What's the sizeof (wchar_t) on your system?
Michael.
address@hidden ~/hg-octave/octave/gui
$ wchar_test.exe
size wchar: 2
address@hidden ~/hg-octave/octave/gui
$ cat wchar_test.c
#include <stdio.h>
int main(void) {
printf("size wchar: %d\n",sizeof(wchar_t));
return 0;
}
Kai