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) Casper On Sun, Aug 30, 2009 at 12:48 PM, Andreas Pakulat<[email protected]> wrote: > Hi, > > not a bat-expert here, so I'm not sure what goes wrong. I've got a > Vista64 installed here. Installed MSVC2008 Express and Windows SDK 6.1. > > MSVC2008 installed itself into %ProgramFiles(x86)% (which is c:\program > files (x86)) and the SDK is in %ProgramFiles% (which is C:\program > files). > > The problem is that: > > a) kdesettings.bat doesn't support this apparently. It always searched > in %programfiles% for the compiler > > b) replacing %programfiles% in the if %KDECOMPILER%-part with > %programfiles(x86)% produces weird errors about \Microsoft not being > %found. I played around with adding quotes here and there but couldn't > %get it to work. > > The only way to make it work was not setting VSDIR and instead just > directly using > > call "%ProgramFileS(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > > Anybody with more .bat-vodoo around who can see the error? > > Andreas > > -- > Lady Luck brings added income today. Lady friend takes it away tonight. > _______________________________________________ > Kde-windows mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kde-windows > _______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
