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

Build failed: LINK: fatal error LNK1104: can't open PocoFoundation.lib #6730

Closed
JackZhangOnly opened this issue Feb 19, 2025 · 3 comments
Closed
Labels

Comments

@JackZhangOnly
Copy link

JackZhangOnly commented Feb 19, 2025

The issue

execute command

cmake -G "Ninja" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-Dstatic=ON" "-DCMAKE_TOOLCHAIN_FILE=D:\vcpkg\scripts\buildsystems\vcpkg.cmake" "-DIce_HOME=D:\vcpkg\installed\x64-windows-static-md" "-DCMAKE_BUILD_TYPE=Release" ..

cmake --build .

error log as follow:
.....
ninja: no work to do.
[90/91] Linking CXX executable mumble.exe
FAILED: mumble.exe
C:\Windows\system32\cmd.exe /C "cd . && D:\install\CMake\bin\cmake.exe -E vs_link_exe --intdir=src\mumble\CMakeFiles\mumble.dir --rc=C:\PROGRA2\WI3CF21\10\bin\1002611.0\x64\rc.exe --mt=C:\PROGRA2\WI3CF21\10\bin\1002611.0\x64\mt.exe --manifests -- D:\install\VisualStudio\2022\Community\VC\Tools\MSVC\14.43.34808\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\mumble.rsp /out:mumble.exe /implib:src\mumble\mumble.lib /pdb:mumble.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:windows /INCREMENTAL:NO /LTCG && C:\Windows\system32\cmd.exe /C "cd /D D:\mumble\buildReleaseN\src\mumble && C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy Bypass -file D:/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary D:/mumble/buildReleaseN/mumble.exe -installedDir D:/vcpkg/installed/x64-windows-static-md/bin -OutVariable out""
LINK: command "D:\VisualStudio\2022\Community\VC\Tools\MSVC\14.43.34808\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\mumble.rsp /out:mumble.exe /implib:src\mumble\mumble.lib /pdb:mumble.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:windows /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: can't open “PocoFoundation.lib”
ninja: build stopped: subcommand failed.

Mumble version

master

Mumble component

Client

OS

Windows

Additional information

No response

@JackZhangOnly JackZhangOnly changed the title LINK : fatal error LNK1104: can't open PocoFoundation.lib Build failed: LINK: fatal error LNK1104: can't open PocoFoundation.lib Feb 19, 2025
@Krzmbrzl
Copy link
Member

#6726

@Krzmbrzl Krzmbrzl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2025
@JackZhangOnly
Copy link
Author

#6726

Thank you, the problem is similar, but his issue doesn't seem to be solved.

@Krzmbrzl
Copy link
Member

Yes but there is no need to keep two identical issues open. So what I wanted to express with my comment is: let's continue any discussion about this in #6726 :)

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

No branches or pull requests

2 participants