gpt4 book ai didi

dll - 在 Windows 上的 CLion/CMake 中,APP.exe 如何找到 lib/A.dll 以便运行?

转载 作者:行者123 更新时间:2023-12-05 06:42:25 26 4
gpt4 key购买 nike

我有一个 CLion/CMake 项目需要一个外部 DLL,A.dll,我已将其放在项目 lib/ 目录中。构建可执行文件后,当我运行 APP.exe 时,它无法找到/使​​用 lib/A.dll。我该如何解决这个问题?

最佳答案

我认为您没有将 .dll 文件添加到 cmake 文件这是 Quick CMake TutorialCLion and CMake: only building a library without an executable?

关于dll - 在 Windows 上的 CLion/CMake 中,APP.exe 如何找到 lib/A.dll 以便运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37118810/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com