forked from resiprocate/resiprocate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VisualStudioReadme.htm
104 lines (102 loc) · 4.21 KB
/
VisualStudioReadme.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<style type="text/css">
body
{
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
h1
{
color: #0066CC;
}
h2
{
color: #00246F;
}
</style>
</head>
<body>
<h1>
Building resiprocate with Visual Studio 2010</h1>
<h2>
Dependencies</h2>
<p>
When checked out from SVN, all dependent libraries are included with one
exception: You need to download openSSL. You can either download the source and
build it or download the precompiled binaries from
<a href="http://slproweb.com/products/Win32OpenSSL.html">
http://slproweb.com/products/Win32OpenSSL.html</a>. You need to download the
full versions, the light versions are not sufficient. If you want to build for
x64 you need to download the x64 version. </p>
<p>
Please note that the x64 version can be installed on x64 machines, but you can
copy the install folder to a 32bit system and cross-compile for x64. The openssl
install folders need to be renamed and put at the following locations:</p>
<ul>
<li>Solution Folder<ul>
<li>contrib<ul>
<li>openssl (for Win32)</li>
<li>opensslx64 (for x64)</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>
Additionally, in order to compile reTurn, it is required to have boost in the
contrib\boost folder. The latest version that was proofed to compile
successfully with Visual Studio 2010 is 1.53.0</p>
<h2>
Configurations and Platforms</h2>
<p>
There are eight possible configuration/platform combinations: SSL/non-SSL *
Debug/Release * x86/x64 = 8</p>
<p>
The output of all projects is created in a single folder for each
configuration/platform combinations. The output is organized as follows:
</p>
<ul>
<li> Solution Folder<ul>
<li>Win32<ul>
<li>Debug</li>
<li>Release</li>
<li>SSL-Debug</li>
<li>SSL-Release</li>
</ul>
</li>
<li>X64<ul>
<li>Debug</li>
<li>Release</li>
<li>SSL-Debug</li>
<li>SSL-Release </li>
</ul>
</li>
</ul>
</li>
</ul>
<h2>
Batch Builds</h2>
<p>
The Visual Studio Batch Build feature does not work with the current
configuration. This is due to a bug in Visual Studio 2010 when project
references are used. It could be solved by removing project references, adding
project dependencies instead and specifying all generated import libraries
directly in the linker configuration. This would practically resemble the way
this was done in pre-VS10 environments, but it would involve a bit of
configuration work.</p>
<p>
More info on this bug can be found here:</p>
<ul>
<li><a href="http://connect.microsoft.com/VisualStudio/feedback/details/636636/batch-build-does-not-work-as-expected">
http://connect.microsoft.com/VisualStudio/feedback/details/636636/batch-build-does-not-work-as-expected</a></li>
<li><a href="http://connect.microsoft.com/VisualStudio/feedback/details/633270/link-library-dependencies-for-c-does-not-work-with-batch-build">
http://connect.microsoft.com/VisualStudio/feedback/details/633270/link-library-dependencies-for-c-does-not-work-with-batch-build</a></li>
<li><a href="http://qualapps.blogspot.de/2010/04/static-library-dependencies-in-visual.html">
http://qualapps.blogspot.de/2010/04/static-library-dependencies-in-visual.html</a></li>
</ul>
<p>
</p>
</body>
</html>