如何在Win10上构建和安装python3-dev和python3-sip-dev?

时间:2019-05-21 12:40:58

标签: python makefile cmake pyqt5

(已安装Windows 10,安装了Visual Studio,并且我正在使用Visual Studio的python安装位置。(C:\ Program Files(x86)\ Microsoft Visual Studio \ Shared))

我一直在尝试构建ultimaker cura的libarcus库。幸运的是,vcpkg具有Cmake所需的所有依赖关系,除了python3-dev和python3-sip-dev。如果您想查看路线说明/存储库,请访问:https://github.com/Ultimaker/libArcus

起初我以为pip3 install sip可以正常工作,但它只安装了一个python文件(sip.pyd)和发行说明(sip-4.19.8.dist-info文件)。我认为我需要源代码,或者至少需要整个发行文件夹。在debian,ubuntu或linux上安装了sip的任何人都可以确认这些平台上还有更多吗?

这是cmake的输出,以防它可能有用,或者我丢失了一些东西。任何帮助将不胜感激。

  implicitly converting '' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:266 (_find_package):
  By not providing "FindSIP.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SIP", but
  CMake did not find one.

  Could not find a package configuration file provided by "SIP" with any of
  the following names:

    SIPConfig.cmake
    sip-config.cmake

  Add the installation prefix of "SIP" to CMAKE_PREFIX_PATH or set "SIP_DIR"
  to a directory containing one of the above files.  If "SIP" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:37 (find_package)


Configuring incomplete, errors occurred!
```See also "C:/cura-git/deps/libarcus-build/CMakeFiles/CMakeOutput.log".

0 个答案:

没有答案