1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-05-14 18:13:53 +00:00

backend_tcl/zint_tcl.vcsproj: put ZINT_VERSION in general defines

and remove from individual .c files;
  rename include dirs "C:\myprograms\tcl9.0" -> "C:\Tcl" and lib
  dirs "C:\myprograms\tcl9.0\lib" -> "C:\Tcl\lib";
  suppress some warnings
backend_tcl/zint.c: suppress some warnings
tools/update_version.php: update for "backend_tcl/zint_tcl.dsp" ->
  ".vcxproj"
manual.pmd: backend_tcl: fix "require package" -> "package require"
  and explain "C:\Tcl" may need adjusting
general: update copyright years in ".rc" files
library: remove needless `eci` zeroing in `set_symbol_defaults()`
  and make `barcode_seg_funcs` initialization consistent (147 now)
This commit is contained in:
gitlost
2025-01-29 16:54:59 +00:00
parent b377b14360
commit 53cb29dbc6
12 changed files with 103 additions and 230 deletions

View File

@@ -239,8 +239,7 @@ root directory.
The Tcl backend in the `"backend_tcl"` sub-directory may be built using the
provided TEA (Tcl Extension Architecture) build on Linux, Windows, macOS and
Android. For Windows, an MSVC6 makefile is also available. See [Annex C. Tcl
Backend Binding] for further details.
Android. See [Annex C. Tcl Backend Binding] for further details.
# 3. Using Zint Barcode Studio
@@ -5033,9 +5032,11 @@ sudo make install
```
For Windows, a Microsoft Visual C++ project file is available at
`"backend_tcl\zint_tcl.vcxproj"`. There is also a Visual Studio makefile
available at `"backend_tcl\win\makefile.vc"`, which can be run with `nmake` -
for details see `"backend_tcl\win\README.txt"`.
`"backend_tcl\zint_tcl.vcxproj"`. Note that this assumes that Tcl/Tk is
available in `"C:\Tcl"` and that the libraries are named `"tclstub.lib"` and
`"tkstub.lib"` - change to match your setup. There is also a Visual Studio
makefile available at `"backend_tcl\win\makefile.vc"`, which can be run with
`nmake` - for details see `"backend_tcl\win\README.txt"`.
Once built and installed, invoke the Tcl/Tk CLI `"wish"`:
@@ -5046,7 +5047,7 @@ wish
and ignoring the Tk window click back to the command prompt `"%"` and type:
```bash
require package zint
package require zint
zint help
```