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

compiling with VS2008

From: Sam Watkins <swatkins_at_fastmail.fm>
Date: Sat, 16 Feb 2008 15:55:23 +1100

hi, I downloaded VS2008 (trial) and have been trying to compile
tortoise-svn with it. I encountered these issues and fixed them:

  build failed in neon, removed:
    #define snprintf _snprintf
    #define vsnprintf _Vsnprintf

  removed "clean" from openssl "OpenSSL" target deps.

  upgraded ".sln" file in visual studio

  edited C:\SVN\TortoiseSVN\src\TortoiseSVNSetup\StructureFragment.wxs,
  change vc80 to vc90 and VC80 to VC90, also 8_0 to 9_0.

  GDIPLUS.MSM is missing (merge module). I got it from installshield.com
  (this should be mentioned in build.txt again?)

Everything builds now except the setup program, there is still a problem
so I'm asking for help, when compiling I get:

            setup:

               [script] Scanning assembly "qemomqjj" for extensions.
                 [exec] TortoiseSVN.wxs
                 [exec] FeaturesFragment.wxs
                 [exec] StructureFragment.wxs
                 [exec] UIFragment.wxs
                 [exec] light.exe : error LGHT0001 : Error HRESULT
                 E_FAIL has been returned from a call to a COM
                 component.
                 [exec]
                 [exec] Exception Type:
                 System.Runtime.InteropServices.COMException
                 [exec]
                 [exec] Stack Trace:
                 [exec] at
                 Microsoft.Tools.WindowsInstallerXml.IMsmMerge2.Merge(String
                 feature, String directory)
                 [exec] at
                 Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String
                 databasePath, Output output)
                 [exec] at
                 Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
                 output)
                 [exec] at
                 Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[]
                 args)

            BUILD FAILED

            C:\SVN\TortoiseSVN\src\TortoiseSVNSetup\setup.build(86,6):
            External Program Failed: light (return code was 1)

Maybe this is something to do with GDIPLUS, as far as I can see
GDIPLUS.DLL is not used any more but GDI32.DLL is used instead. Anyway
please let me know if you can help. Thanks!

Sam

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-02-16 05:55:33 CET

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