Closed vtorri closed 3 years ago
I guess you may be able to workaround the problem by updating giflib to a newer version.
giflib 5.0.5:
lib/gif_lib.h:int DGifCloseFile(GifFileType * GifFile);
giflib 5.2.1:
gif_lib.h: int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
what is wrong is your build system. If you want to require at least this version of giflib, then fix it. Indeed, the cmake output is (see above too):
-- Found GIF: E:/Documents/programmes_x64/msys2/opt/ewpi_64/lib/libgif.dll.a (found suitable version "5.0.5", minimum required is "5")
I'll update gif, thank you
after updating giflib, all is ok, closing
But you should really check giflib version....
Leaving this open until we fix the CMake config :)
Our apologies for the inconvenience. We simply weren’t aware that it didn’t work in 5.0. We haven’t tested such old versions — 5.1 is enough and that was released in 2014, four years before the version of CMake that we require.
Describe the bug
To Reproduce
I use this script:
and this cross toolchain file :
cmake output :
Expected behavior
build should success...
Environment