I have downloaded the latest version 6.0.6, but when I built the source code using MSYS2,it had the build error, shown as below:
make[2]: *** [common/CMakeFiles/common.dir/build.make:2106:common/CMakeFiles/common.dir/bitmap_info.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:2873: common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:146: all] Error 2I have no idea how to fix it, I beg your help.--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/8325e0a9-4622-4baf-84b8-5495970d0283n%40kicad.org.
I would like to ask what additional error information I need to provide.
If the compiler version is 12.x, I saw it on a very recent msys install (gcc 12.1) and I am thinking this is a bug in gcc 12.x.
It does not accept the very large initialized list found in bitmap_info.cpp.
(Error 2 is the returned code of some binary inside gcc)
I have a fix for that (it avoids this very long initialized
list).
Jean-Pierre CHARRAS
Try commit 92681809 .
Thanks for your help。
On Tuesday, July 12, 2022 at 2:15:02 PM UTC+8 jp charras wrote:
If the compiler version is 12.x, I saw it on a very recent msys install (gcc 12.1) and I am thinking this is a bug in gcc 12.x.
It does not accept the very large initialized list found in bitmap_info.cpp.
(Error 2 is the returned code of some binary inside gcc)
I have a fix for that (it avoids this very long initialized list).
-- Jean-Pierre CHARRAS