C++ 无法在mingw64上编译insight调试器

C++ 无法在mingw64上编译insight调试器,c++,c,configure,mingw-w64,insight,C++,C,Configure,Mingw W64,Insight,我正在尝试从源代码编译insight(git://sourceware.org/git/insight.git)在mingw64上(x86_64-w64-mingw32-gcc) 以下是我的/configure选项: ./configure --prefix=/opt/arm-none-eabi-insight --target=arm-none-eabi --disable-binutils --disable-elfcpp --disable-gas --disable-gold --dis

我正在尝试从源代码编译insight(git://sourceware.org/git/insight.git)在mingw64上(
x86_64-w64-mingw32-gcc

以下是我的
/configure
选项:

./configure --prefix=/opt/arm-none-eabi-insight --target=arm-none-eabi --disable-binutils --disable-elfcpp --disable-gas --disable-gold --disable-gprof --disable-ld --disable-rpath --disable-zlib --enable-sim --with-expat --with-python --without-libunwind --with-tcl=/mingw64/lib --with-tk=/mingw64/lib
make
输出错误:

[...]
  CXX    gdbtk/generic/gdbtk-bp.o
  CXX    gdbtk/generic/gdbtk-cmds.o
gdbtk/generic/gdbtk-cmds.c: In function 'int gdb_listfiles(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)':
gdbtk/generic/gdbtk-cmds.c:1213:25: error: cannot convert 'listfiles_info' to 'void (*)(const char*, const char*, void*)'
 1213 |   map_symbol_filenames (info, false);
      |                         ^~~~
      |                         |
      |                         listfiles_info
In file included from gdbtk/generic/gdbtk-cmds.c:33:
./symfile.h:546:51: note:   initializing argument 1 of 'void map_symbol_filenames(void (*)(const char*, const char*, void*), void*, int)'
  546 | void map_symbol_filenames (symbol_filename_ftype *fun, void *data,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~^~~
make[3]: *** [Makefile:1629: gdbtk/generic/gdbtk-cmds.o] Error 1
make[3]: Leaving directory '/d/Work/FC/build_insight/insight/bundle/gdb'
make[2]: *** [Makefile:10110: all-gdb] Error 2
make[2]: Leaving directory '/d/Work/FC/build_insight/insight/bundle'
make[1]: *** [Makefile:866: all] Error 2
make[1]: Leaving directory '/d/Work/FC/build_insight/insight/bundle'
make: *** [Makefile:4: notarget] Error 2

如何禁用gtk组件?我尝试了
/配置
——禁用gtk
,但没有成功。

1)您的目标板/CPU是什么2)您计划使用的调试探测器是什么(如果有的话)?尽管我很喜欢它,《洞察》现在已经死了(我想):《洞察》上一次发布是在十年前。您可能需要考虑维护的替代方案,例如Eclipse CDT或Eclipse独立调试器,或者GDB的TUI模式。你考虑过这些吗?你可能想看看这个列表。我设法把它编译在树莓PI 4(ARM)上,所以我确信我可以在我的桌面计算机上运行Windows 10(英特尔处理器),用明文64来编译它。你是什么意思?调试探针?我明确需要洞察力,而不是任何其他GUI。我已经有一个已编译的二进制文件,但我需要一个支持python的,所以我必须自己编译它