[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Building TSVN

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-07-22 15:05:34 CEST

Peter Mounce wrote:

> I don't suppose anyone has figured out whether it's possible to build
> TSVN using VS.NET 2005 instead of 2003, have they? I'm stumbling a

Not me. I don't have VS.NET2005 (yet) to try.

> little with it, so far... (If it's worth struggling to get it to work,
> I'll persevere, but if not, say so up front and I'll try to make VS 2003
> and 2005 co-exist on my machine...)
>
> I'm running build.bat from a VS.NET2005 command prompt, like
>
> build.bat 1> build.log 2> build-error.log

You should rather use
build.bat > build.log 2>&1
otherwise you don't know which error happens when in the whole build
process.

> , and I have attached both outputs. However, it's not the output from a
> build done on a clean tree - what is the equivalent of "make clean", here?

The build script takes care of a clean build itself (i.e. it does a
'rebuild' instead of a build, removes *.obj files itself, ...)

> I have modified build.bat so it uses the vsvars32.bat that's from
> %VS80COMNTOOLS% instead of %VS71COMNTOOLS%, too.
>
> There are items of interest in both log files.

uplink.c
ms\uplink.c(43) : error C2220: warning treated as error - no 'object'
file generated
ms\uplink.c(43) : warning C4996: 'sprintf' was declared deprecated
         D:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE\stdio.h(317) : see declaration of 'sprintf'
ms\uplink.c(44) : warning C4996: 'strcpy' was declared deprecated
ms\uplink.c(49) : warning C4996: 'strcpy' was declared deprecated
ms\uplink.c(63) : warning C4996: 'strcpy' was declared deprecated
ms\uplink.c(69) : warning C4996: 'strcpy' was declared deprecated

VS.NET2005 treats using 'strcpy' as not good because they're 'unsafe'
(IMHO that depends on how those functions are used for and is not on MS
to decide!). And Plink builds with 'warnings treated as errors' so it
won't build.

Generating for VS.NET 2003
Found libdb43.lib in db4-win32\lib

You should pass '--vsnet-version=2005' in the line
call python gen-make.py -t vcproj --with-openssl=.. (...)
if you're using VS.NET2005.

Stefan

-- 
        ___
   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
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jul 22 15:22:48 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.