CSAI Build Instructions: Difference between revisions
From Spring
Jump to navigationJump to search
Hughperkins (talk | contribs) →Building CSAI: noted that compiling only C# AI does not require C++ compiler |
Hughperkins (talk | contribs) →Building CSAI: clarified building C# AI vs C++/C# AI Interface |
||
| Line 1: | Line 1: | ||
== Building CSAI == | == Building CSAI == | ||
CSAI | The CSAI zipfile comes with the binaries prebuilt. You might wish to build CSAI if: | ||
*you want to modify/extend the C# AI | |||
*you want to extend the C++/C# AI interface | |||
=== You will need === | === You will need === | ||
If you wish to modify just the C# AI, ie the CSAI directory, you will need: | |||
*Framework .Net 1.1 runtime (only need runtime, not SDK) | |||
*nant | *nant | ||
* | *Spring | ||
*Contents of CSharpAI.zip | |||
If you want to extend the C++/C# interface, ie change the files in the CSAILoader or CSAIInterfaces directory, you will need in addition: | |||
*Visual C++ 2003 compiler | *Visual C++ 2003 compiler | ||
*Microsoft Platform SDK | *Microsoft Platform SDK | ||
*Spring sourcecode | *Spring sourcecode | ||
=== Build instructions === | nant will automatically detect if you changed files in the CSAILoader or CSAIInterfaces directory, so as long as you dont change files in these directories it wont ask you for the C++ compiler. | ||
=== Build instructions, C# AI only === | |||
*open a cmd prompt and go to the unzipped CSharpAI directory | |||
*open AllCSAI.build file with a text editor, and specify the locations of: | |||
**spring (directory containing spring.exe) | |||
*add nant to PATH | |||
*type "nant" and press return | |||
The C# AI dll should build and be copied into the appropriate place in the Spring application directory tree. | |||
=== Build instructions, C# AI and C# AI Interface === | |||
*open the msvcvars.bat cmd prompt and go to the CSharpAI directory | *open the msvcvars.bat cmd prompt and go to the unzipped CSharpAI directory | ||
*open AllCSAI.build file with a text editor, and specify the locations of: | *open AllCSAI.build file with a text editor, and specify the locations of: | ||
**spring (directory containing spring.exe) | **spring (directory containing spring.exe) | ||
Revision as of 08:25, 24 October 2006
Building CSAI
The CSAI zipfile comes with the binaries prebuilt. You might wish to build CSAI if:
- you want to modify/extend the C# AI
- you want to extend the C++/C# AI interface
You will need
If you wish to modify just the C# AI, ie the CSAI directory, you will need:
- Framework .Net 1.1 runtime (only need runtime, not SDK)
- nant
- Spring
- Contents of CSharpAI.zip
If you want to extend the C++/C# interface, ie change the files in the CSAILoader or CSAIInterfaces directory, you will need in addition:
- Visual C++ 2003 compiler
- Microsoft Platform SDK
- Spring sourcecode
nant will automatically detect if you changed files in the CSAILoader or CSAIInterfaces directory, so as long as you dont change files in these directories it wont ask you for the C++ compiler.
Build instructions, C# AI only
- open a cmd prompt and go to the unzipped CSharpAI directory
- open AllCSAI.build file with a text editor, and specify the locations of:
- spring (directory containing spring.exe)
- add nant to PATH
- type "nant" and press return
The C# AI dll should build and be copied into the appropriate place in the Spring application directory tree.
Build instructions, C# AI and C# AI Interface
- open the msvcvars.bat cmd prompt and go to the unzipped CSharpAI directory
- open AllCSAI.build file with a text editor, and specify the locations of:
- spring (directory containing spring.exe)
- spring sourcecode
- Microsoft Platform SDK
- add nant to PATH
- type "nant" and press return
With everything configured ok, the dlls should build and be copied into the appropriate place in the Spring application directory tree.