Skip to content

LINK : fatal error LNK1104: cant open file “PocoFoundationmtd.lib” #4934

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

Open
oneanime opened this issue Apr 12, 2025 · 0 comments
Open

Comments

@oneanime
Copy link

I installed Poco using vcpkg and configured my CMakeLists.txt as follows:

if(MSVC)
    set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()

This configuration causes issues on Windows, although it runs fine on macOS. Due to certain requirements, I need to keep the above configuration. How can I resolve the errors with Poco on Windows?

D:\kits\vcpkg\installed\x64-windows\debug\lib\pcre2-8d.lib D:\kits\vcpkg\installed\x64-windows\debug\lib\zlibd.lib D:\kits\vcpkg\installed\x64-windows\debug\lib\utf8proc.lib D:\kits\vcpkg\installed\x64-windows\debug\lib\drogon.lib rpcrt4.lib crypt32.lib D:\kits\vcpkg\installed\x64-windows\debug\lib\trantor.lib iphlpapi.lib advapi32.lib ws2_32.lib D:\kits\vcpkg\installed\x64-windows\debug\lib\jsoncpp.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:src\CMakeFiles\physx_server.dir/intermediate.manifest src\CMakeFiles\physx_server.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cant open file “PocoFoundationmtd.lib”

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

1 participant