i tried meson build on win10,not work
||Executing subproject libffi method meson
||
||Project name: libffi
||Project version: 3.2.9999
||C compiler for the host machine: gcc (gcc 5.1.0 "gcc (tdm64-1) 5.1.0")
||C linker for the host machine: gcc ld.bfd 2.25
||Message: host cpu: x86_64
||Message: host cpu_family: x86_64
||Message: host system: windows
||Checking if "ASM .cfi" compiles: NO
||Checking if "ASM x86 PCREL" compiles: YES
||Checking if "ASM .ascii" compiles: YES
||Checking if "ASM .string" compiles: YES
||Checking for size of "size_t" : 8
||Checking for size of "long double" : 16
||Checking for size of "double" : 8
||Message: sizeof "long double" is greater than "double"
||Message: .eh_frame is hard-coded to not be ro
||Message: Assembler supports .unwind section type
||Checking for function "memcpy" : YES
||Checking for function "mkostemp" : NO
||Has header "alloca.h" : NO (cached)
||Has header "inttypes.h" : YES (cached)
||Has header "stdint.h" : YES (cached)
||Compiler for C supports function attribute visibility: YES
||Program test-cc-supports-hidden-visibility.py found: YES
||Message: .hidden pseudo-op is NOT available: visibility-conftest.c: In function 'foo':
||visibility-conftest.c:1:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
|| int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }
|| ^
||cc1.exe: all warnings being treated as errors
||Traceback (most recent call last):
|| File "E:\libnice-master\subprojects\libffi\test-cc-supports-hidden-visibility.py", line 19, in <module>
|| res = subprocess.run(args, stdout=subprocess.PIPE, universal_newlines=True, check=True)
|| File "c:\python37\lib\subprocess.py", line 512, in run
|| output=stdout, stderr=stderr)
||subprocess.CalledProcessError: Command '['gcc', '-Werror', '-S', 'visibility-conftest.c', '-o', 'visibility-conftest.S']' returned non-zero exit status 1.
||
||Program msvcc.sh found: YES
||Configuring ffi-x86_64.h using configuration
||Configuring ffitarget.h using configuration
||Configuring ffi.h using configuration
||Configuring fficonfig.h using configuration
||Build targets in project: 1
||Subproject libffi finished.
|
|Dependency libffi from subproject subprojects\libffi found: YES 3.2.9999
|Run-time dependency zlib found: NO (tried pkgconfig and cmake)
|Library z found: NO
|
||Executing subproject zlib method meson
||
||Project name: zlib
||Project version: 1.2.11
||C compiler for the host machine: gcc (gcc 5.1.0 "gcc (tdm64-1) 5.1.0")
||C linker for the host machine: gcc ld.bfd 2.25
||Compiler for C supports arguments -Wno-implicit-fallthrough -Wimplicit-fallthrough: NO
||Compiler for C supports arguments -Wno-implicit-function-declaration -Wimplicit-function-declaration: YES
||Windows resource compiler: GNU windres (GNU Binutils) 2.25
||Build targets in project: 3
||Subproject zlib finished.
|
|Checking for function "ngettext" : NO
|Library intl found: NO
|
||Executing subproject proxy-libintl method meson
||
||Project name: proxy-libintl
||Project version: 1
||C compiler for the host machine: gcc (gcc 5.1.0 "gcc (tdm64-1) 5.1.0")
||C linker for the host machine: gcc ld.bfd 2.25
||Build targets in project: 5
||Subproject proxy-libintl finished.
|
|Library ws2_32 found: YES
|Checking for function "strlcpy" : NO
|Checking if "/proc/self/cmdline" runs: NO (3)
|Program C:\Python37\python found: YES (C:\Python37\python.exe)
|Program bash found: NO
|Program sh found: NO
|Program env found: NO
|Configuring glibconfig.h using configuration
|Checking if "where to find the exponent in a 'double'" runs: YES
|Checking if "printf supports large precisions" runs: NO (7)
|Checking if "printf survives out-of-memory conditions" runs: DID NOT COMPILE
|Checking if "printf supports the zero flag correctly" runs: NO (1)
|Checking if "printf supports the left-adjust flag correctly" runs: YES
|Checking if "printf supports the grouping flag" runs: NO (1)
|Checking if "printf supports the 'a' and 'A' directives" runs: NO (47)
|Checking if "printf supports the 'F' directive" runs: NO (7)
|Checking if "printf supports the 'ls' directive" runs: YES
|Checking if "printf supports 'long double' arguments" runs: NO (7)
|Checking if "printf supports infinite 'double' arguments" runs: NO (63)
|Compiler for C supports arguments -Wno-format-nonliteral -Wformat-nonliteral: YES
|Compiler for C supports arguments -Wno-duplicated-branches -Wduplicated-branches: NO
|Checking if "frexp works" with dependency -lm runs: NO (6)
|Checking if "frexpl works" with dependency -lm runs: NO (16)
|Checking if "frexpl prototype can be re-listed" compiles: YES
|Checking if "ldexpl works" with dependency -lm runs: YES
|Checking if "ldexpl prototype can be re-listed" compiles: YES
|Configuring gnulib_math.h using configuration
|Configuring glib.rc using configuration
|Library winmm found: YES
|Configuring gtester-report using configuration
|Configuring libglib-2.0.so.0.6400.2-gdb.py using configuration
|subprojects\glib-2.64.2\glib\meson.build:446: DEPRECATION: Please use the new `install:` kwarg instead of passing `false` to `install_dir:`
|Configuring gobject.rc using configuration
|Configuring glib-genmarshal using configuration
|Program E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-genmarshal found: YES (c:\python37\python.exe E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-genmarshal)
|Configuring glib-mkenums using configuration
|Program E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-mkenums found: YES (c:\python37\python.exe E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-mkenums)
|Configuring libgobject-2.0.so.0.6400.2-gdb.py using configuration
|subprojects\glib-2.64.2\gobject\meson.build:153: DEPRECATION: Please use the new `install:` kwarg instead of passing `false` to `install_dir:`
|Configuring gthread.rc using configuration
|Configuring gmoduleconf.h using configuration
|Configuring gmodule.rc using configuration
|Configuring gnetworking.h using configuration
|Configuring gdbus-codegen using configuration
|Program E:\libnice-master\build\subprojects\glib-2.64.2\gio\gdbus-2.0/codegen\gdbus-codegen found: YES (c:\python37\python.exe E:\libnice-master\build\subprojects\glib-2.64.2\gio\gdbus-2.0/codegen\gdbus-codegen)
|Configuring config.py using configuration
|Library shlwapi found: YES
|Library dnsapi found: YES
|Configuring gio.rc using configuration
|subprojects\zlib\meson.build:68: DEPRECATION: Library z was passed to the "libraries" keyword argument of a previous call to generate() method instead of first positional argument. Adding zlib to "Requires" field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case.
|Run-time dependency libelf found: NO (tried pkgconfig and cmake)
|Library elf found: NO
|Library secur32 found: YES
|Program gengiotypefuncs.py found: YES
|Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)
|Configuring appinfo-test-gnome.desktop using configuration
|Configuring appinfo-test-notgnome.desktop using configuration
|Configuring appinfo-test.desktop using configuration
|Configuring appinfo-test2.desktop using configuration
|Program objcopy found: YES
|Program ld found: YES
|Configuring org.freedesktop.portal.Documents.service using configuration
|Compiler for C supports arguments -Werror=unused-function: YES
|Library FuzzingEngine skipped: feature oss_fuzz disabled
|Program xgettext found: NO
|Configuring config.h using configuration
|Build targets in project: 321
|Subproject glib finished.
Dependency gio-2.0 from subproject subprojects\glib found: YES 2.64.2
Dependency (anonymous) from subproject subprojects\glib found: YES 2.64.2
Dependency (anonymous) from subproject subprojects\glib found: YES 2.64.2
Dependency (anonymous) from subproject subprojects\glib found: YES 2.64.2
Dependency gthread-2.0 from subproject subprojects\glib found: YES 2.64.2
Message: Crypto library requested: auto
Run-time dependency gnutls found: NO (tried pkgconfig and cmake)
Run-time dependency openssl found: YES 0.9.8e
Run-time dependency gstreamer-base-1.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gstreamer-base-1.0
Subproject directory not found and gstreamer.wrap file not found
Subproject subprojects\gstreamer is buildable: NO (disabling)
Dependency gstreamer-base-1.0 from subproject subprojects\gstreamer found: NO
Run-time dependency gupnp-igd-1.0 found: NO (tried pkgconfig and cmake)
Library m found: YES
Program g-ir-scanner found: NO
Program E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-mkenums found: YES (overriden)
Program E:\libnice-master\build\subprojects\glib-2.64.2\gobject\glib-mkenums found: YES (overriden)
Program gen-def.py found: YES
Program gen-map.py found: YES
Compiler for C supports link arguments -Wl,--version-script,E:\libnice-master\nice/libnice.ver: YES
Message: Disabling gtk-doc while building on Windows
Has header "arpa/inet.h" : NO (cached)
Program sh found: NO
Configuring config.h using configuration
Build targets in project: 371
libnice 0.1.17.1
Subprojects
glib: YES 3 warnings
gstreamer: NO Subproject directory not found and gstreamer.wrap file not found
libffi: YES
proxy-libintl: YES
zlib: YES
Found ninja-1.8.2 at "C:\Program Files\CMake\bin\ninja.EXE"
E:\libnice-master>ninja -C build
ninja: Entering directory `build'
[33/1158] Compiling C object subprojects/glib-2.64.2/glib/tests/node.exe.p/node.c.obj
In file included from ..\subprojects\glib-2.64.2/glib/giochannel.h:34:0,
from ..\subprojects\glib-2.64.2\glib/glib.h:54,
from ../subprojects/glib-2.64.2/glib/tests/node.c:32:
../subprojects/glib-2.64.2/glib/tests/node.c: In function 'node_build_string':
../subprojects/glib-2.64.2/glib/tests/node.c:35:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define P2C(p) ((gchar) ((long) (p)))
^
..\subprojects\glib-2.64.2/glib/gstring.h:173:73: note: in definition of macro 'g_string_append_c'
#define g_string_append_c(gstr,c) g_string_append_c_inline (gstr, c)
^
../subprojects/glib-2.64.2/glib/tests/node.c:48:28: note: in expansion of macro 'P2C'
g_string_append_c (d->s, P2C (node->data));
^
In file included from ..\subprojects\glib-2.64.2\glib/glib.h:85:0,
from ../subprojects/glib-2.64.2/glib/tests/node.c:32:
../subprojects/glib-2.64.2/glib/tests/node.c: In function 'construct_test':
../subprojects/glib-2.64.2/glib/tests/node.c:35:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define P2C(p) ((gchar) ((long) (p)))
^
..\subprojects\glib-2.64.2/glib/gtestutils.h:49:61: note: in definition of macro 'g_assert_cmpint'
gint64 __n1 = (n1), __n2 = (n2); \
^
../subprojects/glib-2.64.2/glib/tests/node.c:306:24: note: in expansion of macro 'P2C'
g_assert_cmpint (P2C (node->data), ==, ('C' + i));
^
[91/1158] Compiling C object subprojects/glib-2.64.2/glib/tests/utils.exe.p/utils.c.obj
In file included from ..\subprojects\glib-2.64.2/glib/ghash.h:33:0,
from ..\subprojects\glib-2.64.2\glib/glib.h:50,
from ../subprojects/glib-2.64.2/glib/tests/utils.c:26:
../subprojects/glib-2.64.2/glib/tests/utils.c: In function 'test_clear_list':
..\subprojects\glib-2.64.2/glib/glist.h:163:23: warning: the comparison will always evaluate as 'true' for the address of 'g_free' will never be NULL [-Waddress]
if ((destroy) != NULL) \
^
../subprojects/glib-2.64.2/glib/tests/utils.c:777:5: note: in expansion of macro 'g_clear_list'
g_clear_list (&list, g_free);
^
..\subprojects\glib-2.64.2/glib/glist.h:163:23: warning: the comparison will always evaluate as 'true' for the address of 'g_free' will never be NULL [-Waddress]
if ((destroy) != NULL) \
^
../subprojects/glib-2.64.2/glib/tests/utils.c:783:5: note: in expansion of macro 'g_clear_list'
g_clear_list (&list, g_free);
^
In file included from ..\subprojects\glib-2.64.2/glib/gmain.h:26:0,
from ..\subprojects\glib-2.64.2/glib/giochannel.h:33,
from ..\subprojects\glib-2.64.2\glib/glib.h:54,
from ../subprojects/glib-2.64.2/glib/tests/utils.c:26:
../subprojects/glib-2.64.2/glib/tests/utils.c: In function 'test_clear_slist':
..\subprojects\glib-2.64.2/glib/gslist.h:152:23: warning: the comparison will always evaluate as 'true' for the address of 'g_free' will never be NULL [-Waddress]
if ((destroy) != NULL) \
^
../subprojects/glib-2.64.2/glib/tests/utils.c:801:5: note: in expansion of macro 'g_clear_slist'
g_clear_slist (&slist, g_free);
^
..\subprojects\glib-2.64.2/glib/gslist.h:152:23: warning: the comparison will always evaluate as 'true' for the address of 'g_free' will never be NULL [-Waddress]
if ((destroy) != NULL) \
^
../subprojects/glib-2.64.2/glib/tests/utils.c:807:5: note: in expansion of macro 'g_clear_slist'
g_clear_slist (&slist, g_free);
^
[92/1158] Compiling C object subprojects/glib-2.64.2/glib/tests/win32.exe.p/win32.c.obj
FAILED: subprojects/glib-2.64.2/glib/tests/win32.exe.p/win32.c.obj
"gcc" "-Isubprojects\glib-2.64.2\glib\tests\win32.exe.p" "-Isubprojects\glib-2.64.2\glib\tests" "-I..\subprojects\glib-2.64.2\glib\tests" "-Isubprojects\glib-2.64.2" "-I..\subprojects\glib-2.64.2" "-Isubprojects\glib-2.64.2\glib" "-I..\subprojects\glib-2.64.2\glib" "-Isubprojects\proxy-libintl" "-I..\subprojects\proxy-libintl" "-fdiagnostics-color=always" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-O2" "-g" "-D_GNU_SOURCE" "-fno-strict-aliasing" "-DG_ENABLE_DEBUG" "-Wstrict-prototypes" "-Wunused" "-Wno-unused-parameter" "-Wno-bad-function-cast" "-Wno-pedantic" "-Werror=declaration-after-statement" "-Werror=format=2" "-Werror=implicit-function-declaration" "-Werror=init-self" "-Werror=missing-include-dirs" "-Werror=missing-prototypes" "-Werror=pointer-arith" "-mms-bitfields" "-DG_LOG_DOMAIN=\"GLib\"" "-UG_DISABLE_ASSERT" -MD -MQ subprojects/glib-2.64.2/glib/tests/win32.exe.p/win32.c.obj -MF "subprojects\glib-2.64.2\glib\tests\win32.exe.p\win32.c.obj.d" -o subprojects/glib-2.64.2/glib/tests/win32.exe.p/win32.c.obj "-c" ../subprojects/glib-2.64.2/glib/tests/win32.c
In file included from ../subprojects/glib-2.64.2/glib/tests/win32.c:31:0:
../subprojects/glib-2.64.2/glib/tests/../gwin32-private.c: In function '_g_win32_subst_pid_and_event':
../subprojects/glib-2.64.2/glib/tests/../gwin32-private.c:43:3: error: implicit declaration of function '_snprintf_s' [-Werror=implicit-function-declaration]
_snprintf_s (pid_str, STR_BUFFER_SIZE, G_N_ELEMENTS (pid_str), "%lu", pid);
^
In file included from ..\subprojects\glib-2.64.2/glib/gtypes.h:32:0,
from ..\subprojects\glib-2.64.2/glib/galloca.h:32,
from ..\subprojects\glib-2.64.2\glib/glib.h:30,
from ../subprojects/glib-2.64.2/glib/tests/win32.c:24:
../subprojects/glib-2.64.2/glib/tests/win32.c: In function 'test_subst_pid_and_event':
subprojects\glib-2.64.2\glib/glibconfig.h:65:33: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define G_GUINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##ULL))
^
..\subprojects\glib-2.64.2/glib/gtypes.h:101:21: note: in expansion of macro 'G_GUINT64_CONSTANT'
#define G_MAXUINT64 G_GUINT64_CONSTANT(0xffffffffffffffff)
^
subprojects\glib-2.64.2\glib/glibconfig.h:84:19: note: in expansion of macro 'G_MAXUINT64'
#define G_MAXSIZE G_MAXUINT64
^
../subprojects/glib-2.64.2/glib/tests/win32.c:43:14: note: in expansion of macro 'G_MAXSIZE'
DWORD bp = G_MAXSIZE;
^
cc1.exe: some warnings being treated as errors
[101/1158] Generating agent-enum-types.c with a meson_exe.py custom command
ninja: build stopped: subcommand failed.
E:\libnice-master>