DarkRadiant - Compiling in Visual C++ 2008: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(New page: You'll need a working VC++ build environment to open and compile the DarkRadiant solution file. See below for a link to the Microsoft website. Once you have VC++ installed, there is a pre...)
 
(Deprecated article)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{outdated|text=The DarkRadiant VC++ project files have migrated to a more recent version of Visual Studio. Please refer to the current article linked from the [[DarkRadiant - Compilation Guide]].}}
You'll need a working VC++ build environment to open and compile the DarkRadiant solution file. See below for a link to the Microsoft website.
You'll need a working VC++ build environment to open and compile the DarkRadiant solution file. See below for a link to the Microsoft website.


Once you have VC++ installed, there is a prefabricated solution file (.sln) ready for you in the '''tools/vcprojects''' folder. I created them using MS Visual C++ 2008 Express Edition, so VC++ will have to convert the vcprojects when it first encounters these files. Hit Ctrl-Shift-B in VC++ to start building the sources.
Once you have VC++ installed, there is a prefabricated solution file (.sln) ready for you in the '''tools/vcprojects''' folder. Hit Ctrl-Shift-B in VC++ to start building the sources.


The project output files are setup so that the binaries get automatically installed in the install/, modules/ and plugins/ folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event.
The project output files are setup so that the binaries get automatically installed in the install/, modules/ and plugins/ folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event.
Line 8: Line 10:
  svn co https://darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/
  svn co https://darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/


== Links ==
== Compiling for Windows x64 ==
To build a package for the x64 target, make sure to select the ''x64'' platform from the configuration manager's dropdown box. Choose a ''release'' build and hit ''Build solution'', the rest should be automatic.
 
You need to have a working Visual Studio 2008 build environment supporting x64 compilation, which is an option not installed by default. If you're missing that platform option, make sure to modify the existing VC++ 2008 installation using the setup application and check the x64 compilers option.
 
== See also / Links ==
* [[DarkRadiant - Compilation Guide]]
* [http://www.microsoft.com/express/download/ MS VC++ 2008 Express Edition] (choose Offline Install to get a 900 MB ISO)
* [http://www.microsoft.com/express/download/ MS VC++ 2008 Express Edition] (choose Offline Install to get a 900 MB ISO)


{{coding}}
{{coding}}
{{darkradiant|sort=Compilation}}
{{darkradiant|sort=Compilation}}

Latest revision as of 17:30, 29 December 2016

The DarkRadiant VC++ project files have migrated to a more recent version of Visual Studio. Please refer to the current article linked from the DarkRadiant - Compilation Guide.

You'll need a working VC++ build environment to open and compile the DarkRadiant solution file. See below for a link to the Microsoft website.

Once you have VC++ installed, there is a prefabricated solution file (.sln) ready for you in the tools/vcprojects folder. Hit Ctrl-Shift-B in VC++ to start building the sources.

The project output files are setup so that the binaries get automatically installed in the install/, modules/ and plugins/ folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event.

See the Compilation Guide for how to checkout the sources plus dependencies.

svn co https://darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/

Compiling for Windows x64

To build a package for the x64 target, make sure to select the x64 platform from the configuration manager's dropdown box. Choose a release build and hit Build solution, the rest should be automatic.

You need to have a working Visual Studio 2008 build environment supporting x64 compilation, which is an option not installed by default. If you're missing that platform option, make sure to modify the existing VC++ 2008 installation using the setup application and check the x64 compilers option.

See also / Links