Building Tcl with Visual C++ 6.0

  1. Set the include directories. Choose Tools -> Options -> Directories. Under the "Show directories for" pull-down, select "Include files". Add the full pathnames for tcl/include , then click OK. This is the directory that contains tcl.h.

  2. Set library files directories. Choose Tools -> Options -> Directories. Under the "Show directories for" pull-down, select "Library files". Add the full pathname for the tcl/lib directory, the click OK. This is the directory needed to find tcl84.lib (or whatever the library is named in your distribution).

  3. Go to Build -> Set Active Configuration and set select either the Debug or Release version of the db_tcl project. Then press OK.

  4. Select Build -> Build libdb_tcl53.dll. This builds the Tcl support library for Berkeley DB, which is required for Berkeley DB XML.

  5. Go to Build -> Set Active Configuration and set select either the Debug or Release version of the dbxml_tcl project. Then press OK.

  6. Select Build -> Build libdbxml_tcl26.dll. This builds the Tcl support library for Berkeley DB XML, placing the result into bin/debug/libdbxml_tcl26d.dll or bin/libdbxml_tcl26.dll.

If you use a version different from Tcl 8.5.x you will need to change the name of the Tcl library used in the build (for example, tcl86.lib) to the appropriate name. To do this, choose Project -> Settings -> db_tcl and change the Tcl library listed in the Object/Library modules tcl85.lib to match the Tcl version you are using.