Hi. Trying to build 4.7.4 opensource with vs2010. This is what I have done:
  1. unzipped
  2. added bin to PATH
  3. opened vs2010 command promp
  4. ran configure -debug-and-release -opensource -platform win32-msvc2010 -no-phonon -no-phonon-backend -no-webkit
  5. ran nmake


I have also tried different configure options as well as nmake sub-src but I keep getting fatal errors always. I've googled and searched this forum and tried all the suggestions to no luck.

Qt Code:
  1. cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -MP -GR -EHsc -W3 -w34100 -w34
  2. 189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
  3. -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_
  4. HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I
  5. "..\..\..\..\include\QtNetwork" -I"..\..\..\..\include" -I"..\..\..\..\include\A
  6. ctiveQt" -I"tmp\moc\release_shared" -I"..\..\..\..\mkspecs\win32-msvc2010" -Fotm
  7. p\obj\release_shared\ @C:\Users\xxx\AppData\Local\Temp\nmAB96.tmp
  8. moc_qnativewifiengine.cpp
  9. moc_qnetworksession_impl.cpp
  10. moc_qbearerengine_impl.cpp
  11. link /LIBPATH:"c:\Programming\3rdParty\Qt\lib" /LIBPATH:"c:\Programming\
  12. 3rdParty\Qt\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\r
  13. elease_shared\qnativewifibearer.intermediate.manifest" /VERSION:4.74 /OUT:..\..\
  14. ..\..\plugins\bearer\qnativewifibearer4.dll @C:\Users\xxx\AppData\Local\Temp\
  15. nmAE35.tmp
  16. Creating library ..\..\..\..\plugins\bearer\qnativewifibearer4.lib and object
  17. ..\..\..\..\plugins\bearer\qnativewifibearer4.exp
  18. mt.exe -nologo -manifest "tmp\obj\release_shared\qnativewifibearer.inter
  19. mediate.manifest" -outputresource:..\..\..\..\plugins\bearer\qnativewifibearer4.
  20. dll;2
  21. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
  22. \bin\mt.exe"' : return code '0x1f'
  23. Stop.
  24. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
  25. \VC\BIN\nmake.exe"' : return code '0x2'
  26. Stop.
  27. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  28. Stop.
  29. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  30. Stop.
  31. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  32. Stop.
To copy to clipboard, switch view to plain text mode 

Please let me know if you have any ideas.

Thanks.