Emscripten Web Assembly build fail
Yodonicc opened this issue · 3 comments
Yodonicc commented
zimg.cpp:137:5: error: use of undeclared identifier 'ZIMG_CPU_X86_MMX'
Yodonicc commented
Can I use emcc instead of gcc to compile zimg?
sekrit-twc commented
--disable-simd
Yodonicc commented
--disable-simd
Many thanks! After add --disable-simd, I was able to build zimg with emcc.If I runpkg-config --libs zimg
, I get "-L/usr/local/lib -lzimg". However, when I tried to build ffmpeg with --enable-libzimg
, it failed with "ERROR: zimg >= 2.7.0 not found using pkg-config". I've searched a lot, but nothing really helps. Any help will be a good news, thanks again!