Re: Building using VC++ 2005 Express

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-12-12 22:07:29 CET

Stefan Küng wrote:
> Simon Large wrote:
>> I have installed VC++ 2005 Express and would like to build SubWCRev and
>> TBlame, but I am not sure where to start. I think I have everything
>> installed in the right places now. I was hoping that running build.bat
>> would at least build the subversion libraries and allow me to build
>> individual projects, but no.
>>
>> Firstly it fails to find Windows.h. Looks like I should be calling a
>> setenv.bat from the platform sdk, but I am not sure where to patch
>> that into the existing build system.
>
> Windows.h is part of the Platform SDK (which is available for free too).
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdkintro/sdkintro/devdoc_platform_software_development_kit_start_page.asp
>
> If you already have the SDK, then you have to call setenv.bat instead of
> "%VS80COMNTOOLS%\vsvars32.bat" in the build script.

I already have the SDK. Are you saying that for VS.NET2005 you call
vsvars32.bat but for VC++Express I need to call setenv.cmd instead?

>> Secondly I don't have a definition for 'devenv' so I don't know what
>> that is supposed to do.
>
> What application is started when you doubleclick on a *.sln file? That's
> the one you have to call instead of devenv. I thought that VC-Express

"C:\Program Files\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe" "%1"

Not sure if that is the right one. Does it take any params? Doesn't
sound like a command line tool. Would vcbuild mentioned by George
Wieggers be better?
>
> Also, maybe you have to call a vsvars32.bat file inside your VC-Express
> installation folder too before you call the build script.

That's already done in Build.bat. It's the only vsvars32.bat anywhere in
my program files folder.

Simon

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org