在Visual Studio中安装Python Poppler时的CMAKE错误

发布于 2025-02-07 12:56:12 字数 409 浏览 0 评论 0原文

应该是一个快速的问题,但尚未找到一个很好的解决方案。 一直在尝试安装Python Poppler,并且以下错误不断出现。 我在Visual Studio中使用了PIP方法。我可以通过Pip Fine下载CMAKE而不会出错,并且脚本位置已添加到路径中。 我还从网站下载了Cmake,并为用户和系统路径添加了bin文件,也无用。 这些问题都没有解决这个问题。

cmakelists.txt上的cmake错误:2(项目): 发电机

NMake Makefiles

不支持平台规范,但

x64

已指定平台。

cmake错误:cmake_c_compiler未设置,启用语言之后 cmake错误:cmake_cxx_compiler未设置,启用语言之后

Should be a quick question but haven't found a good solution as of yet.
Have been trying to install Python Poppler and the following error keeps appearing.
I have used PIP method in visual studio. I can download CMake via PIP fine without errors and the script location has been added to path.
I have also downloaded CMake from the website and added the bin file to path as well for both user and system paths to no avail.
None of the things have fixed the issue.

CMake Error at CMakeLists.txt:2 (project):
Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文