Dashboard > NeL > ... > NeLDocumentation > CompilingNelWindows
CompilingNelWindows
Added by Matt Raykowski, last edited by Vianney Lecroart on Oct 18, 2007  (view change)
Labels: 
(None)


Compiling NeL On Windows

Requirements

First add the required Libraries.

Currently, we only support Visual Studio 8, others version should work but we don't maintain them.

You should use the ReleaseDebug build mode.

Build Modes

There are 4 different build modes:

  • Debug: It's the default Debug mode created automatically when making a new Visual project. There's no optimization, and all debug symbols are generated. Very useful to debug, but it's slow.
  • DebugFast: Same as Debug mode but with inline optimization activated. It'll speed up application a lot and still be easy to debug and trace the code.
  • ReleaseDebug: It's the same as Release mode but with debug symbols. You should always use this mode for your project since it's the best compromise between debugging and speed.
  • Release: It's the default Release mode created automatically when making a new Visual project. All optimization are on, there's no debug symbols and all assertions are disabled.

Visual Studio Versions

There are different version of [VisualStudio]:

  • Visual Studio 6

You should _not_ use this version. Nevraxuses this version to compile The Saga Of Ryzom.
Open the nel.dsw workspace in code/nel/src with Visual Studio and build all projects.
Libraries will be in the code/nel/lib directory.

  • Visual Studio 7.0

You should _not_ use this version. We don't provide support for this version and you'll have some issues when compiling NeL.

  • Visual Studio 7.1

You should _not_ use this version. We don't provide support for this version.

  • Visual Studio 8.0

Most of the NeL community uses this version and Nevrax plans to use it.

Express version of Visual Studio 8.0 can be downloaded freely from Microsoft website. A lot of patches have been applied to NeL to fix the compilation problems.
Open the nel_8.sln solution in code/nel/src with Visual Studio and build all projects.
Libraries will be in the code/nel/lib directory.

During compile in Release mode, you'll have some warning like "warning C4101: 'e' : unreferenced local variable", they are normal and you should be able to safely ignore them.

During compile under Visual C++ 6.0, you may get a number of C4786 Warnings. These warnings will end "identifier was truncated to '255' characters in the debug information." These warnings are normal and you should be able to safely ignore them.

Site running on a free Atlassian Confluence Open Source Project License granted to Open NeL (Open Nevrax Library, community branch of NeL). Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators