11Ddoc
22
3- $(P The latest sources of Visual D are available from the github repository at
3+ $(P The latest sources of Visual D are available from the github repository at
44$(LINK2 https://github.com/dlang/visuald, https://github.com/dlang/visuald).)
55
66$(H2 Prerequisites)
77
88$(P You need the following tools to build Visual D:)
99$(UL
10- $(LI Visual Studio 2008/2010/2012 (other version might also work, but I haven't tried a lot))
11- $(LI $(LINK2 http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=59ec6ec3-4273-48a3-ba25-dc925a45584d, Visual Studio Integration SDK for VS2008)
12- or $(LINK2 http://www.microsoft.com/downloads/en/details.aspx?FamilyID=47305cf4-2bea-43c0-91cd-1b853602dcc5, Visual Studio Integration SDK for VS2010))
13- $(LI Windows SDK 6.0A (included in VS2008) or SDK 7.0A (included in VS2010) or SDK v7.1 (included in the Windows 7 SDK), other versions might also work.)
14- $(LI DMD 2.059 or newer)
10+ $(LI Visual Studio 2013/2015 (other versions might also work))
11+ $(LI $(LINK2 https://www.microsoft.com/en-us/download/details.aspx?id=40758,
12+ Visual Studio Integration SDK for VS2013) or enable it during $(LINK2
13+ https://msdn.microsoft.com/en-us/library/mt683786.aspx, VS 2015 installation).)
14+ $(LI Windows SDK 6.0A (included in VS2008) or later (tested with most versions
15+ up to 10.0.14393.0))
16+ $(LI DMD 2.066 or newer)
1517 $(LI coffimplib ($(LINK2 ftp://ftp.digitalmars.com/coffimplib.zip, ftp)))
1618 $(LI for installer: $(LINK2 http://nsis.sourceforge.net/Download, NSIS))
1719 $(LI for debugging: $(LINK2 https://github.com/rainers/cv2pdb, cv2pdb))
1820)
1921
2022$(H2 Building Visual D)
2123
22- $(P The Visual D source code is usually updated to work with the latest release version
23- of DMD (2.059 as of now), so you should use this release of the compiler when using
24+ There is an $(LINK2 https://ci.appveyor.com/project/rainers/visuald, AppVeyor project)
25+ that verifies recent changes to the development
26+ branch of Visual D. This can also be used as a reference for the build process.
27+
28+ $(P The Visual D source code is usually updated to work with the latest release version
29+ of DMD (2.073 as of now), so you should use this release of the compiler when using
2430the latest svn/git checkout.)
2531
26- $(P The standard build procedure for the release version is to execute
27- "nmake" in the trunk directory. $(B Please check the variable settings at the
32+ $(P The standard build procedure for the release version is to execute
33+ "nmake install_vs " in the trunk directory. $(B Please check the variable settings at the
2834top of the Makefile and adjust them to the installation directories on your system.))
2935
30- $(P If you want to start developing or debugging, you should execute
31- "$(B nmake sdk)" at least once to build the necessary D translations from
32- the Windows and Visual Studio SDK. Afterwards you can use Visual D itself with the
33- solution visuald_vs9.sln or visuald_vs10.sln, respectively .)
36+ $(P If you want to start developing or debugging, you should load visuald_vs10.sln
37+ in Visual Studio with Visual D installed. Build the "build" project at least once
38+ to build the necessary prerequisites and tools, e.g. D translations from
39+ the Windows and Visual Studio SDK .)
3440
3541$(H3 Known issues)
3642$(UL
37- $(LI building the parser library with stock DMD before 2.066 causes an "Out of memory" error. There are two
38- options how to fix this:
43+ $(LI building the parser library with stock DMD before 2.066 and after 2.068 might cause
44+ an "Out of memory" error. There are two options how to fix this:
3945 $(UL
40- $(LI enable the LARGE_ADDRESS_AWARE bit inside dmd.exe with this simple tool:
41- $(LINK https://github.com/dlang/visuald/blob/master/tools/largeadr.d) (if you are running a
46+ $(LI enable the LARGE_ADDRESS_AWARE bit inside dmd.exe with this simple tool:
47+ $(LINK https://github.com/dlang/visuald/blob/master/tools/largeadr.d) (if you are running a
4248 32-bit OS, you will also need to boot with the /3GB switch))
43- $(LI build DMD with the Microsoft compiler instead of the Digital Mars compiler
49+ $(LI build DMD with the Microsoft compiler instead of the Digital Mars compiler
4450 (This also has the benefit of an executable that compiles about twice as fast))
4551 )
4652 )
47- $(LI building '''pkgcmd.cto''' from pkgcmd.ctc needs CTC.exe from the VS2008 VSI SDK.
48- This program is no longer available in the 2010 VSI SDK. Therefore, a precompiled version of
49- pkgcmd.cto is committed. If the build rule fails please make sure pkgcmd.cto is newer than
50- pkgcmd.ctc to skip this build step.)
51-
5253 $(LI A druntime patch is necessary for correct name demangling in the profiler window:
5354 $(UL
5455 $(LI $(LINK2 http://d.puremagic.com/issues/show_bug.cgi?id=4852, Issue 4852): Support to suppress function signature in the profiler window)
5960
6061$(H2 Deployment)
6162
62- $(P You should debug the plugin within Visual Studio 2008/2010 using a different
63+ $(P You should debug Visual D within Visual Studio 2013/2015 using a different
6364branch in the registry, so it does not interfere with your working
6465environment.)
6566
7778 )
7879 )
7980 )
80- $(LI VS2010/VS2012 : The mechanism has dramatically changed with VS2010, as the non-standard registry settings are rebuilt
81- on every start of Visual Studio.
81+ $(LI VS2010-VS2015 : The mechanism has changed with VS2010, as the non-standard registry settings are rebuilt
82+ on every start of Visual Studio.
8283 $(UL
83- $(LI Put the files from trunk\nsis\extensions into the folder
84- $(DOLLAR)(APPDATA)\Local\Microsoft\VisualStudio\10 .0D\Extensions\VisualD (replace 10 .0D with 11 .0D for VS2012 ))
84+ $(LI Put the files from trunk\nsis\extensions into the folder
85+ $(DOLLAR)(APPDATA)\Local\Microsoft\VisualStudio\12 .0D\Extensions\VisualD (replace 12 .0D with 14 .0D for VS2015 ))
8586 $(LI in visuald.pkgdef, replace the path "M:\\s\\d\\visuald\\trunk\\bin\\debug\\visuald.dll" with your debug build output path.)
8687 $(LI Start the IDE with the new settings branch via)
8788 $(PRE devenv /RootSuffix D)
@@ -94,4 +95,4 @@ $(P Good luck!)
9495
9596Macros:
9697 TITLE=Building from Source
97-
98+
0 commit comments