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

Re: Compiling TortoiseSVN with VS2010

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 14 Apr 2011 12:51:43 +0200

On Thu, Apr 14, 2011 at 05:39, Jean-Yves Avenard <jyavenard_at_gmail.com> wrote:
> Hi there.
>
> It's been almost 7 months since I last compiled TSVN (was 1.6.11).
> Back then I was using VS2008.
>
> I have since upgraded to VS2010 and removed VS2008 completely.
>
> I upgraded my source tree to TSVN 1.6.15 ; but unfortunately, I can't
> compile anymore ; it fails half way. I can't even pass compiling
> openssl
>
>                 [exec]  cl /Fotmp32\by_file.obj  -Iinc32 -Itmp32 -DOPENSSL_CAPI
> ENG_DIALOG  /MT /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo
> -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32
> -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE /Fdout32
> -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5
> -DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE
> -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE /Zl -c
> .\crypto\x509\by_file.c
>                 [exec] by_file.c
>                 [exec] .\crypto\x509\by_file.c(103) : error C2220:
> warning treated as error - no 'object' file generated
>                 [exec] .\crypto\x509\by_file.c(103) : warning C4013:
> 'Getenv' undefined; assuming extern returning int

I've never tried compiling 1.6 with VS2010, only trunk compiles with it.
But since you get compiler warnings when building OpenSSL, you
obviously don't use the latest version of it. Use version 1.0.0d, that
one compiles properly with VS2010.

Whether you run into further problems after OpenSSL builds
successfully, I do not know. Since as I said I've never tried it.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2719728
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-14 12:52:06 CEST

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