Back to Main PageBack

TAO ORB Examples

Some simple ORB examples are available to show the basic usage of TAO:

How to Build The Examples

UNIX

These instructions are based on the Solaris gcc3.2 compiler makefiles.

  1. Ensure that the following environment variables are set:
  2. Ensure that your environment is set up for your compiler and linker. For example, for gcc3.2:

    PATH=/usr/local/gcc-3.2/bin:/usr/ccs/bin:$PATH; export PATH

    LD_LIBRARY_PATH=/usr/local/gcc-3.2/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH

  3. Change to the <TAO install dir>/examples/TAO directory.
  4. If you have not done so already, enter the gmake command to run the makefile. This will compile all of the examples.

Windows NT

  1. Set the environmental property TAO_ROOT=<TAO install dir>, where <TAO install dir> is the location into which you have installed TAO.
  2. Set the environmental property ACE_ROOT=<TAO install dir>, where <TAO install dir> is the location into which you have installed TAO.
  3. A global example Microsoft Visual C++ project has been provided. This is called <TAO install dir>\examples\TAO\examples.dsw. Double-click on the project file to load it into Microsoft Visual C++. When loaded, change the Common project from debug mode to release mode using the Build | Set Active Configuration menu option.
  4. When loaded, change the project settings from debug mode to release mode using the Build | Set Active Configuration menu option for the project you wish to build.
  5. Build the appropriate project.

PrismTech TOP
Top