| 1 | tolbase - Compiling under Windows platform |
|---|
| 2 | |
|---|
| 3 | This file what is needed to compile tolbase under windows |
|---|
| 4 | platform. The source code has being prepared to be compiled with |
|---|
| 5 | Microsoft VC++ version 6. A project file tolbase.dsp is provided to |
|---|
| 6 | generate de executable tolbase.exe. |
|---|
| 7 | |
|---|
| 8 | Software requirement |
|---|
| 9 | ==================== |
|---|
| 10 | |
|---|
| 11 | In order to create tolbase.exe we must to link against the Tcl/Tk |
|---|
| 12 | libraries. tolbase also depends on this Tcl/Tk extension in runtime: |
|---|
| 13 | BLT (2.4z), BWidget (1.7), snit (0.91), tclodbc, TkTable and toltcl. |
|---|
| 14 | All this extensions, but toltcl, can be obtained from |
|---|
| 15 | http://www.tol-project.org/downloads/tolbase_addons.zip. The contents |
|---|
| 16 | of this file must be unpacked and copied to the tolbase's directory |
|---|
| 17 | lib. |
|---|
| 18 | |
|---|
| 19 | Normally we must copy the last compilation of toltcl.dll to the |
|---|
| 20 | location lib/toltcl/toltcl.dll. |
|---|
| 21 | |
|---|
| 22 | Environment variables |
|---|
| 23 | ===================== |
|---|
| 24 | |
|---|
| 25 | Libraries and header files dependencies of tolbase are solved with the |
|---|
| 26 | environment variables TCL_INCLUDE, TCL_LIB. TCL_INCLUDE points to the |
|---|
| 27 | location of Tcl include files, TCL_LIB points to the location of Tcl |
|---|
| 28 | libraries (.lib). For instance, if Tcl/Tk was installed in "c:\tcltk" |
|---|
| 29 | then the values for those variables could be: |
|---|
| 30 | |
|---|
| 31 | TCL_INCLUDE = c:\tcltk\include |
|---|
| 32 | |
|---|
| 33 | TCL_LIB = c:\tcltk\lib |
|---|
| 34 | |
|---|
| 35 | Runtime requirement |
|---|
| 36 | =================== |
|---|
| 37 | |
|---|
| 38 | Below is a graph of dependencies for tolbase (there are others but |
|---|
| 39 | those are solved using the tcl's package mechanism). In order to solve |
|---|
| 40 | the dependencies wrt. tol.dll, gsl.dll and gslcblas.dll this must be |
|---|
| 41 | found either in the search path of windows (PATH environment variable) |
|---|
| 42 | or located in the same place of tolbase.exe. This last is the one we |
|---|
| 43 | use to distribute tolbase. |
|---|
| 44 | |
|---|
| 45 | tolbase.exe |
|---|
| 46 | | |
|---|
| 47 | |____ toltcl.dll |
|---|
| 48 | | | |
|---|
| 49 | | |_____ tol.dll |
|---|
| 50 | | | |
|---|
| 51 | | |____ gsl.dll, gslcblas.dll |
|---|
| 52 | | |
|---|
| 53 | |____ tcl84.dll, tk84.dll |
|---|