Building RttR with Visual Studio 2010
To build Return To The Roots with Visual Studio 2010, you have to get the source code first.
Therefore, you have to install "bzr"
Then, open a command prompt, change to a directory you want (cd path\to\dir) and execute "bzr branch lp:s25rttr"
It takes a while to download the source code.
If its completed successfully, you have to extract "s25rttr\
Now open "s25rttr\
After that, use "View" "Other Windows" "Property Manager" to add the property-manager to your vs2010 view - in it, open one loaded project of your choice, and double click on "Microsoft.
It should start on the entry "VC Directories"
Now add following paths:
ExecutableDirs: "path/to/
IncludeDirs: "path/to/
LibraryDirs: "path/to/
and press OK
If you press "Build" "Build Solution" now, it should create the complete project.
To debug within visual studio 2010,
you should either put
#define GAMEDIR "path/to/s2"
into your build_paths.h or copy "DATA" and "GFX" from your settlers 2 installation to the same directory, where "build_paths.h" is.
For both variants, you have to put "$(SolutionDir)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: