sekrit-twc / zimg

Scaling, colorspace conversion, and dithering library
Do What The F*ck You Want To Public License
405 stars 77 forks source link

fail testsuite if build zimg in 32bit #195

Closed sl1pkn07 closed 1 year ago

sl1pkn07 commented 1 year ago

Hi

after build zimg with

  export CC="gcc -m32"
  export CXX="g++ -m32"
  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
    --enable-testapp \
    --enable-example \
    --enable-unit-test

and run test with

  ./testapp cpuinfo
  ./test/unit_test

test.log

greetings

sekrit-twc commented 1 year ago

Unit test with 32-bit cross compile requires --host=i686-linux-gnu to set correct CFLAGS.

sl1pkn07 commented 1 year ago

tnx