kdeenv.bat fails on Vista64 with 32Bit MSVC2008

Andreas Pakulat apaku at gmx.de
Sun Aug 30 14:24:23 CEST 2009


On 30.08.09 12:52:31, Casper van Donderen wrote:
> Hi,
> 
> Yes, that if... part does not seem to work for me either, so I have:
> set KDECOMPILER=msvc2008
> set PSDKDIR=%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0
> set MSDXSDKDIR=%PROGRAMFILES(x86)%\Microsoft DirectX SDK (March 2009)
> call "%MSDXSDKDIR%\Utilities\bin\dx_setenv.cmd" x86
> set VSDIR=%PROGRAMFILES(x86)%\Microsoft Visual Studio 9.0
> call "%VSDIR%\VC\vcvarsall.bat" x86
> 
> (only relevant parts)
> 
> This works for me (Vista x86 or Win7 x64)

I noticed another problem with the KDECOMPILER, the if is:

if %KDECOMPILER% == "msvc2008" (...)

This will only work if you use

set KDECOMPILER="msvc2008"

but not if you use

set KDECOMPILER=msvc2008

However later parts of kdesettings/kdeenv expect the second version,
i.e. compare against the non-quoted string.

This is however unrelated to my problems with PROGRAMFILES(x86).

Andreas

-- 
Don't feed the bats tonight.


More information about the Kde-windows mailing list