I can't compile the atk library in Visual Studio Community 2022!

Hi,

I want to compile ATK library in Visual Studio Community 2022 but i am receiving this error message:

glib| Run-time dependency libffi found: NO (tried pkgconfig and cmake)
glib| Looking for a fallback subproject for the dependency libffi

Executing subproject glib:libffi

libffi| Project name: libffi
libffi| Project version: 3.2.9999
libffi| C compiler for the host machine: cl (msvc 19.32.31332 “Microsoft (R) C/C++ Optimizing Compiler Vers�o 19.32.31332 para x86”)
libffi| C linker for the host machine: link link 14.32.31332.0
libffi| Message: host cpu: x86
libffi| Message: host cpu_family: x86
libffi| Message: host system: windows
libffi| Checking if “ASM …cfi” compiles: NO
libffi| Checking if “ASM x86 PCREL” compiles: NO
libffi| Checking if “ASM .ascii” compiles: NO
libffi| Checking if “ASM .string” compiles: NO
libffi| Checking for size of “size_t” : 4
libffi| Checking for size of “long double” : 8
libffi| Checking for size of “double” : 8
libffi| Message: .eh_frame is hard-coded to ro
libffi| Checking for function “memcpy” : YES
libffi| Checking for function “mkostemp” : NO
libffi| Has header “alloca.h” : NO (cached)
libffi| Has header “inttypes.h” : YES (cached)
libffi| Has header “stdint.h” : YES (cached)
libffi| Compiler for C supports function attribute visibility: NO
libffi| Configuring fficonfig.h using configuration
libffi| Program msvcc.sh found: YES (sh C:\Users\milto\Downloads\gtkmm\atk-2.38.0\subprojects\libffi\msvcc.sh)
libffi| Configuring ffi-x86.h using configuration
libffi| Configuring ffitarget.h using configuration
libffi| Configuring ffi.h using configuration
libffi| Program cl found: YES (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x86\cl.EXE)
libffi| Program ml found: YES (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x86\ml.EXE)
libffi| Compiler for C supports arguments -x assembler-with-cpp: NO
libffi| Build targets in project: 9
libffi| NOTICE: Future-deprecated features used:
libffi| * 0.64.0: {‘copy arg in configure_file’}
libffi| Subproject libffi finished.

glib| WARNING: Subproject ‘libffi’ did not override ‘libffi’ dependency and no variable name specified
glib| Dependency libffi from subproject subprojects/libffi found: NO

…\subprojects\glib\meson.build:2083:0: ERROR: Dependency ‘libffi’ is required but not found.

The command that I used:

meson … --buildtype=release --prefix=C:\gtkmm

I executed this command within of the builddir directory that I created to build ATK.
My main goal is to compile the gtkmm library!
What mistake can I be making? And how can I resolve?

Thanks for any help!

Should be fixed by Update subproject wraps (!53) · Merge requests · GNOME / atk · GitLab

Also note that ATK can be built from the at-spi2-core repository, which is maintained more actively. You can use -Datk_only=true as all other things aren’t useful on Windows.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.