|
From: | Kai Habel |
Subject: | Re: make fails for octave gui using mingw |
Date: | Sun, 20 Nov 2011 20:27:50 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Am 20.11.2011 15:26, schrieb Michael Goffioul:
Yes that helps as well. Thanks! Now I can compile octave-gui, but unfortunately it does not start. I get an error during startup. (Translated: Could not start application error 0xc000007b) I think that comes from the fact that I have compiled octave&dependencies with mingw&gcc4.5.2 but the precompiled Qt version is for Mingw&gcc4.4. I will try to build Qt from source. I will see how long this takes.On Sun, Nov 20, 2011 at 1:56 PM, Kai Habel<address@hidden> wrote: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; }I'm not sure why g++ refuses to make the cast then. Using QString::fromWCharArray should solve the issue. Could you give it a try? Michael.
Kai
[Prev in Thread] | Current Thread | [Next in Thread] |