[glibmm] Build error on x64-windows-static-md
Open
@LilyWangLL is already working on this.
Since Jun 30, 2025.
category:port-bug
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
Package: glibmm:x64-windows-static-md@2.80.1#1
Host Environment
- Host: x64-windows
- Compiler: MSVC 19.44.35211.0
- vcpkg-tool version: 2025-04-16-f9b6c6917b23c1ccf16c1a9f015ebabf8f615045
vcpkg-scripts version: 7066011e27 2025-06-26 (2 days ago)
To Reproduce
vcpkg install libxmlpp:x64-windows-static-md
Failure logs
-- Found Python version '3.12.7 at D:/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: D:/vcpkg/downloads/tools/meson-1.8.2-3d2461/meson.py
-- Using cached glibmm-2.80.1.tar.xz
-- Cleaning sources at D:/vcpkg/buildtrees/glibmm/src/glibmm-2-ee5113c192.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/glibmm-2.80.1.tar.xz
-- Using source at D:/vcpkg/buildtrees/glibmm/src/glibmm-2-ee5113c192.clean
-- Found external ninja('1.12.1').
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-static-md-dbg
-- Getting CMake variables for x64-windows-static-md
-- Loading CMake variables from D:/vcpkg/buildtrees/glibmm/cmake-get-vars_C_CXX-x64-windows-static-md.cmake.log
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: D:/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe -I D:/vcpkg/downloads/tools/meson-1.8.2-3d2461/meson.py setup -Dbuild-examples=false -Dmsvc14x-parallel-installable=false --backend ninja --wrap-mode nodownload -Doptimization=plain --native D:/vcpkg/buildtrees/glibmm/meson-x64-windows-static-md-dbg.log --libdir lib --pkgconfig.relocatable -Ddebug=true --prefix D:/vcpkg/packages/glibmm_x64-windows-static-md/debug --includedir ../include --pkg-config-path ['D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig','D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig'] -Dcmake_prefix_path=['D:/vcpkg/installed/x64-windows-static-md/debug','D:/vcpkg/installed/x64-windows-static-md','D:/vcpkg/installed/x64-windows-static-md/share'] D:/vcpkg/buildtrees/glibmm/src/glibmm-2-ee5113c192.clean
Working Directory: D:/vcpkg/buildtrees/glibmm/x64-windows-static-md-dbg
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\glibmm\config-x64-windows-static-md-dbg-meson-log.txt.log
D:\vcpkg\buildtrees\glibmm\config-x64-windows-static-md-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:468 (vcpkg_execute_required_process)
ports/glibmm/portfile.cmake:14 (vcpkg_configure_meson)
scripts/ports.cmake:206 (include)
D:\vcpkg\buildtrees\glibmm\config-x64-windows-static-md-dbg-out.log
The Meson build system
Version: 1.8.2
Source dir: D:\vcpkg\buildtrees\glibmm\src\glibmm-2-ee5113c192.clean
Build dir: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg
Build type: native build
Project name: glibmm
Project version: 2.80.1
C++ compiler for the host machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 (msvc 19.44.35211 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64")
C++ linker for the host machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/link.exe link 14.44.35211.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES 3.12.7 3.12.7
Found pkg-config: YES (D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe) 2.4.3
Run-time dependency sigc++-3.0 found: YES 3.6.0
Run-time dependency glib-2.0 found: YES 2.84.2
Run-time dependency gobject-2.0 found: YES 2.84.2
Run-time dependency gmodule-2.0 found: YES 2.84.2
Run-time dependency gio-2.0 found: YES 2.84.2
Program mm-common-get found: NO
Program m4 found: NO
Program doxygen found: NO
Program dot found: NO
Program xsltproc found: NO
Program perl found: NO
Compiler for C++ supports arguments /FImsvc_recommended_pragmas.h: NO
Compiler for C++ supports arguments /EHsc: YES
Compiler for C++ supports arguments /utf-8: YES
Compiler for C++ supports arguments /wd4589: YES
Compiler for C++ supports arguments /wd4702: YES
Compiler for C++ supports arguments /wd4267: YES
Configuring gmmproc using configuration
Configuring generate_wrap_init.pl using configuration
..\src\glibmm-2-ee5113c192.clean\glib\meson.build:42:4: ERROR: Problem encountered: Static builds are not supported by MSVC-style builds
A full log can be found at D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-logs\meson-log.txt
D:\vcpkg\buildtrees\glibmm\config-x64-windows-static-md-dbg-meson-log.txt.log
Build started at 2025-06-28T20:57:05.763429
Main binary: D:\vcpkg\downloads\tools\python\python-3.12.7-x64-1\python.exe
Build Options: -Dbuild-examples=false -Dmsvc14x-parallel-installable=false -Doptimization=plain -Ddebug=true '-Dcmake_prefix_path=['"'"'D:/vcpkg/installed/x64-windows-static-md/debug'"'"','"'"'D:/vcpkg/installed/x64-windows-static-md'"'"','"'"'D:/vcpkg/installed/x64-windows-static-md/share'"'"']' -Dprefix=D:/vcpkg/packages/glibmm_x64-windows-static-md/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dwrap_mode=nodownload -Dpkgconfig.relocatable=True '-Dpkg_config_path=['"'"'D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig'"'"','"'"'D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig'"'"']' --native-file=D:/vcpkg/buildtrees/glibmm/meson-x64-windows-static-md-dbg.log
Python system: Windows
The Meson build system
Version: 1.8.2
Source dir: D:\vcpkg\buildtrees\glibmm\src\glibmm-2-ee5113c192.clean
Build dir: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg
Build type: native build
Project name: glibmm
Project version: 2.80.1
-----------
Detecting compiler via: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /?` -> 0
stdout:
C/C++ COMPILER OPTIONS
-OPTIMIZATION-
/O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed)
/Ob<n> inline expansion (default n=0) /Od disable optimizations (default)
/Og enable global optimization /Oi[-] enable intrinsic functions
/Os favor code space /Ot favor code speed
/Ox optimizations (favor speed)
/favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:
blend - a combination of optimizations for several different x64 processors
AMD64 - 64-bit AMD processors
INTEL64 - Intel(R)64 architecture processors
ATOM - Intel(R) Atom(TM) processors
-CODE GENERATION-
/Gu[-] ensure distinct functions have distinct addresses
/Gw[-] separate global variables for linker
/GF enable read-only string pooling /Gy[-] separate functions for linker
/GS[-] enable security checks /GR[-] enable C++ RTTI
/guard:cf[-] enable CFG (control flow guard)
/guard:ehcont[-] enable EH continuation metadata (CET)
/EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)
/EHc extern "C" defaults to nothrow
/EHr always generate noexcept runtime termination checks
/fp:<contract|except[-]|fast|precise|strict> choose floating-point model:
contract - consider floating-point contractions when generating code
except[-] - consider floating-point exceptions when generating code
fast - "fast" floating-point model; results are less predictable
precise - "precise" floating-point model; results are predictable
strict - "strict" floating-point model (implies /fp:except)
/Qfast_transcendentals generate inline FP intrinsics even with /fp:except
/Qspectre[-] enable mitigations for CVE 2017-5753
/Qpar[-] enable parallel code generation
/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops
/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized
/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops
/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized
/GL[-] enable link-time code generation
/volatile:<iso|ms> choose volatile model:
iso - Acquire/release semantics not guaranteed on volatile accesses
ms - Acquire/release semantics guaranteed on volatile accesses
/GA optimize for Windows Application /Ge force stack checking for all funcs
/Gs[num] control stack checking calls /Gh enable _penter function call
/GH enable _pexit function call /GT generate fiber-safe TLS accesses
/RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks
/RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks
/clr[:option] compile for common language runtime, where option is:
pure : produce IL-only output file (no native executable code)
safe : produce IL-only verifiable output file
netcore : produce assemblies targeting .NET Core runtime
noAssembly : do not produce an assembly
nostdlib : ignore the system .NET framework directory when searching for assemblies
nostdimport : do not import any required assemblies implicitly
initialAppDomain : enable initial AppDomain behavior of Visual C++ 2002
implicitKeepAlive- : turn off implicit emission of System::GC::KeepAlive(this)
char_t- : turn off metadata support for char8_t, char16_t and char32_t
ECMAParamArray : use rules specified in ECMA-372/14.6 for overloads with parameter arrays (implied by /clr)
ECMAParamArray- : use new rules for overloads with parameter arrays (implied by /clr:netcore)
/fsanitize=address Enable address sanitizer codegen
/homeparams Force parameters passed in registers to be written to the stack
/GZ Enable stack checks (/RTCs) /Gv __vectorcall calling convention
(Preview) /dynamicdeopt Enable dynamic debugging; place deoptimized breakpoints and step in anywhere with on-demand function deoptimization
(Preview) /dynamicdeopt:suffix <suffix> File extension suffix for deoptimized output (default: .alt)
(Preview) /dynamicdeopt:sync Build deoptimized output after optimized output instead of in parallel
/arch:<SSE2|SSE4.2|AVX|AVX2|AVX512|AVX10.x> minimum CPU architecture requirements, one of:
SSE2 - (default) enable use of instructions available with SSE2-enabled CPUs
SSE4.2 - enable use of instructions available with SSE 4.2-enabled CPUs
AVX - enable use of instructions available with AVX-enabled CPUs
AVX2 - enable use of instructions available with AVX2-enabled CPUs
AVX512 - enable use of instructions available with AVX-512-enabled CPUs
AVX10.x - enable use of instructions available with AVX10.x-enabled CPUs. Valid values of x are 1
/QIntel-jcc-erratum enable mitigations for Intel JCC erratum
/Qspectre-load Enable spectre mitigations for all instructions which load memory
/Qspectre-load-cf Enable spectre mitigations for all control-flow instructions which load memory
/Qspectre-jmp[-] Enable spectre mitigations for unconditional jump instructions
/fpcvt:<IA|BC> FP to unsigned integer conversion compatibility
IA - results compatible with VCVTTSD2USI instruction
BC - results compatible with VS2017 and earlier compiler
/jumptablerdata Place jump tables for switch case statements in .rdata section
/vlen=<256|512> Choose vector length of either 256 or 512 for automatic code-generation
/vlen Choose default vector length based on /arch setting
-OUTPUT FILES-
/Fa[file] name assembly listing file /FA[scu] configure assembly listing
/Fd[file] name .PDB file /Fe<file> name executable file
/Fm[file] name map file /Fo<file> name object file
/Fp<file> name precompiled header file /Fr[file] name source browser file
/FR[file] name extended .SBR file /Fi[file] name preprocessed file
/Fd: <file> name .PDB file /Fe: <file> name executable file
/Fm: <file> name map file /Fo: <file> name object file
/Fp: <file> name .PCH file /FR: <file> name extended .SBR file
/Fi: <file> name preprocessed file
/Ft<dir> location of the header files generated for #import
/doc[file] process XML documentation comments and optionally name the .xdc file
-PREPROCESSOR-
/AI<dir> add to assembly search path /FU<file> import .NET assembly/module
/FU:asFriend<file> import .NET assembly/module as friend
/C don't strip comments /D<name>{=|#}<text> define macro
/E preprocess to stdout /EP preprocess to stdout, no #line
/P preprocess to file /Fx merge injected code to file
/FI<file> name forced include file /U<name> remove predefined macro
/u remove all predefined macros /I<dir> add to include search path
/X ignore "standard places"
/PH generate #pragma file_hash when preprocessing
/PD print all macro definitions
-LANGUAGE-
/std:<c++14|c++17|c++20|c++latest> C++ standard version
c++14 - ISO/IEC 14882:2014 (default)
c++17 - ISO/IEC 14882:2017
c++20 - ISO/IEC 14882:2020
c++latest - latest draft standard (feature set subject to change)
/std:<c11|c17|clatest> C standard version
c11 - ISO/IEC 9899:2011
c17 - ISO/IEC 9899:2018
clatest - latest draft standard (feature set subject to change)
/permissive[-] enable some nonconforming code to compile
(feature set subject to change) (off by default in C++20 and later)
/Za disable extensions (not recommended for C++)
/ZW enable WinRT language extensions /Zs syntax check only
/await enable resumable functions extension
/await:strict enable standard C++20 coroutine support with earlier language versions
/constexpr:depth<N> recursion depth limit for constexpr evaluation (default: 512)
/constexpr:backtrace<N> show N constexpr evaluations in diagnostics (default: 10)
/constexpr:steps<N> terminate constexpr evaluation after N steps (default: 1048576)
/Zi enable debugging information /Z7 enable old-style debug info
/Zo[-] generate richer debugging information for optimized code (on by default)
/ZH:[MD5|SHA1|SHA_256] hash algorithm for calculation of file checksum in debug info (default: SHA_256)
/Zp[n] pack structs on n-byte boundary /Zl omit default library name in .OBJ
/vd{0|1|2} disable/enable vtordisp /vm<x> type of pointers to members
/Zc:arg1[,arg2] language conformance, where arguments can be:
forScope[-] enforce Standard C++ for scoping rules
wchar_t[-] wchar_t is the native type, not a typedef
auto[-] enforce the new Standard C++ meaning for auto
trigraphs[-] enable trigraphs (off by default)
rvalueCast[-] enforce Standard C++ explicit type conversion rules
(on by default in C++20 or later, implied by /permissive-)
strictStrings[-] disable string-literal to [char|wchar_t]*
conversion (on by default in C++20 or later, implied by /permissive-)
implicitNoexcept[-] enable implicit noexcept on required functions
threadSafeInit[-] enable thread-safe local static initialization
inline[-] remove unreferenced function or data if it is
COMDAT or has internal linkage only (off by default)
sizedDealloc[-] enable C++14 global sized deallocation
functions (on by default)
throwingNew[-] assume operator new throws on failure (off by default)
referenceBinding[-] a temporary will not bind to a non-const
lvalue reference (on by default in C++20 or later, implied by /permissive-)
twoPhase- disable two-phase name lookup
ternary[-] enforce C++11 rules for conditional operator
(on by default in C++20 or later, implied by /permissive-)
noexceptTypes[-] enforce C++17 noexcept rules (on by default in C++17 or later)
alignedNew[-] enable C++17 alignment of dynamically allocated objects (on by default)
hiddenFriend[-] enforce Standard C++ hidden friend rules
(on by default in C++20 or later, implied by /permissive-)
externC[-] enforce Standard C++ rules for 'extern "C"' functions
(on by default in C++20 or later, implied by /permissive-)
lambda[-] better lambda support by using the newer lambda processor
(on by default in C++20 or later, implied by /permissive-)
tlsGuards[-] generate runtime checks for TLS variable initialization (on by default)
zeroSizeArrayNew[-] call member new/delete for 0-size arrays of objects (on by default)
static_assert[-] strict handling of 'static_assert' (on by default in C++20 or later,
implied by /permissive-)
gotoScope[-] cannot jump past the initialization of a variable (implied by /permissive-)
templateScope[-] enforce Standard C++ template parameter shadowing rules
enumTypes[-] enable Standard C++ underlying enum types (off by default)
checkGwOdr[-] enforce Standard C++ one definition rule violations
when /Gw has been enabled (off by default)
nrvo[-] enable optional copy and move elision (on by default in C++20 or later,
implied by /permissive- or /O2)
__STDC__ define __STDC__ to 1 in C
__cplusplus[-] __cplusplus macro reports the supported C++ standard (off by default)
char8_t[-] enable C++20 native `u8` literal support as `const char8_t`
(on by default in C++20 or later)
externConstexpr[-] enable external linkage for constexpr variables in C++
(on by default in C++20 or later, implied by /permissive-)
preprocessor[-] enable standard conforming preprocessor in C/C++
(on by default in C11 or later)
/ZI enable Edit and Continue debug info
/openmp enable OpenMP 2.0 language extensions
/openmp:experimental enable OpenMP 2.0 language extensions plus select OpenMP 3.0+ language extensions
/openmp:llvm OpenMP language extensions using LLVM runtime
-MISCELLANEOUS-
@<file> options response file /?, /help print this help message
/bigobj generate extended object format /c compile only, no link
/FC use full pathnames in diagnostics /H<num> max external name length
/J default char type is unsigned
/MP[n] use up to 'n' processes for compilation
/nologo suppress copyright message /showIncludes show include file names
/Tc<source file> compile file as .c /Tp<source file> compile file as .cpp
/TC compile all files as .c /TP compile all files as .cpp
/V<string> set version string /Yc[file] create .PCH file
/Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib
/Yu[file] use .PCH file /Y- disable all PCH options
/Zm<n> max memory alloc (% of default) /FS force to use MSPDBSRV.EXE
/source-charset:<iana-name>|.nnnn set source character set
/execution-charset:<iana-name>|.nnnn set execution character set
/utf-8 set source and execution character set to UTF-8
/validate-charset[-] validate UTF-8 files for only legal characters
/fastfail[-] enable fast-fail mode /JMC[-] enable native just my code
/presetPadding[-] zero initialize padding for stack based class types
/volatileMetadata[-] generate metadata on volatile memory accesses
/sourcelink [file] file containing source link information
-LINKING-
/LD Create .DLL /LDd Create .DLL debug library
/LN Create a .netmodule /F<num> set stack size
/link [linker options and libraries] /MD link with MSVCRT.LIB
/MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib
/MTd link with LIBCMTD.LIB debug lib
-CODE ANALYSIS-
/analyze[-] Enable native analysis /analyze:quiet[-] No warning to console
/analyze:log<name> Warnings to file /analyze:autolog Log to *.pftlog
/analyze:autolog:ext<ext> Log to *.<ext>/analyze:autolog- No log file
/analyze:WX- Warnings not fatal /analyze:stacksize<num> Max stack frame
/analyze:max_paths<num> Max paths /analyze:only Analyze, no code gen
-DIAGNOSTICS-
/diagnostics:<args,...> controls the format of diagnostic messages:
classic - retains prior format
column[-] - prints column information
caret[-] - prints column and the indicated line of source
/Wall enable all warnings /w disable all warnings
/W<n> set warning level (default n=1)
/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz
/WX treat warnings as errors /WL enable one line diagnostics
/wd<n> disable warning n /we<n> treat warning n as an error
/wo<n> issue warning n once /w<l><n> set warning level 1-4 for n
/external:I <path> - location of external headers
/external:env:<var> - environment variable with locations of external headers
/external:anglebrackets - treat all headers included via <> as external
/external:W<n> - warning level for external headers
/external:templates[-] - evaluate warning level across template instantiation chain
/sdl enable additional security features and warnings
/options:strict unrecognized compiler options are an error
-----------
stderr:
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
-----------
Sanity testing C++ compiler: "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1
Is cross compiler: False.
Sanity check compiler command line: "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 sanitycheckcpp.cc /Fesanitycheckcpp.exe /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include /nologo /showIncludes /utf-8 /Zc:__cplusplus /link -machine:x64 -debug -INCREMENTAL /LIBPATH:D:/vcpkg/installed/x64-windows-static-md/debug/lib
Sanity check compile stdout:
sanitycheckcpp.cc
-----
Sanity check compile stderr:
-----
Running test binary command: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\sanitycheckcpp.exe
C++ compiler for the host machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 (msvc 19.44.35211 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64")
C++ linker for the host machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/link.exe link 14.44.35211.0
-----------
Detecting archiver via: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/lib.exe" -machine:x64 -nologo /?` -> 1100
stdout:
usage: LIB [options] [files]
options:
/DEF[:filename]
/ERRORREPORT:{NONE|PROMPT|QUEUE|SEND}
/EXPORT:symbol
/EXTRACT:membername
/INCLUDE:symbol
/LIBPATH:dir
/LINKREPRO:dir
/LINKREPROFULLPATHRSP:filename
/LINKREPROTARGET:filename
/LIST[:filename]
/LTCG
/MACHINE:{ARM|ARM64|ARM64X|EBC|X64|X86}
/NAME:filename
/NODEFAULTLIB[:library]
/NOLOGO
/OUT:filename
/REMOVE:membername
/SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION|
EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER|
NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]]
/VERBOSE
/WX[:NO]
/WX[:nnnn[,nnnn...]]
-----------
-----------
Detecting compiler via: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /?` -> 0
stdout:
C/C++ COMPILER OPTIONS
-OPTIMIZATION-
/O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed)
/Ob<n> inline expansion (default n=0) /Od disable optimizations (default)
/Og enable global optimization /Oi[-] enable intrinsic functions
/Os favor code space /Ot favor code speed
/Ox optimizations (favor speed)
/favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:
blend - a combination of optimizations for several different x64 processors
AMD64 - 64-bit AMD processors
INTEL64 - Intel(R)64 architecture processors
ATOM - Intel(R) Atom(TM) processors
-CODE GENERATION-
/Gu[-] ensure distinct functions have distinct addresses
/Gw[-] separate global variables for linker
/GF enable read-only string pooling /Gy[-] separate functions for linker
/GS[-] enable security checks /GR[-] enable C++ RTTI
/guard:cf[-] enable CFG (control flow guard)
/guard:ehcont[-] enable EH continuation metadata (CET)
/EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)
/EHc extern "C" defaults to nothrow
/EHr always generate noexcept runtime termination checks
/fp:<contract|except[-]|fast|precise|strict> choose floating-point model:
contract - consider floating-point contractions when generating code
except[-] - consider floating-point exceptions when generating code
fast - "fast" floating-point model; results are less predictable
precise - "precise" floating-point model; results are predictable
strict - "strict" floating-point model (implies /fp:except)
/Qfast_transcendentals generate inline FP intrinsics even with /fp:except
/Qspectre[-] enable mitigations for CVE 2017-5753
/Qpar[-] enable parallel code generation
/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops
/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized
/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops
/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized
/GL[-] enable link-time code generation
/volatile:<iso|ms> choose volatile model:
iso - Acquire/release semantics not guaranteed on volatile accesses
ms - Acquire/release semantics guaranteed on volatile accesses
/GA optimize for Windows Application /Ge force stack checking for all funcs
/Gs[num] control stack checking calls /Gh enable _penter function call
/GH enable _pexit function call /GT generate fiber-safe TLS accesses
/RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks
/RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks
/clr[:option] compile for common language runtime, where option is:
pure : produce IL-only output file (no native executable code)
safe : produce IL-only verifiable output file
netcore : produce assemblies targeting .NET Core runtime
noAssembly : do not produce an assembly
nostdlib : ignore the system .NET framework directory when searching for assemblies
nostdimport : do not import any required assemblies implicitly
initialAppDomain : enable initial AppDomain behavior of Visual C++ 2002
implicitKeepAlive- : turn off implicit emission of System::GC::KeepAlive(this)
char_t- : turn off metadata support for char8_t, char16_t and char32_t
ECMAParamArray : use rules specified in ECMA-372/14.6 for overloads with parameter arrays (implied by /clr)
ECMAParamArray- : use new rules for overloads with parameter arrays (implied by /clr:netcore)
/fsanitize=address Enable address sanitizer codegen
/homeparams Force parameters passed in registers to be written to the stack
/GZ Enable stack checks (/RTCs) /Gv __vectorcall calling convention
(Preview) /dynamicdeopt Enable dynamic debugging; place deoptimized breakpoints and step in anywhere with on-demand function deoptimization
(Preview) /dynamicdeopt:suffix <suffix> File extension suffix for deoptimized output (default: .alt)
(Preview) /dynamicdeopt:sync Build deoptimized output after optimized output instead of in parallel
/arch:<SSE2|SSE4.2|AVX|AVX2|AVX512|AVX10.x> minimum CPU architecture requirements, one of:
SSE2 - (default) enable use of instructions available with SSE2-enabled CPUs
SSE4.2 - enable use of instructions available with SSE 4.2-enabled CPUs
AVX - enable use of instructions available with AVX-enabled CPUs
AVX2 - enable use of instructions available with AVX2-enabled CPUs
AVX512 - enable use of instructions available with AVX-512-enabled CPUs
AVX10.x - enable use of instructions available with AVX10.x-enabled CPUs. Valid values of x are 1
/QIntel-jcc-erratum enable mitigations for Intel JCC erratum
/Qspectre-load Enable spectre mitigations for all instructions which load memory
/Qspectre-load-cf Enable spectre mitigations for all control-flow instructions which load memory
/Qspectre-jmp[-] Enable spectre mitigations for unconditional jump instructions
/fpcvt:<IA|BC> FP to unsigned integer conversion compatibility
IA - results compatible with VCVTTSD2USI instruction
BC - results compatible with VS2017 and earlier compiler
/jumptablerdata Place jump tables for switch case statements in .rdata section
/vlen=<256|512> Choose vector length of either 256 or 512 for automatic code-generation
/vlen Choose default vector length based on /arch setting
-OUTPUT FILES-
/Fa[file] name assembly listing file /FA[scu] configure assembly listing
/Fd[file] name .PDB file /Fe<file> name executable file
/Fm[file] name map file /Fo<file> name object file
/Fp<file> name precompiled header file /Fr[file] name source browser file
/FR[file] name extended .SBR file /Fi[file] name preprocessed file
/Fd: <file> name .PDB file /Fe: <file> name executable file
/Fm: <file> name map file /Fo: <file> name object file
/Fp: <file> name .PCH file /FR: <file> name extended .SBR file
/Fi: <file> name preprocessed file
/Ft<dir> location of the header files generated for #import
/doc[file] process XML documentation comments and optionally name the .xdc file
-PREPROCESSOR-
/AI<dir> add to assembly search path /FU<file> import .NET assembly/module
/FU:asFriend<file> import .NET assembly/module as friend
/C don't strip comments /D<name>{=|#}<text> define macro
/E preprocess to stdout /EP preprocess to stdout, no #line
/P preprocess to file /Fx merge injected code to file
/FI<file> name forced include file /U<name> remove predefined macro
/u remove all predefined macros /I<dir> add to include search path
/X ignore "standard places"
/PH generate #pragma file_hash when preprocessing
/PD print all macro definitions
-LANGUAGE-
/std:<c++14|c++17|c++20|c++latest> C++ standard version
c++14 - ISO/IEC 14882:2014 (default)
c++17 - ISO/IEC 14882:2017
c++20 - ISO/IEC 14882:2020
c++latest - latest draft standard (feature set subject to change)
/std:<c11|c17|clatest> C standard version
c11 - ISO/IEC 9899:2011
c17 - ISO/IEC 9899:2018
clatest - latest draft standard (feature set subject to change)
/permissive[-] enable some nonconforming code to compile
(feature set subject to change) (off by default in C++20 and later)
/Za disable extensions (not recommended for C++)
/ZW enable WinRT language extensions /Zs syntax check only
/await enable resumable functions extension
/await:strict enable standard C++20 coroutine support with earlier language versions
/constexpr:depth<N> recursion depth limit for constexpr evaluation (default: 512)
/constexpr:backtrace<N> show N constexpr evaluations in diagnostics (default: 10)
/constexpr:steps<N> terminate constexpr evaluation after N steps (default: 1048576)
/Zi enable debugging information /Z7 enable old-style debug info
/Zo[-] generate richer debugging information for optimized code (on by default)
/ZH:[MD5|SHA1|SHA_256] hash algorithm for calculation of file checksum in debug info (default: SHA_256)
/Zp[n] pack structs on n-byte boundary /Zl omit default library name in .OBJ
/vd{0|1|2} disable/enable vtordisp /vm<x> type of pointers to members
/Zc:arg1[,arg2] language conformance, where arguments can be:
forScope[-] enforce Standard C++ for scoping rules
wchar_t[-] wchar_t is the native type, not a typedef
auto[-] enforce the new Standard C++ meaning for auto
trigraphs[-] enable trigraphs (off by default)
rvalueCast[-] enforce Standard C++ explicit type conversion rules
(on by default in C++20 or later, implied by /permissive-)
strictStrings[-] disable string-literal to [char|wchar_t]*
conversion (on by default in C++20 or later, implied by /permissive-)
implicitNoexcept[-] enable implicit noexcept on required functions
threadSafeInit[-] enable thread-safe local static initialization
inline[-] remove unreferenced function or data if it is
COMDAT or has internal linkage only (off by default)
sizedDealloc[-] enable C++14 global sized deallocation
functions (on by default)
throwingNew[-] assume operator new throws on failure (off by default)
referenceBinding[-] a temporary will not bind to a non-const
lvalue reference (on by default in C++20 or later, implied by /permissive-)
twoPhase- disable two-phase name lookup
ternary[-] enforce C++11 rules for conditional operator
(on by default in C++20 or later, implied by /permissive-)
noexceptTypes[-] enforce C++17 noexcept rules (on by default in C++17 or later)
alignedNew[-] enable C++17 alignment of dynamically allocated objects (on by default)
hiddenFriend[-] enforce Standard C++ hidden friend rules
(on by default in C++20 or later, implied by /permissive-)
externC[-] enforce Standard C++ rules for 'extern "C"' functions
(on by default in C++20 or later, implied by /permissive-)
lambda[-] better lambda support by using the newer lambda processor
(on by default in C++20 or later, implied by /permissive-)
tlsGuards[-] generate runtime checks for TLS variable initialization (on by default)
zeroSizeArrayNew[-] call member new/delete for 0-size arrays of objects (on by default)
static_assert[-] strict handling of 'static_assert' (on by default in C++20 or later,
implied by /permissive-)
gotoScope[-] cannot jump past the initialization of a variable (implied by /permissive-)
templateScope[-] enforce Standard C++ template parameter shadowing rules
enumTypes[-] enable Standard C++ underlying enum types (off by default)
checkGwOdr[-] enforce Standard C++ one definition rule violations
when /Gw has been enabled (off by default)
nrvo[-] enable optional copy and move elision (on by default in C++20 or later,
implied by /permissive- or /O2)
__STDC__ define __STDC__ to 1 in C
__cplusplus[-] __cplusplus macro reports the supported C++ standard (off by default)
char8_t[-] enable C++20 native `u8` literal support as `const char8_t`
(on by default in C++20 or later)
externConstexpr[-] enable external linkage for constexpr variables in C++
(on by default in C++20 or later, implied by /permissive-)
preprocessor[-] enable standard conforming preprocessor in C/C++
(on by default in C11 or later)
/ZI enable Edit and Continue debug info
/openmp enable OpenMP 2.0 language extensions
/openmp:experimental enable OpenMP 2.0 language extensions plus select OpenMP 3.0+ language extensions
/openmp:llvm OpenMP language extensions using LLVM runtime
-MISCELLANEOUS-
@<file> options response file /?, /help print this help message
/bigobj generate extended object format /c compile only, no link
/FC use full pathnames in diagnostics /H<num> max external name length
/J default char type is unsigned
/MP[n] use up to 'n' processes for compilation
/nologo suppress copyright message /showIncludes show include file names
/Tc<source file> compile file as .c /Tp<source file> compile file as .cpp
/TC compile all files as .c /TP compile all files as .cpp
/V<string> set version string /Yc[file] create .PCH file
/Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib
/Yu[file] use .PCH file /Y- disable all PCH options
/Zm<n> max memory alloc (% of default) /FS force to use MSPDBSRV.EXE
/source-charset:<iana-name>|.nnnn set source character set
/execution-charset:<iana-name>|.nnnn set execution character set
/utf-8 set source and execution character set to UTF-8
/validate-charset[-] validate UTF-8 files for only legal characters
/fastfail[-] enable fast-fail mode /JMC[-] enable native just my code
/presetPadding[-] zero initialize padding for stack based class types
/volatileMetadata[-] generate metadata on volatile memory accesses
/sourcelink [file] file containing source link information
-LINKING-
/LD Create .DLL /LDd Create .DLL debug library
/LN Create a .netmodule /F<num> set stack size
/link [linker options and libraries] /MD link with MSVCRT.LIB
/MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib
/MTd link with LIBCMTD.LIB debug lib
-CODE ANALYSIS-
/analyze[-] Enable native analysis /analyze:quiet[-] No warning to console
/analyze:log<name> Warnings to file /analyze:autolog Log to *.pftlog
/analyze:autolog:ext<ext> Log to *.<ext>/analyze:autolog- No log file
/analyze:WX- Warnings not fatal /analyze:stacksize<num> Max stack frame
/analyze:max_paths<num> Max paths /analyze:only Analyze, no code gen
-DIAGNOSTICS-
/diagnostics:<args,...> controls the format of diagnostic messages:
classic - retains prior format
column[-] - prints column information
caret[-] - prints column and the indicated line of source
/Wall enable all warnings /w disable all warnings
/W<n> set warning level (default n=1)
/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz
/WX treat warnings as errors /WL enable one line diagnostics
/wd<n> disable warning n /we<n> treat warning n as an error
/wo<n> issue warning n once /w<l><n> set warning level 1-4 for n
/external:I <path> - location of external headers
/external:env:<var> - environment variable with locations of external headers
/external:anglebrackets - treat all headers included via <> as external
/external:W<n> - warning level for external headers
/external:templates[-] - evaluate warning level across template instantiation chain
/sdl enable additional security features and warnings
/options:strict unrecognized compiler options are an error
-----------
stderr:
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
-----------
Sanity testing C++ compiler: "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1
Is cross compiler: False.
Sanity check compiler command line: "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 sanitycheckcpp.cc /Fesanitycheckcpp.exe /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include /nologo /showIncludes /utf-8 /Zc:__cplusplus /link -machine:x64 -debug -INCREMENTAL /LIBPATH:D:/vcpkg/installed/x64-windows-static-md/debug/lib
Sanity check compile stdout:
sanitycheckcpp.cc
-----
Sanity check compile stderr:
-----
Running test binary command: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\sanitycheckcpp.exe
C++ compiler for the build machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 (msvc 19.44.35211 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64")
C++ linker for the build machine: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/link.exe link 14.44.35211.0
-----------
Detecting archiver via: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/lib.exe" -machine:x64 -nologo /?` -> 1100
stdout:
usage: LIB [options] [files]
options:
/DEF[:filename]
/ERRORREPORT:{NONE|PROMPT|QUEUE|SEND}
/EXPORT:symbol
/EXTRACT:membername
/INCLUDE:symbol
/LIBPATH:dir
/LINKREPRO:dir
/LINKREPROFULLPATHRSP:filename
/LINKREPROTARGET:filename
/LIST[:filename]
/LTCG
/MACHINE:{ARM|ARM64|ARM64X|EBC|X64|X86}
/NAME:filename
/NODEFAULTLIB[:library]
/NOLOGO
/OUT:filename
/REMOVE:membername
/SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION|
EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER|
NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]]
/VERBOSE
/WX[:NO]
/WX[:nnnn[,nnnn...]]
-----------
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte
Unusable script 'D:\\vcpkg\\downloads\\tools\\python\\python-3.12.7-x64-1\\python.exe'
Running command: D:\vcpkg\downloads\tools\python\python-3.12.7-x64-1\python.exe --version
--- stdout ---
Python 3.12.7
--- stderr ---
Program python3 found: YES 3.12.7 3.12.7
Running command: D:\vcpkg\downloads\tools\python\python-3.12.7-x64-1\python.exe -c "
import shutil, subprocess, sys
git_exe = shutil.which('git')
if not git_exe:
sys.exit(1)
cmd = [ git_exe, 'ls-files', '--error-unmatch', 'meson.build' ]
sys.exit(subprocess.run(cmd, cwd=sys.argv[1], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL).returncode)
" D:\vcpkg\buildtrees\glibmm\src\glibmm-2-ee5113c192.clean
--- stdout ---
--- stderr ---
Pkg-config binary for host machine specified from cross file, native file, or env var as ['D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe']
'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte
Unusable script 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
Found pkg-config: YES (D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe) 2.4.3
Determining dependency 'sigc++-3.0' with pkg-config executable 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --modversion sigc++-3.0` -> 0
stdout:
3.6.0
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --cflags sigc++-3.0` -> 0
stdout:
-ID:/vcpkg/installed/x64-windows-static-md/debug/../include
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs sigc++-3.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lsigc-3.0
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs sigc++-3.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lsigc-3.0
-----------
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp71x3w5p7
Code:
#include<stddef.h>
#include<stdio.h>
int main(void) {
printf("%ld\n", (long)(sizeof(void *)));
return 0;
}
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -INCREMENTAL -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp71x3w5p7\testfile.cpp /FeD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp71x3w5p7\output.exe /nologo /showIncludes /utf-8 /Zc:__cplusplus /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /Od /Oi- /link -machine:x64 -debug /LIBPATH:D:/vcpkg/installed/x64-windows-static-md/debug/lib` -> 0
stdout:
testfile.cpp
Note: including file: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stddef.h
Note: including file: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\corecrt.h
Note: including file: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vcruntime.h
Note: including file: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\sal.h
Note: including file: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\concurrencysal.h
Note: including file: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vadefs.h
Note: including file: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdio.h
Note: including file: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\corecrt_wstdio.h
Note: including file: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\corecrt_stdio_config.h
-----------
Program stdout:
8
Program stderr:
Run-time dependency sigc++-3.0 found: YES 3.6.0
Determining dependency 'glib-2.0' with pkg-config executable 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --modversion glib-2.0` -> 0
stdout:
2.84.2
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --cflags glib-2.0` -> 0
stdout:
-ID:/vcpkg/installed/x64-windows-static-md/debug/../include/glib-2.0 -ID:/vcpkg/installed/x64-windows-static-md/debug/lib/glib-2.0/include -ID:/vcpkg/installed/x64-windows-static-md/debug/../include
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs glib-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs glib-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d
-----------
Run-time dependency glib-2.0 found: YES 2.84.2
Determining dependency 'gobject-2.0' with pkg-config executable 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --modversion gobject-2.0` -> 0
stdout:
2.84.2
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --cflags gobject-2.0` -> 0
stdout:
-ID:/vcpkg/installed/x64-windows-static-md/debug/../include -ID:/vcpkg/installed/x64-windows-static-md/debug/../include/glib-2.0 -ID:/vcpkg/installed/x64-windows-static-md/debug/lib/glib-2.0/include
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gobject-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d -lffi
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gobject-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d -lffi
-----------
Run-time dependency gobject-2.0 found: YES 2.84.2
Determining dependency 'gmodule-2.0' with pkg-config executable 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --modversion gmodule-2.0` -> 0
stdout:
2.84.2
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --cflags gmodule-2.0` -> 0
stdout:
-ID:/vcpkg/installed/x64-windows-static-md/debug/../include -ID:/vcpkg/installed/x64-windows-static-md/debug/../include/glib-2.0 -ID:/vcpkg/installed/x64-windows-static-md/debug/lib/glib-2.0/include
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gmodule-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gmodule-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d
-----------
Run-time dependency gmodule-2.0 found: YES 2.84.2
Determining dependency 'gio-2.0' with pkg-config executable 'D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe'
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --modversion gio-2.0` -> 0
stdout:
2.84.2
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --cflags gio-2.0` -> 0
stdout:
-ID:/vcpkg/installed/x64-windows-static-md/debug/../include -ID:/vcpkg/installed/x64-windows-static-md/debug/../include/glib-2.0 -ID:/vcpkg/installed/x64-windows-static-md/debug/lib/glib-2.0/include
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gio-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgio-2.0 -lshlwapi -ldnsapi -liphlpapi -lgobject-2.0 -lffi -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d -lzlibd
-----------
env[PKG_CONFIG]: D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
env[PKG_CONFIG_PATH]: D:/vcpkg/installed/x64-windows-static-md/debug/lib/pkgconfig;D:/vcpkg/installed/x64-windows-static-md/share/pkgconfig
-----------
Called: `D:/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe --libs gio-2.0` -> 0
stdout:
-LD:/vcpkg/installed/x64-windows-static-md/debug/lib -lgio-2.0 -lshlwapi -ldnsapi -liphlpapi -lgobject-2.0 -lffi -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lws2_32 -lwinmm -lpcre2-8d -lzlibd
-----------
Run-time dependency gio-2.0 found: YES 2.84.2
Program mm-common-get found: NO
Program m4 found: NO
Program doxygen found: NO
Program dot found: NO
Program xsltproc found: NO
Running command: D:\vcpkg\downloads\tools\python\python-3.12.7-x64-1\python.exe D:/vcpkg/buildtrees/glibmm/src/glibmm-2-ee5113c192.clean/untracked/build_scripts/doc-reference.py get_script_property "" requires_perl
--- stdout ---
false
--- stderr ---
Program perl found: NO
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp2sfguxce
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp2sfguxce\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp2sfguxce\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /FImsvc_recommended_pragmas.h` -> 2
stdout:
testfile.cpp
D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp2sfguxce\testfile.cpp: fatal error C1083: Cannot open include file: 'msvc_recommended_pragmas.h': No such file or directory
-----------
Compiler for C++ supports arguments /FImsvc_recommended_pragmas.h: NO
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp5ab2xugz
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp5ab2xugz\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp5ab2xugz\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /EHsc` -> 0
stdout:
testfile.cpp
-----------
Compiler for C++ supports arguments /EHsc: YES
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp9xf49a83
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp9xf49a83\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmp9xf49a83\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /utf-8` -> 0
stdout:
testfile.cpp
-----------
Compiler for C++ supports arguments /utf-8: YES
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpgsz_ylk9
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpgsz_ylk9\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpgsz_ylk9\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /wd4589` -> 0
stdout:
testfile.cpp
-----------
Compiler for C++ supports arguments /wd4589: YES
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpm38bq8jv
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpm38bq8jv\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpm38bq8jv\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /wd4702` -> 0
stdout:
testfile.cpp
-----------
Compiler for C++ supports arguments /wd4702: YES
Running compile:
Working directory: D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpo10ql7ri
Code:
extern int i;
int i;
-----------
Command line: `"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 -ID:/vcpkg/installed/x64-windows-static-md/include D:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpo10ql7ri\testfile.cpp /FoD:\vcpkg\buildtrees\glibmm\x64-windows-static-md-dbg\meson-private\tmpo10ql7ri\output.obj /nologo /showIncludes /utf-8 /Zc:__cplusplus /c -nologo -DWIN32 -D_WINDOWS -utf-8 -GR -EHsc -MP -MDd -Z7 -Ob0 -Od -RTC1 /nologo /showIncludes /utf-8 /Zc:__cplusplus /c /Od /Oi- /wd4267` -> 0
stdout:
testfile.cpp
-----------
Compiler for C++ supports arguments /wd4267: YES
Configuring gmmproc using configuration
Configuring generate_wrap_init.pl using configuration
..\src\glibmm-2-ee5113c192.clean\glib\meson.build:42:4: ERROR: Problem encountered: Static builds are not supported by MSVC-style builds
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.