# Kindly help to fix it

**URL:** <https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998>\
**Category:** mediasoup libraries\
**Created:** [February 27, 2023, 7:30pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998 "2023-02-27T19:30:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [February 27, 2023, 7:30pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/1 "2023-02-27T19:30:30Z")

</div>

yarn install v1.22.19  
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.  
[1/5] Validating package.json…  
[2/5] Resolving packages…  
success Already up-to-date.  
$ node npm-scripts.js postinstall  
npm-scripts.js [INFO] running task “postinstall”  
npm-scripts.js [INFO] buildWorker()  
npm-scripts.js [INFO] installMsysMake()  
npm-scripts.js [INFO] executeCmd(): C:\Python311\python.exe worker\scripts\getmake.py  
npm-scripts.js [INFO] executeCmd(): make -C worker  
make: Entering directory `/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker’

# Updated pip and setuptools are needed for meson.

# `--system` is not present everywhere and is only needed as workaround for

# Debian-specific issue (copied from [Without --system build fails by sac · Pull Request #33 · gluster/gstatus · GitHub](https://github.com/gluster/gstatus/pull/33)),

# fallback to command without `--system` if the first one fails.

python -m pip install --system --target=/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip pip setuptools ||   
python -m pip install --target=/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip pip setuptools ||   
echo “Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package”

Usage:  
c:\Python311\python.exe -m pip install [options] [package-index-options] …  
c:\Python311\python.exe -m pip install [options] -r [package-index-options] …  
c:\Python311\python.exe -m pip install [options] [-e] …  
c:\Python311\python.exe -m pip install [options] [-e] …  
c:\Python311\python.exe -m pip install [options] \<archive url/path\> …

no such option: --system  
Collecting pip  
Using cached pip-23.0.1-py3-none-any.whl (2.1 MB)  
Collecting setuptools  
Using cached setuptools-67.4.0-py3-none-any.whl (1.1 MB)  
Installing collected packages: setuptools, pip  
Successfully installed pip-23.0.1 setuptools-67.4.0

# Install `meson` and `ninja` using `pip` into custom location, so we don’t

# depend on system-wide installation.

python -m pip install --upgrade --target=/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip meson==0.61.5 ninja==1.10.2.4  
Collecting meson==0.61.5  
Using cached meson-0.61.5-py3-none-any.whl (862 kB)  
Collecting ninja==1.10.2.4  
Using cached ninja-1.10.2.4-py2.py3-none-win\_amd64.whl (293 kB)  
Installing collected packages: ninja, meson  
Successfully installed meson-0.61.5 ninja-1.10.2.4  
/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip/bin/meson setup   
–prefix /e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release \   
–bindir ‘’   
–libdir ‘’   
–buildtype release   
-Db\_ndebug=true   
-Db\_pie=true   
-Db\_staticpic=true   
–reconfigure   
–vsenv   
/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release/build || \   
/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip/bin/meson setup \   
–prefix /e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release   
–bindir ‘’   
–libdir ‘’   
–buildtype release   
-Db\_ndebug=true   
-Db\_pie=true   
-Db\_staticpic=true   
–vsenv   
/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release/build  
Directory does not contain a valid build tree:  
E:\FullWorkingProject\WorkingWEBRTC\MediaSoup\medias3\3.11.11\worker\out\Release\build  
The Meson build system  
Version: 0.61.5  
Source dir: E:\FullWorkingProject\WorkingWEBRTC\MediaSoup\medias3\3.11.11\worker  
Build dir: E:\FullWorkingProject\WorkingWEBRTC\MediaSoup\medias3\3.11.11\worker\out\Release\build  
Build type: native build  
Project name: mediasoup-worker  
Project version: undefined  
C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
C linker for the host machine: gcc ld.bfd 2.37  
C++ compiler for the host machine: ccache c++ (gcc 11.2.0 “c++.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
C++ linker for the host machine: c++ ld.bfd 2.37  
Host machine cpu family: x86\_64  
Host machine cpu: x86\_64

Executing subproject openssl

openssl| Project name: openssl  
openssl| Project version: 3.0.7  
openssl| C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
openssl| C linker for the host machine: gcc ld.bfd 2.37  
openssl| Run-time dependency threads found: YES  
openssl| Program as found: YES (c:\ProgramData\chocolatey\bin\as.EXE)  
openssl| subprojects\openssl-3.0.7\meson.build:149: WARNING: x86\_64 + windows combo does not support ASM yet, please contribute  
openssl| Message: OpenSSL is configured without ASM support  
openssl| Library ws2\_32 found: YES  
openssl| Library gdi32 found: YES  
openssl| Library advapi32 found: YES  
openssl| Library crypt32 found: YES  
openssl| Library user32 found: YES  
openssl| Build targets in project: 3  
openssl| Subproject openssl finished.

Executing subproject nlohmann\_json

nlohmann\_json| Project name: nlohmann\_json  
nlohmann\_json| Project version: 3.10.5  
nlohmann\_json| C++ compiler for the host machine: ccache c++ (gcc 11.2.0 “c++.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
nlohmann\_json| C++ linker for the host machine: c++ ld.bfd 2.37  
nlohmann\_json| Build targets in project: 3  
nlohmann\_json| Subproject nlohmann\_json finished.

Executing subproject libuv

libuv| Project name: libuv  
libuv| Project version: 1.44.2  
libuv| C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
libuv| C linker for the host machine: gcc ld.bfd 2.37  
libuv| Fetching value of define “ **QNX** ” :  
libuv| Fetching value of define “\_AIX” :  
libuv| Message: System: windows  
libuv| Compiler for C supports arguments -fno-strict-aliasing: YES  
libuv| Dependency threads found: YES unknown (cached)  
libuv| Library psapi found: YES  
libuv| Library user32 found: YES  
libuv| Library advapi32 found: YES  
libuv| Library iphlpapi found: YES  
libuv| Library userenv found: YES  
libuv| Library ws2\_32 found: YES  
libuv| Build targets in project: 4  
libuv| Subproject libuv finished.

Executing subproject libsrtp2

libsrtp2| Project name: libsrtp2  
libsrtp2| Project version: 2.5.0  
libsrtp2| C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
libsrtp2| C linker for the host machine: gcc ld.bfd 2.37  
libsrtp2| Library ws2\_32 found: YES  
libsrtp2| Has header “arpa/inet.h” : NO  
libsrtp2| Has header “byteswap.h” : NO  
libsrtp2| Has header “inttypes.h” : YES  
libsrtp2| Has header “machine/types.h” : NO  
libsrtp2| Has header “netinet/in.h” : NO  
libsrtp2| Has header “stdint.h” : YES  
libsrtp2| Has header “stdlib.h” : YES  
libsrtp2| Has header “sys/int\_types.h” : NO  
libsrtp2| Has header “sys/socket.h” : NO  
libsrtp2| Has header “sys/types.h” : YES  
libsrtp2| Has header “sys/uio.h” : NO  
libsrtp2| Has header “unistd.h” : YES  
libsrtp2| Has header “windows.h” : YES  
libsrtp2| Has header “winsock2.h” : YES  
libsrtp2| Checking for function “sigaction” with dependency -lws2\_32: NO  
libsrtp2| Checking for function “inet\_aton” with dependency -lws2\_32: NO  
libsrtp2| Checking for function “inet\_pton” with dependency -lws2\_32: YES  
libsrtp2| Checking for function “usleep” with dependency -lws2\_32: YES  
libsrtp2| Checking for function “socket” with dependency -lws2\_32: YES  
libsrtp2| Has header “stdint.h” : YES (cached)  
libsrtp2| Checking for type “size\_t” : YES  
libsrtp2| Checking for type “unsigned long” : YES  
libsrtp2| Checking for size of “unsigned long” : 4  
libsrtp2| Checking for type “unsigned long long” : YES  
libsrtp2| Checking for size of “unsigned long long” : 8  
libsrtp2| Checking if “inline keyword check” compiles: YES  
libsrtp2| Dependency openssl from subproject subprojects/openssl-3.0.7 found: YES 3.0.7  
libsrtp2| Configuring config.h using configuration  
libsrtp2| Compiler for C supports arguments -Wstrict-prototypes: YES  
libsrtp2| Compiler for C supports arguments -funroll-loops: YES  
libsrtp2| Program doxygen found: YES (c:\ProgramData\chocolatey\bin\doxygen.EXE)  
libsrtp2| Configuring Doxyfile using configuration  
libsrtp2| Build targets in project: 7  
libsrtp2| Subproject libsrtp2 finished.

Executing subproject usrsctp

usrsctp| Project name: usrsctplib  
usrsctp| Project version: 0.9.5.0  
usrsctp| C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
usrsctp| C linker for the host machine: gcc ld.bfd 2.37  
usrsctp| Compiler for C supports arguments -pedantic: YES  
usrsctp| Compiler for C supports arguments -Wfloat-equal: YES  
usrsctp| Compiler for C supports arguments -Wshadow: YES  
usrsctp| Compiler for C supports arguments -Wpointer-arith: YES  
usrsctp| Compiler for C supports arguments -Winit-self: YES  
usrsctp| Compiler for C supports arguments -Wno-unused-function: YES  
usrsctp| Compiler for C supports arguments -Wno-unused-parameter: YES  
usrsctp| Compiler for C supports arguments -Wno-unreachable-code: YES  
usrsctp| Compiler for C supports arguments -Wstrict-prototypes: YES (cached)  
usrsctp| Dependency threads found: YES unknown (cached)  
usrsctp| Library ws2\_32 found: YES  
usrsctp| Library iphlpapi found: YES  
usrsctp| Compiler for C supports arguments -Wno-format: YES  
usrsctp| Compiler for C supports arguments -D\_WIN32\_WINNT=0x601: YES  
usrsctp| Has header “sys/queue.h” : NO  
usrsctp| Has header “sys/socket.h” : NO (cached)  
usrsctp| Has header “sys/types.h” : YES (cached)  
usrsctp| Has header “netinet/in.h” : NO (cached)  
usrsctp| Has header “netinet/ip.h” : NO  
usrsctp| Has header “netinet/ip\_icmp.h” : NO  
usrsctp| Has header “net/route.h” : NO  
usrsctp| Has header “stdatomic.h” : YES  
usrsctp| Checking whether type “struct sockaddr” has member “sa\_len” : NO  
usrsctp| Checking whether type “struct sockaddr\_in” has member “sin\_len” : NO  
usrsctp| Checking whether type “struct sockaddr\_in6” has member “sin6\_len” : NO  
usrsctp| Checking whether type “struct sockaddr\_conn” has member “sconn\_len” : NO  
usrsctp| Build targets in project: 8  
usrsctp| Subproject usrsctp finished.

Executing subproject abseil-cpp

abseil-cpp| Project name: abseil-cpp  
abseil-cpp| Project version: 20220623.0  
abseil-cpp| C++ compiler for the host machine: ccache c++ (gcc 11.2.0 “c++.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
abseil-cpp| C++ linker for the host machine: c++ ld.bfd 2.37  
abseil-cpp| Compiler for C++ supports arguments -Wno-sign-compare: YES  
abseil-cpp| Compiler for C++ supports arguments -maes: YES  
abseil-cpp| Compiler for C++ supports arguments -msse4.1: YES  
abseil-cpp| Checking if “GCC atomic builtins” : links: YES  
abseil-cpp| Dependency threads found: YES unknown (cached)  
abseil-cpp| Did not find pkg-config by name ‘pkg-config’  
abseil-cpp| Found Pkg-config: NO  
abseil-cpp| Found CMake: c:\Program Files\CMake\bin\cmake.EXE (3.26.0)  
abseil-cpp| Run-time dependency corefoundation found: NO (tried pkgconfig and cmake)  
abseil-cpp| Build targets in project: 21  
abseil-cpp| Subproject abseil-cpp finished.

Executing subproject catch2

catch2| Project name: catch2  
catch2| Project version: 2.13.7  
catch2| C++ compiler for the host machine: ccache c++ (gcc 11.2.0 “c++.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
catch2| C++ linker for the host machine: c++ ld.bfd 2.37  
catch2| Build targets in project: 21  
catch2| Subproject catch2 finished.

Executing subproject wingetopt

wingetopt| Project name: wingetopt  
wingetopt| Project version: 0.95  
wingetopt| C compiler for the host machine: ccache gcc (gcc 11.2.0 “gcc.exe (MinGW-W64 x86\_64-posix-seh, built by Brecht Sanders) 11.2.0”)  
wingetopt| C linker for the host machine: gcc ld.bfd 2.37  
wingetopt| Build targets in project: 23  
wingetopt| Subproject wingetopt finished.

Build targets in project: 27

mediasoup-worker undefined

Subprojects  
abseil-cpp : YES  
catch2 : YES  
libsrtp2 : YES  
libuv : YES  
nlohmann\_json: YES  
openssl : YES 1 warnings  
usrsctp : YES  
wingetopt : YES

User defined options  
bindir :  
buildtype : release  
libdir :  
prefix : e:/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release  
b\_ndebug : true  
b\_pie : true  
b\_staticpic : true

Found ninja.exe-1.10.2.git.kitware.jobserver-1 at e:/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip/bin/ninja.exe  
/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/pip/bin/meson compile -C /e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release/build -j 4 mediasoup-worker  
ninja: Entering directory `E:/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker/out/Release/build' [53/1304] Compiling C object subprojects/openssl-3.0.7/libcrypto.a.p/crypto_conf_conf_def.c.obj ../../../subprojects/openssl-3.0.7/crypto/conf/conf_def.c:31: warning: "stat" redefined 31 | # define stat _stat | In file included from ../../../subprojects/openssl-3.0.7/crypto/conf/conf_def.c:29: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\sys\stat.h:279: note: this is the location of the previous definition 279 | #define stat _stat64 | [303/1304] Compiling C object subprojects/openssl-3.0.7/libcrypto.a.p/crypto_bio_bio_sock.c.obj ../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c: In function 'BIO_get_accept_socket': ../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c:217:13: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 217 | int s = INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c:222:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 222 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c:225:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 225 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c:232:13: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 232 | s = INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock.c:239:13: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 239 | s = INVALID_SOCKET; | ^~~~~~~~~~~~~~[305/1304] Compiling C object subprojects/openssl-3.0.7/libcrypto.a.p/crypto_bio_bio_sock2.c.obj ../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c: In function 'BIO_socket': ../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c:46:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 46 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c:53:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 53 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c: In function 'BIO_accept_ex': ../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c:319:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 319 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~../../../subprojects/openssl-3.0.7/crypto/bio/bio_sock2.c:324:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 324 | return INVALID_SOCKET; | ^~~~~~~~~~~~~~[537/1304] Compiling C object subprojects/openssl-3.0....p/providers_implementations_storemgmt_file_store.c.obj ../../../subprojects/openssl-3.0.7/providers/implementations/storemgmt/file_store.c:37: warning: "stat" redefined 37 | # define stat _stat | In file included from ../../../subprojects/openssl-3.0.7/providers/implementations/storemgmt/file_store.c:13: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\sys\stat.h:279: note: this is the location of the previous definition 279 | #define stat _stat64 | [838/1304] Compiling C object subprojects/openssl-3.0.7/libcrypto.a.p/crypto_rand_randfile.c.obj ../../../subprojects/openssl-3.0.7/crypto/rand/randfile.c:40: warning: "stat" redefined 40 | # define stat _stat | In file included from ../../../subprojects/openssl-3.0.7/crypto/rand/randfile.c:35: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\sys\stat.h:279: note: this is the location of the previous definition 279 | #define stat _stat64 | ../../../subprojects/openssl-3.0.7/crypto/rand/randfile.c:44: warning: "fstat" redefined 44 | # define fstat _fstat | In file included from ../../../subprojects/openssl-3.0.7/crypto/rand/randfile.c:35: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\sys\stat.h:280: note: this is the location of the previous definition 280 | #define fstat _fstat64 | [940/1304] Compiling C object subprojects/openssl-3.0.7/libcrypto.a.p/crypto_x509_by_dir.c.obj ../../../subprojects/openssl-3.0.7/crypto/x509/by_dir.c: In function 'get_cert_by_subject_ex': ../../../subprojects/openssl-3.0.7/crypto/x509/by_dir.c:327: warning: "stat" redefined 327 | # define stat _stat | In file included from ../../../subprojects/openssl-3.0.7/crypto/x509/by_dir.c:27: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\sys\stat.h:279: note: this is the location of the previous definition 279 | #define stat _stat64 | [1166/1304] Compiling C++ object deps/libwebrtc/liblibwebrtc.a.p/libwebrtc_modules_pacing_paced_sender.cc.obj FAILED: deps/libwebrtc/liblibwebrtc.a.p/libwebrtc_modules_pacing_paced_sender.cc.obj "ccache" "c++" "-Ideps/libwebrtc\liblibwebrtc.a.p" "-Ideps/libwebrtc" "-I..\..\..\deps\libwebrtc" "-I..\..\..\include" "-I..\..\..\deps\libwebrtc\libwebrtc" "-I..\..\..\subprojects\openssl-3.0.7\include" "-I..\..\..\subprojects\openssl-3.0.7\crypto" "-I..\..\..\subprojects\openssl-3.0.7\crypto\modes" "-I..\..\..\subprojects\openssl-3.0.7\crypto\ec\curve448" "-I..\..\..\subprojects\openssl-3.0.7\crypto\ec\curve448\arch_32" "-I..\..\..\subprojects\openssl-3.0.7\providers\common\include" "-I..\..\..\subprojects\openssl-3.0.7\providers\implementations\include" "-Isubprojects\openssl-3.0.7\generated-config\archs\VC-WIN64A\no-asm" "-I..\..\..\subprojects\openssl-3.0.7\generated-config\archs\VC-WIN64A\no-asm" "-I..\..\..\subprojects\openssl-3.0.7\generated-config\archs\VC-WIN64A\no-asm\include" "-I..\..\..\subprojects\openssl-3.0.7\generated-config\archs\VC-WIN64A\no-asm\crypto" "-I..\..\..\subprojects\openssl-3.0.7\generated-config\archs\VC-WIN64A\no-asm\providers\common\include" "-Isubprojects\abseil-cpp-20220623.0" "-I..\..\..\subprojects\abseil-cpp-20220623.0" "-I..\..\..\subprojects\nlohmann_json-3.10.5\single_include" "-I..\..\..\subprojects\libuv-v1.44.2\include" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-Wnon-virtual-dtor" "-std=c++11" "-O3" "-pthread" "-DMS_LITTLE_ENDIAN" "-DNOMINMAX" "-DWIN32_LEAN_AND_MEAN" "-D_CRT_SECURE_NO_WARNINGS" "-D_SCL_SECURE_NO_WARNINGS" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" -MD -MQ deps/libwebrtc/liblibwebrtc.a.p/libwebrtc_modules_pacing_paced_sender.cc.obj -MF "deps/libwebrtc\liblibwebrtc.a.p\libwebrtc_modules_pacing_paced_sender.cc.obj.d" -o deps/libwebrtc/liblibwebrtc.a.p/libwebrtc_modules_pacing_paced_sender.cc.obj "-c" ../../../deps/libwebrtc/libwebrtc/modules/pacing/paced_sender.cc In file included from ..\..\..\subprojects\abseil-cpp-20220623.0/absl/numeric/bits.h:48, from ..\..\..\subprojects\abseil-cpp-20220623.0/absl/strings/cord_buffer.h:36, from ..\..\..\subprojects\abseil-cpp-20220623.0/absl/strings/cord.h:83, from ..\..\..\subprojects\abseil-cpp-20220623.0/absl/container/internal/hash_function_defaults.h:56, from ..\..\..\subprojects\abseil-cpp-20220623.0/absl/container/flat_hash_map.h:41, from ..\..\..\include/RTC/RtpPacket.hpp:7, from ..\..\..\deps\libwebrtc\libwebrtc/modules/pacing/packet_router.h:17, from ..\..\..\deps\libwebrtc\libwebrtc/modules/pacing/paced_sender.h:19, from ../../../deps/libwebrtc/libwebrtc/modules/pacing/paced_sender.cc:14: ..\..\..\subprojects\abseil-cpp-20220623.0/absl/numeric/internal/bits.h: In function 'constexpr int absl::lts_20220623::numeric_internal::Popcount32(uint32_t)': ..\..\..\subprojects\abseil-cpp-20220623.0/absl/numeric/internal/bits.h:100:28: error: call to non-'constexpr' function 'unsigned int __popcnt(unsigned int)' 100 | return__builtin_popcount(x); In file included from c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\intrin.h:41, from ..\..\..\include/Utils.hpp:14, from ..\..\..\include/RTC/RtpPacket.hpp:5, from ..\..\..\deps\libwebrtc\libwebrtc/modules/pacing/packet_router.h:17, from ..\..\..\deps\libwebrtc\libwebrtc/modules/pacing/paced_sender.h:19, from ../../../deps/libwebrtc/libwebrtc/modules/pacing/paced_sender.cc:14: c:\programdata\chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\include\psdk_inc\intrin-impl.h:1447:14: note: 'unsigned int __popcnt(unsigned int)' declared here 1447 | unsigned int__popcnt(unsigned int value) | ^~~~~~~~ [1168/1304] Compiling C++ object deps/libwebrtc/liblib...stimator_remote_bitrate_estimator_abs_send_time.cc.obj ../../../deps/libwebrtc/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc: In member function 'void webrtc::RemoteBitrateEstimatorAbsSendTime::IncomingPacketInfo(int64_t, uint32_t, size_t, uint32_t)': ../../../deps/libwebrtc/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc:294:13: warning: variable 'send_delta_ms' set but not used [-Wunused-but-set-variable] 294 | int send_delta_ms = -1; | ^~~~~~~~~~~~~../../../deps/libwebrtc/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc:295:13: warning: variable 'recv_delta_ms' set but not used [-Wunused-but-set-variable] 295 | int recv_delta_ms = -1; | ^~~~~~~~~~~~~ [1169/1304] Compiling C++ object deps/libwebrtc/liblib...congestion_controller_goog_cc_bitrate_estimator.cc.obj ninja: build stopped: subcommand failed. make: *** [mediasoup-worker] Error 1 make: Leaving directory `/e/FullWorkingProject/WorkingWEBRTC/MediaSoup/medias3/3.11.11/worker’  
npm-scripts.js [ERROR] executeCmd() failed, exiting: Error: Command failed: make -C worker  
error Command failed with exit code 1.  
info Visit [yarn install | Yarn](https://yarnpkg.com/en/docs/cli/install) for documentation about this command.

---

<div class="post-metadata">

**Author:** ![snnz](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/snnz/32/693_2.png) [@snnz](https://mediasoup.discourse.group/u/snnz)\
**Post date:** [February 27, 2023, 8:20pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/2 "2023-02-27T20:20:31Z")

</div>

mediasoup worker is supposed to be built with MSVC on Windiows.

---

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [March 5, 2023, 4:31pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/3 "2023-03-05T16:31:31Z")

</div>

how to use msvs pls help i have visual stduio 2022

---

<div class="post-metadata">

**Author:** ![snnz](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/snnz/32/693_2.png) [@snnz](https://mediasoup.discourse.group/u/snnz)\
**Post date:** [March 5, 2023, 4:36pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/4 "2023-03-05T16:36:58Z")

</div>

Remove a path to MinGW from the PATH variable.

---

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [March 5, 2023, 4:39pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/5 "2023-03-05T16:39:22Z")

</div>

ok bro i try

---

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [March 5, 2023, 4:57pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/6 "2023-03-05T16:57:19Z")

</div>

still same error

---

<div class="post-metadata">

**Author:** ![snnz](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/snnz/32/693_2.png) [@snnz](https://mediasoup.discourse.group/u/snnz)\
**Post date:** [March 5, 2023, 5:07pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/7 "2023-03-05T17:07:12Z")

</div>

What is the same? If `meson` tells again that the compiler is `gcc`, then it finds it somehow in the system, before it could have found MSVC.

---

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [March 5, 2023, 5:08pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/8 "2023-03-05T17:08:06Z")

</div>

yes your correct

---

<div class="post-metadata">

**Author:** ![chennasi](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@chennasi](https://mediasoup.discourse.group/u/chennasi)\
**Post date:** [March 5, 2023, 5:20pm UTC](https://mediasoup.discourse.group/t/kindly-help-to-fix-it/4998/9 "2023-03-05T17:20:26Z")

</div>

done ty
