Discussion:
Compilling 1.8.0 With VS2013
Mafahir Fairoze
2014-02-10 10:25:49 UTC
Permalink
I am trying to customize TortoiseSVN a little bit to fit my needs. But I am encountering some problems.

TortoiseSVN v1.8.0 asper the build instruction states I have to use VS2011, but I only have VS2010 and VS2013.
Can someone help me on how do i proceed with this ?

FYI: for some reason the latest SVN doesnt work with my SVN server and only v1.8.0 works, I believe the Server is old.

LOG
---
[link] Linking 64 files.
[link] Creating library release_win32\libapr_tsvn.lib and object
release_win32\libapr_tsvn.exp
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedExchangeAdd
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedIncrement
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedDecrement
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedCompareExchange
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedExchange
[link] F:\SVN\TortoiseSVN\ext\apr\release_win32\libapr_tsvn32.dll :
fatal error LNK1120: 5 unresolved externals

BUILD FAILED

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3072792

To unsubscribe from this discussion, e-mail: [dev-***@tortoisesvn.tigris.org].
Stefan Küng
2014-02-10 18:31:06 UTC
Permalink
Post by Mafahir Fairoze
I am trying to customize TortoiseSVN a little bit to fit my needs. But I am encountering some problems.
TortoiseSVN v1.8.0 asper the build instruction states I have to use VS2011, but I only have VS2010 and VS2013.
Can someone help me on how do i proceed with this ?
The build.txt states using VS2012, not VS2011.
But you should be able to compile it with VS2013 just fine.
Post by Mafahir Fairoze
FYI: for some reason the latest SVN doesnt work with my SVN server and only v1.8.0 works, I believe the Server is old.
"doesn't work" does not help at all. What exactly does not work, what
errors do you get, ...?
Post by Mafahir Fairoze
LOG
---
[link] Linking 64 files.
[link] Creating library release_win32\libapr_tsvn.lib and object
release_win32\libapr_tsvn.exp
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedExchangeAdd
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedIncrement
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedDecrement
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedCompareExchange
[link] apr_atomic.obj : error LNK2001: unresolved external symbol __
InterlockedExchange
fatal error LNK1120: 5 unresolved externals
Either you don't have the proper SDK installed, or the compiler can't
find it. Those APIs are in kernel.dll and they're available on XP, so it
can't be defines or OS dependent settings.

Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3072820

To unsubscribe from this discussion, e-mail: [dev-***@tortoisesvn.tigris.org].
richard aymond
2014-03-27 11:04:41 UTC
Permalink
Config: VS2013 update4, Win 7 Entreprise SP1
Hi,
i was having same problem with building 1.8.5 x64 release setup: libapr_tsvn32​.dll and others were missing...
I pass through copying thoses dll in bin/release/bin...
was it the good way to do it?

In fact i found some errors inthe build.txt file in \section build64 Building 64 bit packages on x64

1/ "Microsoft Visual Studio 2012" ->"Visual studio tools"->"visual studio 2012 win 64 command prompt" does n't exist i have "Open VS2012 x64 Native Tools Command propmt" instead... i suppose it's the same

2/ how to check if "Tools for redistributing applications" are installed?

Finally in default.build.user i change the value of
C:\Program Files (x86)\Debugging Tools for Windows (x86)
by <variable name="DEBUGTOOLS" value="C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86" />

Am i right?
Sorry for my english but i would really appreciate you help me to know if im doing well to build a msi for x64 clients.

Many thanks
Richard

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3075333

To unsubscribe from this discussion, e-mail: [dev-***@tortoisesvn.tigris.org].
Stefan Küng
2014-03-27 18:48:03 UTC
Permalink
Post by richard aymond
Config: VS2013 update4, Win 7 Entreprise SP1
Hi,
i was having same problem with building 1.8.5 x64 release setup: libapr_tsvn32​.dll and others were missing...
I pass through copying thoses dll in bin/release/bin...
was it the good way to do it?
Yes, the win32 full build copies those files automatically.
But of course, you have to build win32 first before building x64.
Post by richard aymond
In fact i found some errors inthe build.txt file in \section build64 Building 64 bit packages on x64
1/ "Microsoft Visual Studio 2012" ->"Visual studio tools"->"visual studio 2012 win 64 command prompt" does n't exist i have "Open VS2012 x64 Native Tools Command propmt" instead... i suppose it's the same
Yes, it's the same.
Post by richard aymond
2/ how to check if "Tools for redistributing applications" are installed?
if the build succeeds, they're installed.
Post by richard aymond
Finally in default.build.user i change the value of
C:\Program Files (x86)\Debugging Tools for Windows (x86)
by <variable name="DEBUGTOOLS" value="C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86" />
Am i right?
Yes. The build.user file is there so you can adjust the paths to where
you have the installations, they're different for most users.

Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3075364

To unsubscribe from this discussion, e-mail: [dev-***@tortoisesvn.tigris.org].
Loading...