[Interest] Nmake has error U1038:internal error, When building project in Qt Creator.
Konstantin Tokarev
annulen at yandex.ru
Thu Apr 26 13:10:36 CEST 2012
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
More information about the Interest
mailing list