[Interest] Nmake has error U1038:internal error, When building project in Qt Creator.

Jason H scorp1us at yahoo.com
Thu Apr 26 17:35:22 CEST 2012


Determine what the command line should really be.


moc.exe -I"..."~~~~ -I"Qt\include" -FoRelease @**.moc
I have no idea what ~~~~ is.
What does @** evaluate to?



________________________________
 From: rcyboom <rcyboom at 163.com>
To: Konstantin Tokarev <annulen at yandex.ru> 
Cc: "interest at qt-project.org" <interest at qt-project.org> 
Sent: Thursday, April 26, 2012 11:07 AM
Subject: Re: [Interest] Nmake has  error U1038:internal error, When building project in Qt Creator.
 
Yes,I know that mingw32-make can do it success.
But I want to know why the Nmake has error?
I has tried use qmake to createing a vs project,but it's failed.
eg:
qmake -tp vc
or
qmake -tp vc -r
How I can  solving it?Because on windows,the VS Compiler is faster than mingw.
And In my laptop computer(Win7 64bit home),that's all normally.
The problem defective is desktop computer(win xp sp3,32bit).
Has anybody  coming across this problem?


At 2012-04-26 19:10:36,"Konstantin Tokarev" <annulen at yandex.ru> wrote:
>
>
>26.04.2012, 14:58, "rcyboom" <rcyboom at 163.com>:
>> Hi,
>> I have a very troubled problem:
>> In my Qt Creator,The Nmake sometimes would reported  error “U 1038” when I building a project.
>> It occurs  using moc.exe create the *.moc files.
>> The Qt Creator's complie output window like:
>> ~~~
>> ~~~
>> moc.exe -I"..."~~~~ -I"Qt\include" -FoRelease @**.moc
>> nmake return -1,U1038:internal error
>> ~~~
>>
>> I can confirm that the **.moc file does not exist in the "myprodir\Release\",
>> but when I input the command "moc.exe -I"..."~~~~ -I"Qt\include" -FoRelease @**.moc" in Qt  Command Prompt,it can be create succeeded.
>> build the project continue ,it has error again,but it's another cpp file.
>> The problem is not always occuring, sometimes it does not appear for another project.but for this project,it is always.
>
>Seems like this is an error in nmake's parser. Your command is OK (you run it in cmd.exe), but nmake fail to parse this line to run it.
>
>> If I use mingw and qtlib_for_mingw,it is never occuring.
>> Why?
>
>This combination uses GNU make instead of nmake.
>
>-- 
>Regards,
>Konstantin
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120426/5c3033d2/attachment.html>


More information about the Interest mailing list