diff --git a/backend_tcl/readme.txt b/backend_tcl/readme.txt index a9bfb028..751685b3 100644 --- a/backend_tcl/readme.txt +++ b/backend_tcl/readme.txt @@ -1,6 +1,6 @@ zint tcl binding readme ----------------------- - 2025-01-22 + 2025-12-19 (C) Harald Oehlmann (C) Git Lost harald.oehlmann@users.sourceforge.net @@ -18,13 +18,9 @@ There are the standard TCL build environments available: - "win\makefile.vc" for Microsoft Visual Studio command prompt (nmake) - see "win\README.txt" for details -The GS1 syntax engine may be added optionally. -https://github.com/gs1/gs1-syntax-engine -Please look to the top of makefile.vc to activate it. - -The GS1 syntax engine project currently only allows to build a dll and an import lib. -This hopefully changes in future. -Remark, that the syntax engine dll may not be included in a starkit or zipkit. +The GS1 Syntax Engine must be available. See the instructions in "README.linux" +for Linux, "README.macos" for macOS, "README.bsd" for BSD, and "win32\README" +for Windows to install. Usage: diff --git a/backend_tcl/win/makefile.vc b/backend_tcl/win/makefile.vc index 881d1c55..ba639261 100644 --- a/backend_tcl/win/makefile.vc +++ b/backend_tcl/win/makefile.vc @@ -19,15 +19,18 @@ #------------------------------------------------------------------------------ # Activate GS1 syntax engine support (option "-gs1strict") -# https://github.com/gs1/gs1-syntax-engine -# Build the library gs1encoders.dll -ZINT_HAVE_GS1SE = 0 +# https://github.com/gitlost/gs1-syntax-engine +ZINT_HAVE_GS1SE = 1 # folder of the include file gs1encoders.h (in src/c-lib folder of the syntax engine) -SYNTAX_ENGINE_INCLUDE = $(ROOT)\..\..\gs1-syntax-engine-main\src\c-lib +SYNTAX_ENGINE_INCLUDE = $(ROOT)\..\..\gs1-syntax-engine\src\c-lib # folder of the library gs1encoders.lib of the syntax engine -SYNTAX_ENGINE_LIB = $(ROOT)\..\..\gs1-syntax-engine-main\src\c-lib\build\library\x64\Release +# same as above if building using static library +SYNTAX_ENGINE_LIB = $(SYNTAX_ENGINE_INCLUDE) +# in arch-specific Release folder if building using DLL +#SYNTAX_ENGINE_LIB = $(SYNTAX_ENGINE_INCLUDE)\build\library\x64\Release +#SYNTAX_ENGINE_LIB = $(SYNTAX_ENGINE_INCLUDE)\build\library\Win32\Release # The name of the package PROJECT = zint