Hi Michael,
I did it some time ago.
and dint see what you show.
i use this:
#!/bin/sh
echo GCC 9.2.0 and Qt 5.15 and the Cmake 3.3125 build Environment
NCORES=$(nproc)
MAXCORES=$(( NCORES - 5 ))
NJS=$(( MAXCORES > 5 ? MAXCORES : 5 ))
mkdir cmake325-os2
cd cmake325-os2
export LDFLAGS="-Zhigh-mem -Zomf -Zmap -lcx"
export CFLAGS="-O2 -g -march=pentium4"
export CXXFLAGS="-O2 -g -march=pentium4"
export FFLAGS="-O2 -g -march=pentium4"
export FCFLAGS="-O2 -g -march=pentium4"
cmake -L .. -DCMAKE_INSTALL_PREFIX:PATH=c:/test \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_BINARY=ON \
-DBUILD_SHARED_LIBS=ON \
-DCHECK_SSE2=ON \
-DTARGET_ARCHITECTURE=ON \
-Wno-dev 2>stdout 1>stderr
make -j$NJS 2>&1 |tee make.out
Not sure this will help.
What did you use..
I did v0.8
E:\uchardet-0.0.8\cmake325-os2\src\tools>uchardet.exe --version
uchardet Command Line Tool
Version 0.0.8
Authors: BYVoid, Jehan
Bug Report:
https://gitlab.freedesktop.org/uchardet/uchardet/-/issuesI add to ucharded.h line 47 this
#if defined(UCHARDET_SHARED) && (defined(_WIN32) || defined(__OS2__))
Regars, Tellie