2005/5/10

     
 

Compile acdk_tcl

artefaktur

How to compile and use acdk_tcl.


Content of this chapter:

   Download Tcl
   Configure ACDK
   Compile acdk_tcl
   Running executables using acdk_pthyton



 Download Tcl

In most Unix environmet the Tcl interpreter is part of the distribution.

You can download the Tcl distribution from: http http://tcl.sourceforge.net/.

Follow the instruction to compile and install the Tcl interpreter.

 Configure ACDK

After installing Tcl you probably have to ajust some configuration in acdk:
  • Unix: open acdk_globals.[your platform] in the ACDK root directory and ajust the ACDK_TCL_* values to point to the correct directories and library names.
  • Windows: open the acdkenv.cmd ACDK root directory and ajust the ACDK_TCL_* values.
    You have to execute this batch file before you compile the project in a cmd windows. If you use an IDE (like Visual Studio) use some of the start scripts in the ACDK root directory (like startvstudio6.cmd).
    Alternately you can also add these environment variables into your global environment.

 Compile acdk_tcl

If the environment variables are set correctly acdk_tcl can be compiled.

 Running executables using acdk_pthyton

To run an executble using acdk_pthon you may have set environment variables (PATH on Windows and LD_LIBRARY_PATH) to point to ACDK bin directory and the directory of the shared libraries of Tcl.

On windows you can use the acdkenv.cmd for this purpose.
On Unix os (Linux, bsd, solaris) you may 'source' the acdkenv.[platform] before executing the application.