Good day all,

I am a recent installer of Qt framework 4.3.2 open-source on a Win Xp Pro Sp2 platform. I have also installed the MS SDK for Windows Server 2003 SP1.

I had gotten an error of the nature : LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj', when trying to compile and link a simple test/example project.

It appears this may have been due to spaces in directory paths however after installing SDK in another more appropriate directory I still get the same error :

Currently I have these installation directories :

C:\Qt\4.3-msvc2005\qt-win-opensource-src-4.3.2\
C:\Microsoft-Platform-SDK\

vsvars32.bat is like this :

@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC
@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
@if %VSINSTALLDIR%== goto error_no_VSINSTALLDIR
@if %VCINSTALLDIR%== goto error_no_VCINSTALLDIR

@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.

@rem
@rem Root of Visual Studio IDE installed files.
@rem
@set DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

@set PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2 .0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;C:\Qt\4.3-msvc2005\qt-win-opensource-src-4.3.2\qmake;%PATH%
@set INCLUDE=C:\Microsoft-Platform-SDK\Include;C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;C:\Qt\4.3-msvc2005\qt-win-opensource-src-4.3.2\include;%INCLUDE%
@set LIB=C:\Microsoft-Platform-SDK\lib;C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB%
@set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50 727

@goto end

:error_no_VSINSTALLDIR
@echo ERROR: VSINSTALLDIR variable is not set.
@goto end

:error_no_VCINSTALLDIR
@echo ERROR: VCINSTALLDIR variable is not set.
@goto end

:end


If anybody has resolved this issue in the passed I would really appreciate any of your suggestions or help with resolving this annoying bottle-neck ...

Many thanks in advance, Mike