PDA

View Full Version : NMAKE LNK errors



zgulser
6th March 2012, 13:48
Hi there,

I wanted to integrate QT with VS2005. After I did nmake, I got the following LNK errors;


cannot open ...\link.exe

&

nmake fatal error u1077 return code '0x2'

Any ideas?

Added after 19 minutes:

I,by the way, working on QT 4.4.0

StarShaper
9th March 2012, 04:30
You have to run vcvarsall.bat before you build with nmake.

vcvarsall.bat is located in the VC directory of visual studio. Run it as administrator in the console, before you run nmake.