Hi. Trying to build 4.7.4 opensource with vs2010. This is what I have done:
- unzipped
- added bin to PATH
- opened vs2010 command promp
- ran configure -debug-and-release -opensource -platform win32-msvc2010 -no-phonon -no-phonon-backend -no-webkit
- 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.
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -MP -GR -EHsc -W3 -w34100 -w34
189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_
HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I
"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include" -I"..\..\..\..\include\A
ctiveQt" -I"tmp\moc\release_shared" -I"..\..\..\..\mkspecs\win32-msvc2010" -Fotm
p\obj\release_shared\ @C:\Users\xxx\AppData\Local\Temp\nmAB96.tmp
moc_qnativewifiengine.cpp
moc_qnetworksession_impl.cpp
moc_qbearerengine_impl.cpp
link /LIBPATH:"c:\Programming\3rdParty\Qt\lib" /LIBPATH:"c:\Programming\
3rdParty\Qt\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\r
elease_shared\qnativewifibearer.intermediate.manifest" /VERSION:4.74 /OUT:..\..\
..\..\plugins\bearer\qnativewifibearer4.dll @C:\Users\xxx\AppData\Local\Temp\
nmAE35.tmp
Creating library ..\..\..\..\plugins\bearer\qnativewifibearer4.lib and object
..\..\..\..\plugins\bearer\qnativewifibearer4.exp
mt.exe -nologo -manifest "tmp\obj\release_shared\qnativewifibearer.inter
mediate.manifest" -outputresource:..\..\..\..\plugins\bearer\qnativewifibearer4.
dll;2
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
\bin\mt.exe"' : return code '0x1f'
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.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -MP -GR -EHsc -W3 -w34100 -w34
189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_
HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I
"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include" -I"..\..\..\..\include\A
ctiveQt" -I"tmp\moc\release_shared" -I"..\..\..\..\mkspecs\win32-msvc2010" -Fotm
p\obj\release_shared\ @C:\Users\xxx\AppData\Local\Temp\nmAB96.tmp
moc_qnativewifiengine.cpp
moc_qnetworksession_impl.cpp
moc_qbearerengine_impl.cpp
link /LIBPATH:"c:\Programming\3rdParty\Qt\lib" /LIBPATH:"c:\Programming\
3rdParty\Qt\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\r
elease_shared\qnativewifibearer.intermediate.manifest" /VERSION:4.74 /OUT:..\..\
..\..\plugins\bearer\qnativewifibearer4.dll @C:\Users\xxx\AppData\Local\Temp\
nmAE35.tmp
Creating library ..\..\..\..\plugins\bearer\qnativewifibearer4.lib and object
..\..\..\..\plugins\bearer\qnativewifibearer4.exp
mt.exe -nologo -manifest "tmp\obj\release_shared\qnativewifibearer.inter
mediate.manifest" -outputresource:..\..\..\..\plugins\bearer\qnativewifibearer4.
dll;2
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
\bin\mt.exe"' : return code '0x1f'
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.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
To copy to clipboard, switch view to plain text mode
Please let me know if you have any ideas.
Thanks.
Bookmarks