Anvil Compiling

From OpenFrag

Jump to: navigation, search

Our aim is to allow compiling Anvil on Windows and Linux, currently it only works on Windows though.

For this tutorial we will assume you want to compile the latest version of Anvil, if you want to compile an older version, get the dependencies that belong with that version.

Prerequisites

Compiling

  • Open the Visual C++ solution in .\scripts\msvc2005
  • Press compile (optionally select Debug or Release mode first)

Debugging

  • (just to make sure) Set your project configuration to 'Debug' and compile Anvil.
  • Open the project properties for 'anvil win32 loader', go to 'Configuration Properties' -> 'Debugging'. Set Working Directory to '$(TargetDir)' without the quotes.
  • Set 'anvil win32 loader' as the StartUp project
  • Select 'Debug' -> 'Start Debugging'
Personal tools
OpenFrag