This report pertains to release 3.1.1 of libjpeg-turbo. I haven't (yet) tried out any older releases.
As you are no doubt aware, Cygwin provides a POSIX-like emulation layer as well as Gnu developer tools, on Microsoft Windows. I'm running Cygwin version 3.6.3-1.x86_64 on Windows 11. When running cmake to create the build infrastructure, I hit this error: CMake Error at CMakeLists.txt:107 (math): math cannot parse the expression: " * 8": syntax error, unexpected exp_TIMES (2). The entire output is included below, for context. I am hoping someone can take a look at this and provide a fix that lets it configure on Cygwin. If that can't happen right away, I'd welcome just a reply from anyone who's built libjpeg-turbo on Cygwin in the past. BTW, I configured and built from exactly the same source kit on Debian Gnu/Linux, and as you'd expect, all went smoothly. Thank you, Soren --- cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local/libjpeg-turbo -DCMAKE_INSTALL_BINDIR=/usr/local/bin -DCMAKE_INSTALL_DOCDIR=/usr/local/share/doc /cygdrive/C/Users/somia/Downloads/libjpeg-turbo-3.1.1/ -- CMAKE_BUILD_TYPE = Release -- VERSION = 3.1.1, BUILD = 20250719 CMake Error at CMakeLists.txt:107 (math): math cannot parse the expression: " * 8": syntax error, unexpected exp_TIMES (2). -- ERROR-bit build (i386) -- CMAKE_INSTALL_PREFIX = /usr/local/libjpeg-turbo -- CMAKE_INSTALL_BINDIR = /usr/local/bin -- CMAKE_INSTALL_DATAROOTDIR = share (/usr/local/libjpeg-turbo/share) -- CMAKE_INSTALL_DOCDIR = /usr/local/share/doc -- CMAKE_INSTALL_INCLUDEDIR = include (/usr/local/libjpeg-turbo/include) -- CMAKE_INSTALL_LIBDIR = lib (/usr/local/libjpeg-turbo/lib) -- CMAKE_INSTALL_MANDIR = share/man (/usr/local/libjpeg-turbo/share/man) -- Shared libraries enabled (ENABLE_SHARED = 1) -- Static libraries enabled (ENABLE_STATIC = 1) -- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1) -- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1) -- TurboJPEG API library enabled (WITH_TURBOJPEG = 1) -- TurboJPEG Java wrapper disabled (WITH_JAVA = 0) -- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0) -- libjpeg API shared library version = 62.4.0 -- Compiler flags = -O3 -DNDEBUG -- Linker flags = -Wl,--enable-auto-import -- HIDDEN = __attribute__((visibility("hidden"))) -- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1) -- THREAD_LOCAL = __thread -- Linker supports GNU-style version scripts -- CMAKE_EXECUTABLE_SUFFIX = .exe -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm.exe -- CMAKE_ASM_NASM_OBJECT_FORMAT = win32 -- CMAKE_ASM_NASM_FLAGS = -DWIN32 -DPIC -- SIMD extensions: i386 (WITH_SIMD = 1) -- FLOATTEST8 = sse -- FLOATTEST12 = -- Configuring incomplete, errors occurred! -- You received this message because you are subscribed to the Google Groups "libjpeg-turbo User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to libjpeg-turbo-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/libjpeg-turbo-users/5150e30f-a010-45f5-92d7-8c132fb91c59n%40googlegroups.com.