Skip to content

Instantly share code, notes, and snippets.

@mgood7123
Created November 25, 2022 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgood7123/9466e434428710c97cdeb7cca715caab to your computer and use it in GitHub Desktop.
Save mgood7123/9466e434428710c97cdeb7cca715caab to your computer and use it in GitHub Desktop.
PS C:\Users\small\wayland-windows> meson build/ --prefix=~/WAYLAND_LIBS
The Meson build system
Version: 0.64.1
Source dir: C:\Users\small\wayland-windows
Build dir: C:\Users\small\wayland-windows\build
Build type: native build
Project name: wayland
Project version: 1.21.90
Activating VS 17.3.6
C compiler for the host machine: cl (msvc 19.33.31630 "Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31630 for x64")
C linker for the host machine: link link 14.33.31630.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-parameter: NO
Compiler for C supports arguments -Wstrict-prototypes: NO
Compiler for C supports arguments -Wmissing-prototypes: NO
Compiler for C supports arguments -fvisibility=hidden: NO
Has header "sys/prctl.h" : NO
Has header "sys/procctl.h" : NO
Has header "sys/ucred.h" : NO
Checking for function "accept4" : NO
Checking for function "mkostemp" : NO
Checking for function "posix_fallocate" : NO
Checking for function "prctl" : NO
Checking for function "memfd_create" : NO
Checking for function "mremap" : NO
Checking for function "strndup" : NO
Checking whether type "struct xucred" has member "cr_pid" : NO
Found pkg-config: C:\Users\small\vcpkg\installed\x86-windows\bin\pkg-config.EXE (0.23)
WARNING: find_library('libffi') starting in "lib" only works by accident and is not portable
Run-time dependency libffi found: YES 3.4.2
Configuring config.h using configuration
Configuring wayland-version.h using configuration
WARNING: find_library('libexpat') starting in "lib" only works by accident and is not portable
Run-time dependency expat found: YES 2.5.0
WARNING: find_library('libxml2') starting in "lib" only works by accident and is not portable
Run-time dependency libxml-2.0 found: YES 2.9.14
Program embed.py found: YES (C:\Program Files\Meson\meson.exe runpython C:\Users\small\wayland-windows\src\embed.py)
Library m found: NO
Run-time dependency threads found: YES
Library dl found: NO
Dependency threads found: YES unknown (cached)
Dependency threads found: YES unknown (cached)
Library dl found: NO
C++ compiler for the host machine: cl (msvc 19.33.31630 "Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31630 for x64")
C++ linker for the host machine: link link 14.33.31630.0
Program sed found: YES (C:\Users\small\vcpkg\installed\x86-windows\bin\sed.EXE)
Program scanner-test.sh found: YES (sh C:\Users\small\wayland-windows\tests\scanner-test.sh)
Build targets in project: 41
NOTICE: Future-deprecated features used:
* 0.62.0: {'pkgconfig.generate variable for builtin directories'}
wayland 1.21.90
User defined options
prefix: ~/WAYLAND_LIBS
Found ninja-1.11.1 at "C:\Program Files\Meson\ninja.EXE"
Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
"C:\Program Files\Meson\meson.exe" compile -C build
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
PS C:\Users\small\wayland-windows> "C:\Program Files\Meson\meson.exe" compile -C build
At line:1 char:36
+ "C:\Program Files\Meson\meson.exe" compile -C build
+ ~~~~~~~
Unexpected token 'compile' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
PS C:\Users\small\wayland-windows> meson.exe compile -C build
Activating VS 17.3.6
INFO: automatically activated MSVC compiler environment
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: "C:\Program Files\Meson\ninja.EXE" -C C:/Users/small/wayland-windows/build
ninja: Entering directory `C:/Users/small/wayland-windows/build'
[1/88] Compiling C object tests/fixed-benchmark.exe.p/fixed-benchmark.c.obj
FAILED: tests/fixed-benchmark.exe.p/fixed-benchmark.c.obj
"cl" "-Itests\fixed-benchmark.exe.p" "-Itests" "-I..\tests" "-Isrc" "-I..\src" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W3" "/O2" "/Zi" "-D_POSIX_C_SOURCE=200809L" "/Fdtests\fixed-benchmark.exe.p\fixed-benchmark.c.pdb" /Fotests/fixed-benchmark.exe.p/fixed-benchmark.c.obj "/c" ../tests/fixed-benchmark.c
../tests/fixed-benchmark.c(85): warning C4013: 'clock_gettime' undefined; assuming extern returning int
../tests/fixed-benchmark.c(85): error C2065: 'CLOCK_MONOTONIC': undeclared identifier
../tests/fixed-benchmark.c(87): error C2065: 'CLOCK_MONOTONIC': undeclared identifier
../tests/fixed-benchmark.c(95): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 2 has type 'time_t'
../tests/fixed-benchmark.c(95): note: consider using '%lld' in the format string
../tests/fixed-benchmark.c(95): note: consider using '%Id' in the format string
../tests/fixed-benchmark.c(95): note: consider using '%I64d' in the format string
[2/88] Compiling C object src/libwayland-private.a.p/wayland-os.c.obj
FAILED: src/libwayland-private.a.p/wayland-os.c.obj
"cl" "-Isrc\libwayland-private.a.p" "-Isrc" "-I..\src" "-IC:/Users/small/vcpkg/installed/x86-windows/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W3" "/O2" "/Zi" "-D_POSIX_C_SOURCE=200809L" "/Fdsrc\libwayland-private.a.p\wayland-os.c.pdb" /Fosrc/libwayland-private.a.p/wayland-os.c.obj "/c" ../src/wayland-os.c
../src/wayland-os.c(31): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
[4/88] Compiling C object src/libwayland-private.a.p/connection.c.obj
FAILED: src/libwayland-private.a.p/connection.c.obj
"cl" "-Isrc\libwayland-private.a.p" "-Isrc" "-I..\src" "-IC:/Users/small/vcpkg/installed/x86-windows/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W3" "/O2" "/Zi" "-D_POSIX_C_SOURCE=200809L" "/Fdsrc\libwayland-private.a.p\connection.c.pdb" /Fosrc/libwayland-private.a.p/connection.c.obj "/c" ../src/connection.c
../src/connection.c(35): fatal error C1083: Cannot open include file: 'sys/uio.h': No such file or directory
[5/88] Compiling C object src/libwayland-util.a.p/wayland-util.c.obj
../src/wayland-util.c(214): warning C4244: '=': conversion from 'uintptr_t' to 'uint32_t', possible loss of data
../src/wayland-util.c(229): warning C4244: '=': conversion from '__int64' to 'uint32_t', possible loss of data
../src/wayland-util.c(263): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
../src/wayland-util.c(310): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
../src/wayland-util.c(372): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
../src/wayland-util.c(395): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
[6/88] Generating src/wayland.dtd.h with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
PS C:\Users\small\wayland-windows>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment