ACM for Windows
Techical Note #1
Developer Studio Setup

This document outlines the steps required to set up your Visual C++ Developer Studio Environment to allow you to build ACM for Windows. This information was extracted from the Help file shipped with ACM for Windows.

  1. Install this software (if you are reading this, then you have already done that).
  2. Ensure Visual C++ 5.0 has been installed
  3. Install the DirectX Software Development Kit.
  4. Several directories included in the source release must be added to the default search directories. From the Tools>Options… menu in Developer Studio select the Directories tab. Select Include files in the Show Directories for: box. Double click the empty entry at the bottom of the current list and add the c:\source\include directory – adjust the directory name to suit the correct ACM for Windows source installation location on your system.
  5. From the Tools>Options… menu in Developer Studio select the Directories tab. Select Executable files in the Show Directories for: box. Double click the empty entry at the bottom of the current list and add the c:\bin directory – adjust the directory name to suit the correct ACM for Windows source installation location on your system.
  6. Double click the empty entry at the bottom of the current list and add the c:\DXSDK\sdk\inc directory – adjust the directory name to suit the correct DirectX Software Development Kit installation location on your system. Use the arrow keys to move this item to the top of the directory list. If you do not do this, Visual C++ will incorrectly use the DirectX version 2 include files that shipped with VC++ 5.0.
  7. From the Tools>Options… menu in Developer Studio select the Directories tab. Select Library files in the Show Directories for: box. Double click the empty entry at the bottom of the current list and add the c:\DXSDK\sdk\lib directory – adjust the directory name to suit the correct DirectX Software Development Kit installation location on your system. Use the arrow keys to move this item to the top of the directory list. If you do not do this, Visual C++ will incorrectly use the DirectX version 2 library files that shipped with VC++ 5.0.
  8. Open the main ACM for Windows VC++ workspace. It is named \source\acm\pc\acm.dsw

The basic workspace includes five projects:

acm \source\acm\pc\acm.dsp The main program
fsim \source\acm\src\fsim.dsp the flight simulation library
vlib \source\acm\V\lib\vlib.dsp the 3D graphics library
dis \source\acm\dis\lib\dis.dsp the IEEE 1278 DIS library
disgen \source\acm\dis\disgen\disgen.dsp a DIS header file generator