Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zig工具链编译的时候报错 #136

Open
heheda123123 opened this issue Dec 15, 2024 · 1 comment
Open

zig工具链编译的时候报错 #136

heheda123123 opened this issue Dec 15, 2024 · 1 comment

Comments

@heheda123123
Copy link

heheda123123 commented Dec 15, 2024

xmake支持用zig交叉编译c++项目,其他依赖没问题,但是到cpp-ipc的时候报错如下
看报错和之前的issue类似 #55
zig交叉编译就是用clang编译,然后链接对应的libc,这里是指定mingw x86_64,理论上应该是没问题的

PS C:\Users\Administrator\temp\testcppipc> x f --toolchain=zig -v -D -c -p mingw -a x86_64
checking for zig ... ok
checking for git ... ok
checkinfo: BusyBox v1.37.0.git-5398-g89ae34445 (2024-08-01 15:18:13 UTC)

Usage: gzip [-cfkdt123456789] [FILE]...

Compress FILEs (or stdin)

        -1..9   Compression level
        -d      Decompress
        -c      Write to stdout
        -f      Force
        -k      Keep input files
        -t      Test integrity
gzip.exe: unknown option -- version

checkinfo: BusyBox v1.37.0.git-5398-g89ae34445 (2024-08-01 15:18:13 UTC)

Usage: gzip [-cfkdt123456789] [FILE]...

Compress FILEs (or stdin)

        -1..9   Compression level
        -d      Decompress
        -c      Write to stdout
        -f      Force
        -k      Keep input files
        -t      Test integrity
C:\me\tools\w64devkit_64\bin\gzip.exe: unknown option -- version

checking for gzip ... no
checking for 7z ... C:\Users\Administrator\xmake\winenv\bin\7z
git rev-parse HEAD
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.42.34435
checking for nim ... ok
checking for cmake ... no
checking for cmake ... no
checking for cmake ... no
finding cpp-ipc from xmake ..
checking for xmake::cpp-ipc ... no
finding cpp-ipc from vcpkg ..
finding cpp-ipc from conan ..
finding cpp-ipc from system ..
checking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\cc.cmd ... ok
checking for the c compiler (cc) ... cc.cmd
> C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\cc.cmd -c -target x86_64-windows-gnu -o C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_2A361A07714A491085705D384DB22220.o C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_775FB00633BC4F66BF87D39CCDE5CF30.c
checking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\cc.cmd ... ok
checking for flags (-fdiagnostics-color=always) ... ok
> cc.cmd "-fdiagnostics-color=always" "-target" "x86_64-windows-gnu"
checking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd ... ok
checking for the c++ compiler (cxx) ... c++.cmd
checking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd ... ok
checking for the linker (ld) ... c++.cmd
> C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -o C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_2A361A07714A491085705D384DB22220.b C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_2A361A07714A491085705D384DB22220.o -target x86_64-windows-gnu -lcpp-ipc
error: unable to find dynamic system library 'cpp-ipc' using strategy 'paths_first'. searched paths: none
> checking for c links(cpp-ipc)
> checking for c snippet(find_package/cpp-ipc)
checkinfo: ...gramdir\core\sandbox\modules\import\core\tool\linker.lua:75: @programdir\core\sandbox\modules\os.lua:378: execv(C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -o C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_2A361A07714A491085705D384DB22220.b C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\_2A361A07714A491085705D384DB22220.o -target x86_64-windows-gnu -lcpp-ipc) failed(1)
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:1004]:
    [@programdir\core\sandbox\modules\os.lua:378]: in function 'execv'
    [@programdir\modules\core\tools\gcc.lua:599]:
    [C]: in function 'xpcall'
    [@programdir\core\base\utils.lua:244]:
    [@programdir\core\tool\linker.lua:232]: in function 'link'
    [...gramdir\core\sandbox\modules\import\core\tool\linker.lua:73]: in function 'link'
    [@programdir\modules\lib\detect\check_cxsnippets.lua:249]:
    [C]: in function 'xpcall'
    [@programdir\core\base\utils.lua:244]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:117]: in function 'try'
    [@programdir\modules\lib\detect\check_cxsnippets.lua:237]:
    [@programdir\modules\package\manager\system\find_package.lua:73]:
    [@programdir\modules\package\manager\find_package.lua:86]: in function '_find_package_with_builtin_rule'
    [@programdir\modules\package\manager\find_package.lua:132]: in function '_find_package'
    [@programdir\modules\package\manager\find_package.lua:196]:
    [@programdir\modules\lib\detect\find_package.lua:86]:
    [@programdir\core\package\package.lua:1905]: in function '_fetch_library'
    [@programdir\core\package\package.lua:2075]: in function 'fetch'
    [...modules\private\action\require\impl\install_packages.lua:354]: in function 'jobfunc'
    [@programdir\modules\async\runjobs.lua:241]:
    [C]: in function 'xpcall'
    [@programdir\core\base\utils.lua:244]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:117]: in function 'try'
    [@programdir\modules\async\runjobs.lua:224]: in function 'cotask'
    [@programdir\core\base\scheduler.lua:406]:

checking for cpp-ipc ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> cpp-ipc master [toolchains:"zig", license:MIT]
please input: y (y/n/m)

checking for ping ... ok
pinging the host(github.com) ... 106 ms
git -c core.fsmonitor=false clean -d -f -x
Removing build_c858331d/
git -c core.fsmonitor=false reset --hard
HEAD is now at 2673453 Try to fix permission issues under linux
←[0mchecking for ninja ... ←[38;5;2;1mok←[0m
←[0mchecking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\cc.cmd ... ←[38;5;2;1mok←[0m
←[0m←[2mchecking for the assember (as) ... ←[38;5;2;1mcc.cmd←[0m
←[0mchecking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\ar.cmd ... ←[38;5;2;1mok←[0m
←[0m←[2mchecking for the static library archiver (ar) ... ←[38;5;2;1mar.cmd←[0m
←[0mchecking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\ranlib.cmd ... ←[38;5;2;1mok←[0m
←[0m←[2mchecking for the archive index generator (ranlib) ... ←[38;5;2;1mranlib.cmd←[0m
←[0mchecking for C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd ... ←[38;5;2;1mok←[0m
←[0m←[2mchecking for the shared library linker (sh) ... ←[38;5;2;1mc++.cmd←[0m
←[0mchecking for pkg-config ... ←[38;5;2;1mok←[0m
←[0mchecking for cmake ... ←[38;5;2;1mC:\Program Files\CMake\bin\cmake←[0m
←[0mchecking for pkg-config ... ←[38;5;2;1mok←[0m
C:\Program Files\CMake\bin\cmake -DLIBIPC_BUILD_TESTS=OFF -DLIBIPC_BUILD_DEMOS=OFF -DCMAKE_BUILD_TYPE=Release -DLIBIPC_BUILD_SHARED_LIBS=OFF -DLIBIPC_USE_STATIC_CRT=ON -DCMAKE_INSTALL_PREFIX=C:\Users\Administrator\AppData\Local\.xmake\packages\c\cpp-ipc\master\c858331d6d7045f2a4e7005f32c2f542 -DCMAKE_INSTALL_LIBDIR:PATH=lib -G Ninja -DCMAKE_ASM_COMPILER=C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/cc.cmd -DCMAKE_C_COMPILER=C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/cc.cmd -DCMAKE_CXX_COMPILER=C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/c++.cmd -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_SYSTEM_PROCESSOR=x86_64 "-DCMAKE_EXE_LINKER_FLAGS=-target x86_64-windows-gnu" "-DCMAKE_C_FLAGS=-target x86_64-windows-gnu" "-DCMAKE_SHARED_LINKER_FLAGS=-target x86_64-windows-gnu" "-DCMAKE_ASM_FLAGS=-target x86_64-windows-gnu" "-DCMAKE_MODULE_LINKER_FLAGS=-target x86_64-windows-gnu" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_RANLIB=C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/ranlib.cmd -DHAVE_FLAG_SEARCH_PATHS_FIRST=0 -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH -DCMAKE_STATIC_LINKER_FLAGS= "-DCMAKE_CXX_FLAGS=-target x86_64-windows-gnu" -DCMAKE_AR=C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/ar.cmd "-DCMAKE_CXX_FLAGS_RELEASE=-target x86_64-windows-gnu -O3 -DNDEBUG" "-DCMAKE_EXE_LINKER_FLAGS_RELEASE=-target x86_64-windows-gnu" "-DCMAKE_SHARED_LINKER_FLAGS_RELEASE=-target x86_64-windows-gnu" "-DCMAKE_C_FLAGS_RELEASE=-target x86_64-windows-gnu -O3 -DNDEBUG" -DCMAKE_STATIC_LINKER_FLAGS_RELEASE= C:\Users\Administrator\AppData\Local\.xmake\cache\packages\2412\c\cpp-ipc\master\source\cpp-ipc
-- The C compiler identification is Clang 18.1.6
-- The CXX compiler identification is Clang 18.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/cc.cmd
-- Check for working C compiler: C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/cc.cmd - works
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/c++.cmd
-- Check for working CXX compiler: C:/Users/ADMINI~1/AppData/Local/Temp/.xmake/241215/zigcc/c++.cmd - works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (3.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_FLAGS
    CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
    CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
    CMAKE_INSTALL_LIBDIR
    HAVE_FLAG_SEARCH_PATHS_FIRST


-- Build files have been written to: C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/build_c858331d
←[0mchecking for pkg-config ... ←[38;5;2;1mok←[0m
ninja install -C C:\Users\Administrator\AppData\Local\.xmake\cache\packages\2412\c\cpp-ipc\master\source\cpp-ipc\build_c858331d -v -j 8
ninja: Entering directory `C:\Users\Administrator\AppData\Local\.xmake\cache\packages\2412\c\cpp-ipc\master\source\cpp-ipc\build_c858331d'
[1/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/buffer.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\buffer.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/buffer.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/buffer.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/buffer.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/buffer.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\buffer.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/buffer.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/buffer.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/buffer.cpp:2:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/buffer.cpp:2:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[2/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/shm.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\shm.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/shm.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/shm.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/shm.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/shm.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\shm.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/shm.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/shm.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/shm.cpp:7:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/shm.cpp:7:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[3/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/pool_alloc.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\pool_alloc.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/pool_alloc.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/pool_alloc.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/pool_alloc.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/pool_alloc.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\pool_alloc.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/pool_alloc.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/pool_alloc.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/pool_alloc.cpp:3:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/memory/resource.h:14:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/memory/alloc.h:15:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/pool_alloc.cpp:3:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/memory/resource.h:14:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/memory/alloc.h:15:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[4/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/ipc.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\ipc.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/ipc.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/ipc.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/ipc.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/ipc.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\ipc.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/ipc.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/ipc.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/ipc.cpp:18:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/queue.h:19:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/ipc.cpp:18:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/queue.h:19:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[5/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\mutex.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/mutex.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\mutex.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/mutex.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/mutex.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/mutex.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[6/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\waiter.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/waiter.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\waiter.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/waiter.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/waiter.cpp:1:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/waiter.h:11:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/waiter.cpp:1:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/waiter.h:11:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[7/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\condition.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/condition.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\condition.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/condition.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/condition.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/condition.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
[8/12] C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\semaphore.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/semaphore.cpp
FAILED: src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.obj
C:\Users\ADMINI~1\AppData\Local\Temp\.xmake\241215\zigcc\c++.cmd -DUNICODE -D_UNICODE -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/include -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src -IC:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/linux -target x86_64-windows-gnu -target x86_64-windows-gnu -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -MD -MT src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.obj -MF src\CMakeFiles\ipc.dir\libipc\sync\semaphore.cpp.obj.d -o src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.obj -c C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/semaphore.cpp
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/semaphore.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:77:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   77 | unique_ptr(T* p) -> unique_ptr<T>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/sync/semaphore.cpp:4:
In file included from C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/utility/pimpl.h:6:
C:/Users/Administrator/AppData/Local/.xmake/cache/packages/2412/c/cpp-ipc/master/source/cpp-ipc/src/libipc/platform/detail.h:79:1: error: deduction guide must be declared in the same scope as template 'std::unique_ptr'
   79 | unique_ptr(T* p, D&& d) -> unique_ptr<T, std::decay_t<D>>;
      | ^
C:\Users\Administrator\scoop\apps\zig\0.13.0\lib\libcxx\include/__memory/unique_ptr.h:124:59: note: template is declared here
  124 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
      |                                                           ^
2 errors generated.
ninja: build stopped: subcommand failed.
error: @programdir\core\sandbox\modules\os.lua:378: execv(ninja install -C C:\Users\Administrator\AppData\Local\.xmake\cache\packages\2412\c\cpp-ipc\master\source\cpp-ipc\build_c858331d -v -j 8) failed(1)
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:1004]:
    [@programdir\core\sandbox\modules\os.lua:378]:
    [@programdir\core\sandbox\modules\os.lua:291]: in function 'vrunv'
    [@programdir\modules\package\tools\ninja.lua:64]: in function 'install'
    [@programdir\modules\package\tools\cmake.lua:1168]: in function '_install_for_ninja'
    [@programdir\modules\package\tools\cmake.lua:1369]: in function 'install'
    [...ake\repositories\xmake-repo\packages\c\cpp-ipc\xmake.lua:27]: in function 'script'
    [...dir\modules\private\action\require\impl\utils\filter.lua:114]: in function 'call'
    [...\modules\private\action\require\impl\actions\install.lua:452]:

  => install cpp-ipc master .. failed
error: @programdir\core\main.lua:329: @programdir\modules\async\runjobs.lua:325: ...\modules\private\action\require\impl\actions\install.lua:561: install failed!
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:1004]:
    [...\modules\private\action\require\impl\actions\install.lua:561]: in function 'catch'
    [@programdir\core\sandbox\modules\try.lua:123]: in function 'try'
    [...\modules\private\action\require\impl\actions\install.lua:419]:
    [...modules\private\action\require\impl\install_packages.lua:510]: in function 'jobfunc'
    [@programdir\modules\async\runjobs.lua:241]:

stack traceback:
        [C]: in function 'error'
        @programdir\core\base\os.lua:1004: in function 'base/os.raiselevel'
        (...tail calls...)
        @programdir\core\main.lua:329: in upvalue 'cotask'
        @programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>
warning: we cannot load toolchain(zig), because it has been not checked yet!
PS C:\Users\Administrator\temp\testcppipc>
@mutouyun
Copy link
Owner

看起来确实很像 #55,但那个是mac编译。mingw我没测试过,你不用依赖方式拉取,直接在mingw环境下编译ipc能过么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants