Trying to build static version of Qt - fatal error U1077
-
I followed the tutorial about building a static version of qt on Windows, but when I run nmake I got fatal errors.
[code]NMAKE : fatal error U1077: 'c:\Qt\4.8.1\bin\uic.exe' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.[/code]Here is the whole console output: http://pastebin.ca/2207276
Anyone have any ideas what I might have missed?
-
Fixed it by using jom instead of nmake.
-
I am wondering if this is really a problem of nmake. The problem is reported by uic.exe and nmake hands it on. jom does basically the same, but starts the build step for several modules in parallel. nmake does support only sequential build of modules.
Did you restart nmake and it ended always at the same location?
I had also problems in the past with slightly older version 4.6.* and 4.7.*. When restarting the building process it continued towards the end. -
Yes, it seems that I always got the same error. When using jom however I needed to install additional libraries such as libpng, it might be the same problem with nmake as well but it failed to report it for some reason. However since it works by using jom instead and it take a very long time to build Qt, I do not really think I want to try it out.