media-autobuild_suite icon indicating copy to clipboard operation
media-autobuild_suite copied to clipboard

libwebp error when compile

Open jvsdr opened this issue 2 years ago • 4 comments

`21:11:50 ┌ libwebp git .............................. [Recently updated] 0006-CMake-add-WEBP_BUILD_WEBPINFO-to-list-of-checks-for-.patch Patch could not be applied with 'git am'. Continuing without patching. 21:11:54 ├ Running cmake... 21:12:05 ├ Running build... Likely error (tail of the failed operation logfile): [3/5] Linking C static library libwebpmux.a [4/5] Building C object CMakeFiles/webpinfo.dir/examples/webpinfo.c.o FAILED: CMakeFiles/webpinfo.dir/examples/webpinfo.c.o E:\media-autobuild_suite\msys64\mingw64\bin\ccache.exe gcc -DHAVE_CONFIG_H -DUNICODE -DWEBP_SWAP_16BIT_CSP=1 -D_UNICODE -IE:/media-autobuild_suite/msys64/mingw64/include -IE:/media-autobuild_suite/build/libwebp-git/build-64bit/src -mthreads -mtune=generic -O2 -pipe -DFREEGLUT_STATIC -pthread -O3 -DNDEBUG -Wall -MD -MT CMakeFiles/webpinfo.dir/examples/webpinfo.c.o -MF CMakeFiles\webpinfo.dir\examples\webpinfo.c.o.d -o CMakeFiles/webpinfo.dir/examples/webpinfo.c.o -c E:/media-autobuild_suite/build/libwebp-git/examples/webpinfo.c In file included from E:/media-autobuild_suite/build/libwebp-git/examples/webpinfo.c:22: E:/media-autobuild_suite/build/libwebp-git/imageio/imageio_util.h:17:10: fatal error: webp/types.h: No such file or directory 17 | #include "webp/types.h" | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. build failed. Check E:/media-autobuild_suite/build/libwebp-git/build-64bit/ab-suite.build.log This is required for other packages, so this script will exit. 21:12:11 Creating diagnostics file...

All relevant logs have been anonymously uploaded to https://0x0.st/oTLx.zip ` image

jvsdr avatar Apr 24 '22 00:04 jvsdr

The same error occurred to me. And, when I withdrew the last one(https://github.com/m-ab-s/media-autobuild_suite/commit/3f153b2eba01d973944ef80338080b45728309f1), I found that there was no error.

bluenlive avatar Apr 25 '22 13:04 bluenlive

Simply use previous commit & remove previous cloned .. libwebp-git in the build folder,

ls-milkyway avatar Apr 25 '22 19:04 ls-milkyway

Simply use previous commit & remove previous cloned .. libwebp-git in the build folder,

I did that and another error was generated:

https://0x0.st/ompb.zip

11:33:26 ┌ libwebp git .............................. [Recently updated] 11:33:43 ├ Running cmake... Likely error (tail of the failed operation logfile): CMake Error at D:/ffbuild/msys64/mingw64/share/cmake/Modules/CheckIncludeFiles.cmake:138 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): cmake/deps.cmake:141 (check_include_files) CMakeLists.txt:95 (include)

-- Configuring incomplete, errors occurred! See also "D:/ffbuild/build/libwebp-git/build-64bit/CMakeFiles/CMakeOutput.log". See also "D:/ffbuild/build/libwebp-git/build-64bit/CMakeFiles/CMakeError.log". cmake failed. Check D:/ffbuild/build/libwebp-git/build-64bit/ab-suite.cmake.log This is required for other packages, so this script will exit. 11:33:57 Creating diagnostics file...

All relevant logs have been anonymously uploaded to https://0x0.st/ompb.zip Copy and paste logs.zip in the GitHub issue. Make sure the suite is up-to-date before reporting an issue. It might've been fixed already. Try running the build again at a later time.

rafnunes777 avatar May 11 '22 14:05 rafnunes777

I also encountered mistakes in this step, but different from everyone else:

├ Running cmake... ├ Running build... Likely error (tail of the failed operation logfile): E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x4c6): undefined reference to ZSTD_isError' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x4d2): undefined reference to ZSTD_getErrorName' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x59c): undefined reference to ZSTD_initDStream' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x5a7): undefined reference to ZSTD_isError' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x5c1): undefined reference to ZSTD_createDStream' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x604): undefined reference to ZSTD_getErrorName' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x66e): undefined reference to ZSTD_maxCLevel' E:/media-autobuild_suite-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/media-autobuild_suite-master/local64/lib/libtiff.a(tif_zstd.c.obj):tif_zstd.c:(.text+0x677): undefined reference to ZSTD_maxCLevel' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. build failed. Check E:/media-autobuild_suite-master/build/libwebp-git/build-64bit/ab-suite.build.log This is required for other packages, so this script will exit. Creating diagnostics file...

All relevant logs have been anonymously uploaded to https://0x0.st/o1Db.zip Copy and paste logs.zip in the GitHub issue. Make sure the suite is up-to-date before reporting an issue. It might've been fixed already. Try running the build again at a later time.

Puiching-Memory avatar Jul 18 '22 11:07 Puiching-Memory