mcppls在Windows上构建失败
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp
- Ambito
- build-system
Direzione di ricerca
Start by locating the Windows platform and build configuration that supplies linker libraries to the mcppls executables; the payload does not name source files or tests. Reproduce with mcpp build --verbose on Windows and inspect the generated linker arguments, which fail to resolve Windows system libraries. Done when the Windows build links successfully and the affected executables are produced.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version
mcpp 2026.10.5.2
Editor
nvim 0.12
Operating system
Windows 11
Build system
mcpp
What happened
构建日志
mcpp build --verbose
[VERBOSE 2026-10-07 22:11:59.905] fast-path: workspace declined: the runtime's .xlings.json is newer than build.ninja
Workspace building member 'mcpp-language-server'
[VERBOSE 2026-10-07 22:11:59.915] index: mcpp-language-server: resolvable locally
[VERBOSE 2026-10-07 22:11:59.916] index: [email protected]: resolvable locally
[VERBOSE 2026-10-07 22:11:59.916] index: mcppls-base: resolvable locally
[VERBOSE 2026-10-07 22:11:59.916] index: mcppls-platform: resolvable locally
[VERBOSE 2026-10-07 22:11:59.925] index: [email protected]: resolvable locally
[VERBOSE 2026-10-07 22:11:59.935] index: openkal-llvm-runtime@=0.15.1: resolvable locally
[VERBOSE 2026-10-07 22:11:59.945] index: openkal-musl@=0.19.1: resolvable locally
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-musl =0.19.1 → v0.19.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolving toolchain
[VERBOSE 2026-10-07 22:12:01.000] fetcher: resolve: target='xim:[email protected]' verdir='C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8'
Resolved [email protected] → x86_64-windows-gnu → @mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe
[VERBOSE 2026-10-07 22:12:01.001] probe: explicit compiler: C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\clang++.exe
[VERBOSE 2026-10-07 22:12:01.428] probe: no runtime binding resolved — declining PayloadFirst rather than picking a libc by directory order
[VERBOSE 2026-10-07 22:12:01.572] fetcher: resolve: target='xim:[email protected]' verdir='C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8'
[VERBOSE 2026-10-07 22:12:01.573] probe: explicit compiler: C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\clang++.exe
[VERBOSE 2026-10-07 22:12:01.851] probe: no runtime binding resolved — declining PayloadFirst rather than picking a libc by directory order
Resolved host toolchain for build.mcpp: clang 22.1.8 (x86_64-pc-windows-msvc)
build.mcpp mcpplibs.openkal-musl cached
build.mcpp mcpplibs.openkal-windows cached
warning: the target name asks for the `gnu` C ABI and the dependency graph supplies `musl`.
The graph decides, so the build below uses `musl` — the name is what is inaccurate,
not the artifact.
The object ABI `gnu` selects is unaffected; what it does not select here is the
C library.
Drop the segment to say what is actually meant:
--target x86_64-windows
Target same-OS check: 'x86_64-windows-gnu'(os=windows) vs 'x86_64-w64-windows-gnu'(os=windows)
Target x86_64-windows-gnu → x86_64-w64-windows-gnu
compiler llvm (22.1.8, payload)
compiler-runtime compiler-rt ([email protected], graph)
kernel-abi openkal ([email protected], graph)
c-abi musl ([email protected], graph)
c++-abi libc++ ([email protected], graph)
Target platform-deps —
build.mcpp mcppls-platform cached
[VERBOSE 2026-10-07 22:12:01.991] scan: scanning module sources
[VERBOSE 2026-10-07 22:12:12.192] build: schedule: none — auto: the split schedule is opt-in until it has been verified on every platform (set bmi_schedule = "on")
[VERBOSE 2026-10-07 22:12:14.479] build/stage: emit-ninja: 81ms
[VERBOSE 2026-10-07 22:12:14.720] build/stage: write-ninja: 241ms
[VERBOSE 2026-10-07 22:12:15.148] build/stage: compile-commands: 427ms
[VERBOSE 2026-10-07 22:12:15.165] build/stage: hermetic-check: 16ms
ninja: Entering directory `D:\src\clone\mcpp-language-server\target\x86_64-windows-gnu\3a1c3f83f47b656a'
ninja: no work to do.
[VERBOSE 2026-10-07 22:12:15.261] build/stage: ninja-scan: 96ms
ninja: Entering directory `D:\src\clone\mcpp-language-server\target\x86_64-windows-gnu\3a1c3f83f47b656a'
[1/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-model.exe.rsp -o bin/mcppls-mock-model.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
Compiling mcpp-language-server v0.0.11 (.)
error: build failed in mcpp-language-server v0.0.11 (.)
FAILED: bin/mcppls-mock-model.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-model.exe.rsp -o bin/mcppls-mock-model.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
lld: error: unable to find library -lntdll
lld: error: unable to find library -lsynchronization
lld: error: unable to find library -lshell32
lld: error: unable to find library -lkernel32
lld: error: unable to find library -lbcrypt
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[2/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls.exe.rsp -o bin/mcppls.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls.exe.rsp -o bin/mcppls.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
lld: error: unable to find library -lntdll
lld: error: unable to find library -lsynchronization
lld: error: unable to find library -lshell32
lld: error: unable to find library -lkernel32
lld: error: unable to find library -lbcrypt
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[3/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-mcpp.exe.rsp -o bin/mcppls-mock-mcpp.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-mock-mcpp.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-mcpp.exe.rsp -o bin/mcppls-mock-mcpp.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
lld: error: unable to find library -lntdll
lld: error: unable to find library -lsynchronization
lld: error: unable to find library -lshell32
lld: error: unable to find library -lkernel32
lld: error: unable to find library -lbcrypt
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[4/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-lspgen.exe.rsp -o bin/mcppls-lspgen.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-lspgen.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-lspgen.exe.rsp -o bin/mcppls-lspgen.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
lld: error: unable to find library -lntdll
lld: error: unable to find library -lsynchronization
lld: error: unable to find library -lshell32
lld: error: unable to find library -lkernel32
lld: error: unable to find library -lbcrypt
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[5/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-conformance.exe.rsp -o bin/mcppls-conformance.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-conformance.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-conformance.exe.rsp -o bin/mcppls-conformance.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
lld: error: unable to find library -lntdll
lld: error: unable to find library -lsynchronization
lld: error: unable to find library -lshell32
lld: error: unable to find library -lkernel32
lld: error: unable to find library -lbcrypt
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
[VERBOSE 2026-10-07 22:12:16.174] build/stage: ninja: 912ms
mcpp self doctor 结果
mcpp self doctor
Checking toolchain
ok gcc 15.1.0 (x86_64-w64-mingw32) at C:\Users\himalian\.xlings\subos\default\bin\g++.exe
Checking msvc (system)
ok msvc 19.51.36260 (VC tools 14.51.36231)
ok cl at D:\Visual Studio\Production\VC\Tools\MSVC\14.51.36231\bin\Hostx64\x64\cl.exe
ok import std: std.ixx available
warning: no Windows SDK found for msvc@system — native builds with the machine's Visual Studio will fail (install the 'Windows 11 SDK' VS component)
Checking mingw (xim:mingw-gcc)
ok mingw 16.1.0 installed
Checking linux cross (xim:x86_64-linux-musl-gcc)
ok x86_64-linux-musl not installed (optional — `mcpp toolchain install gcc 16.1.0 --target x86_64-linux-musl`)
Checking std module
ok C:\Users\himalian\.mcpp\build-cache\v1\std\392a2f181ed02208 (entry 29.5 MiB)
Checking registry
ok xlings at C:\Users\himalian\.mcpp\registry\bin\xlings.exe
ok default index = 'mcpplibs'
Checking package indexes
ok index 'mcpplibs' requires mcpp >= 2026.9.18.3
ok index 'xim-pkgindex' declares no mcpp floor
Checking cache health
ok build cache size = 204.3 MiB
Checking last runtime closure verdict
ok D:\src\clone\mcpp-language-server\target\x86_64-windows-gnu\cf70445a2105cc0a\bin/mcppls-conformance.exe (RuntimeBinding 70b0beacc48cb1fb): pass
Checking runtime capabilities
Workspace building member 'mcpp-language-server'
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-musl =0.19.1 → v0.19.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolving toolchain
Resolved [email protected] → x86_64-windows-gnu → @mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe
Resolved host toolchain for build.mcpp: clang 22.1.8 (x86_64-pc-windows-msvc)
warning: the target name asks for the `gnu` C ABI and the dependency graph supplies `musl`.
The graph decides, so the build below uses `musl` — the name is what is inaccurate,
not the artifact.
The object ABI `gnu` selects is unaffected; what it does not select here is the
C library.
Drop the segment to say what is actually meant:
--target x86_64-windows
Target x86_64-windows-gnu → x86_64-w64-windows-gnu
compiler-runtime compiler-rt ([email protected], graph)
kernel-abi openkal ([email protected], graph)
c-abi musl ([email protected], graph)
c++-abi libc++ ([email protected], graph)
ok no host runtime capabilities required
Checking gcc include-fixed headers
ok no fixincludes-frozen headers in installed gcc payloads
Checking build policy
ok module interfaces: .cppm (built-in only)
ok build.mcpp run bound: 600s (from built-in default)
ok process deadlines: enforced (POSIX SIGKILL / Windows job object)
Doctor result: 1 warnings
What you expected
No response
Diagnostic bundle
- I attached the diagnostic bundle
Diagnostic report (only if there is no bundle)
Steps to reproduce
在Windows平台使用直接mcpp build
已安装mingw,尝试用 GNU ld 伪装成 ld.lld.exe
$src = "~\.xlings\data\xpkgs\xim-x-mingw-w64\13.0.0\bin\ld.exe"
$dst = "~\.xlings\subos\default\bin\ld.lld.exe"
New-Item -ItemType HardLink -Path $dst -Target $src -Force
重新构建后,得到新的报错
mcpp build --verbose
[VERBOSE 2026-10-07 22:29:14.257] fast-path: workspace declined: the runtime's .xlings.json is newer than build.ninja
Workspace building member 'mcpp-language-server'
[VERBOSE 2026-10-07 22:29:14.266] index: mcpp-language-server: resolvable locally
[VERBOSE 2026-10-07 22:29:14.267] index: [email protected]: resolvable locally
[VERBOSE 2026-10-07 22:29:14.267] index: mcppls-base: resolvable locally
[VERBOSE 2026-10-07 22:29:14.267] index: mcppls-platform: resolvable locally
[VERBOSE 2026-10-07 22:29:14.268] index: [email protected]: resolvable locally
[VERBOSE 2026-10-07 22:29:14.271] index: openkal-llvm-runtime@=0.15.1: resolvable locally
[VERBOSE 2026-10-07 22:29:14.274] index: openkal-musl@=0.19.1: resolvable locally
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-musl =0.19.1 → v0.19.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolved openkal-llvm-runtime =0.15.1 → v0.15.1
Resolving toolchain
[VERBOSE 2026-10-07 22:29:14.704] fetcher: resolve: target='xim:[email protected]' verdir='C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8'
Resolved [email protected] → x86_64-windows-gnu → @mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe
[VERBOSE 2026-10-07 22:29:14.705] probe: explicit compiler: C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\clang++.exe
[VERBOSE 2026-10-07 22:29:15.024] probe: no runtime binding resolved — declining PayloadFirst rather than picking a libc by directory order
[VERBOSE 2026-10-07 22:29:15.132] fetcher: resolve: target='xim:[email protected]' verdir='C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8'
[VERBOSE 2026-10-07 22:29:15.133] probe: explicit compiler: C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\clang++.exe
[VERBOSE 2026-10-07 22:29:15.421] probe: no runtime binding resolved — declining PayloadFirst rather than picking a libc by directory order
Resolved host toolchain for build.mcpp: clang 22.1.8 (x86_64-pc-windows-msvc)
build.mcpp mcpplibs.openkal-musl cached
build.mcpp mcpplibs.openkal-windows cached
warning: the target name asks for the `gnu` C ABI and the dependency graph supplies `musl`.
The graph decides, so the build below uses `musl` — the name is what is inaccurate,
not the artifact.
The object ABI `gnu` selects is unaffected; what it does not select here is the
C library.
Drop the segment to say what is actually meant:
--target x86_64-windows
Target same-OS check: 'x86_64-windows-gnu'(os=windows) vs 'x86_64-w64-windows-gnu'(os=windows)
Target x86_64-windows-gnu → x86_64-w64-windows-gnu
compiler llvm (22.1.8, payload)
compiler-runtime compiler-rt ([email protected], graph)
kernel-abi openkal ([email protected], graph)
c-abi musl ([email protected], graph)
c++-abi libc++ ([email protected], graph)
Target platform-deps —
build.mcpp mcppls-platform cached
[VERBOSE 2026-10-07 22:29:15.519] scan: scanning module sources
[VERBOSE 2026-10-07 22:29:17.271] build: schedule: none — auto: the split schedule is opt-in until it has been verified on every platform (set bmi_schedule = "on")
[VERBOSE 2026-10-07 22:29:19.448] build/stage: emit-ninja: 80ms
[VERBOSE 2026-10-07 22:29:19.549] build/stage: write-ninja: 100ms
[VERBOSE 2026-10-07 22:29:19.550] build/stage: compute-flags: 1ms
[VERBOSE 2026-10-07 22:29:20.015] build/stage: compile-commands: 465ms
[VERBOSE 2026-10-07 22:29:20.031] build/stage: hermetic-check: 16ms
ninja: Entering directory `D:\src\clone\mcpp-language-server\target\x86_64-windows-gnu\3a1c3f83f47b656a'
ninja: no work to do.
[VERBOSE 2026-10-07 22:29:20.126] build/stage: ninja-scan: 95ms
ninja: Entering directory `D:\src\clone\mcpp-language-server\target\x86_64-windows-gnu\3a1c3f83f47b656a'
[1/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls.exe.rsp -o bin/mcppls.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
Compiling mcpp-language-server v0.0.11 (.)
error: build failed in mcpp-language-server v0.0.11 (.)
FAILED: bin/mcppls.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls.exe.rsp -o bin/mcppls.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lntdll: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the ntdll library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lsynchronization: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the synchronization library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lshell32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the shell32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lkernel32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the kernel32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lbcrypt: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the bcrypt library ?
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[2/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-conformance.exe.rsp -o bin/mcppls-conformance.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-conformance.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-conformance.exe.rsp -o bin/mcppls-conformance.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lntdll: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the ntdll library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lsynchronization: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the synchronization library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lshell32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the shell32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lkernel32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the kernel32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lbcrypt: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the bcrypt library ?
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[3/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-lspgen.exe.rsp -o bin/mcppls-lspgen.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-lspgen.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-lspgen.exe.rsp -o bin/mcppls-lspgen.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lntdll: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the ntdll library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lsynchronization: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the synchronization library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lshell32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the shell32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lkernel32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the kernel32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lbcrypt: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the bcrypt library ?
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[4/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-mcpp.exe.rsp -o bin/mcppls-mock-mcpp.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-mock-mcpp.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-mcpp.exe.rsp -o bin/mcppls-mock-mcpp.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lntdll: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the ntdll library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lsynchronization: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the synchronization library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lshell32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the shell32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lkernel32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the kernel32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lbcrypt: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the bcrypt library ?
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[5/5] C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-model.exe.rsp -o bin/mcppls-mock-model.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
FAILED: bin/mcppls-mock-model.exe
C:/Users/himalian/.mcpp/registry/data/xpkgs/xim-x-llvm/22.1.8/bin/clang++.exe @bin/mcppls-mock-model.exe.rsp -o bin/mcppls-mock-model.exe --target=x86_64-w64-windows-gnu -fuse-ld=lld -lwinprocess "-LD:\src\clone\mcpp-language-server\modules\platform\target\.build-mcpp\out" -nostdlib -static -Wl,--gc-sections -Wl,-e,okw_start -lntdll -lsynchronization -lshell32 -lkernel32 -lbcrypt -nostdlib++
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lntdll: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the ntdll library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lsynchronization: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the synchronization library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lshell32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the shell32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lkernel32: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the kernel32 library ?
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: cannot find -lbcrypt: No such file or directory
C:\Users\himalian\.mcpp\registry\data\xpkgs\xim-x-llvm\22.1.8\bin\ld.lld: have you installed the static version of the bcrypt library ?
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
[VERBOSE 2026-10-07 22:29:22.351] build/stage: ninja: 2224ms
- Lingua principale
- C++
- Stelle
- 25
- Fork
- 2
- Merge medio
- 21h 5m
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Sunrisepeak/mcpp-language-server
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Sunrisepeak/mcpp-language-server#80 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Sunrisepeak/mcpp-language-server#66 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
Sunrisepeak/mcpp-language-server#77 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Sunrisepeak/mcpp-language-server#71 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Sunrisepeak/mcpp-language-server#59 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Sunrisepeak/mcpp-language-server
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
xiaoyifang/goldendict-ng#3148 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
triton-inference-server/server#9069 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 4 giorni
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100