home oakut

Compiling TestExecutor (oakte)

Windows

Currently, I have built and tested the executor on windows with the following compilers: VC++6.0, VC++7.0 and Borland 5.5.

VC++

To build testexecutor and example for VC++, you should follow following steps:
  1. Open command propmt window: Press "Start Menu" button on Windows, press "Run" menu item and type "cmd".

  2. Set environment variable VC to the root of VC++ installation directory. For instance, if the VC++ installation directory is: C:\Program Files\Microsoft Visual Studio\VC98:

          set VC="C:\Program Files\Microsoft Visual Studio\VC98"

  3. Set the enviornment variable OAK_INCLUDE to the root of the OAKLIB directory. For example, if you unzipped the oaklib package under c:\oak_root directory, the root directory will be c:\oak_root:

           set OAK_INLCUDE=c:\oak_root

  4. cd to test directory. For example, in this case:

           cd c:\oak_root\oak\test

  5. type the following:

           build vc

  6. The testexecutor and example files are built under 'build' directory. In this example, it will be "C:\oak_root\build\vc" directory.


BORLAND

  1. Open command propmt window: Press "Start Menu" button on Windows, press "Run" menu item and type "cmd".
  2. Set environment variable BCC to the root of borland root directory. For instance, if the root directory is: C:\BCC55:


  3.        set BCC=c:\BCC55

  4. Set the enviornment variable OAK_INCLUDE to the root of the OAKLIB directory. For example, if you unzipped the oaklib package under c:\oak_root directory, the root directory will be c:\oak_root:

           set OAK_INLCUDE=c:\oak_root

  5. cd to test directory. For example, in this case:

           cd c:\oak_root\oak\test

  6. type the following:

           build borland

  7. The testexecutor and example files are built under 'build' directory. In this example, it will be "C:\oak_root\build\bcc" directory.


  8. To run the textexecutor, make sure that the BORLAND\bin directory is in the PATH


UNIX/LINUX

Currently, I have built and tested it on linux (red hat) with g++. Will need to modify the makefile to build for other platforms. I will change that in future after I have built om other platforms:
  1. Set the enviornment variable OAK_INCLUDE to the root of the OAKLIB directory. For example, if you unzipped the oaklib package under /tmp/oak_root directory, the root directory will be /tmp/oak_root:

           export OAK_INLCUDE=/tmp/oak_root

    or equivalent command depending upon the shell.
  2. cd to test directory:

           cd /tmp/oak_root/oak/test

  3. type make (gmake files):

           make -f make.unix

  4. It will build the testexecutor and example in build directory:

           /tmp/oak_root/build




SourceForge.net Logo