1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-21 11:57:04 +00:00

backend_tcl: make GS1 Syntax Engine non-optional for simplicity

This commit is contained in:
gitlost
2025-12-19 14:21:35 +00:00
parent c0d3260d1f
commit 3e1bb593d1
2 changed files with 12 additions and 13 deletions

View File

@@ -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:

View File

@@ -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