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:
- Open command propmt window: Press "Start Menu" button on Windows, press "Run" menu item and type "cmd".
-
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"
-
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
-
cd to test directory. For example, in this case:
cd c:\oak_root\oak\test
-
type the following:
build vc
-
The testexecutor and example files are built under 'build' directory. In this example, it will be "C:\oak_root\build\vc" directory.
BORLAND
-
Open command propmt window: Press "Start Menu" button on Windows, press "Run" menu item and type "cmd".
-
Set environment variable BCC to the root of borland root directory. For instance, if the root directory is: C:\BCC55:
set BCC=c:\BCC55
-
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
-
cd to test directory. For example, in this case:
cd c:\oak_root\oak\test
-
type the following:
build borland
-
The testexecutor and example files are built under 'build' directory. In this example, it will be "C:\oak_root\build\bcc" directory.
-
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:
-
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.
-
cd to test directory:
cd /tmp/oak_root/oak/test
-
type make (gmake files):
make -f make.unix
- It will build the testexecutor and example in build directory:
/tmp/oak_root/build
|