在Windows上编译Python的Open Kinect驱动程序时出现问题

Ivo*_*pse 9 python kinect

我正在尝试在Windows上 编译Python的Open Kinect驱动程序我用CMake(链接)创建了一个Make文件,并尝试用VC++ Express编译它.

除了Python包装器之外,所有内容似乎都可以正常编译(查看器示例正常工作).我更改了freenect的输出文件夹,它将freenect.lib放在另一个文件夹中以防止发生冲突.当我改变它并尝试编译cython_freenect时,我得到:

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: freenect, Configuration: Release Win32 ------
2>     Creating library C:/IvoPython/Kinect/Driver/lib/Release/freenect.lib and object C:/IvoPython/Kinect/Driver/lib/Release/freenect.exp
2>  freenect.vcxproj -> C:\IvoPython\Kinect\Driver\Release\freenect.dll
3>------ Build started: Project: freenect_sync, Configuration: Release Win32 ------
3>     Creating library C:/IvoPython/Kinect/Driver/lib/Release/freenect_sync.lib and object C:/IvoPython/Kinect/Driver/lib/Release/freenect_sync.exp
3>  freenect_sync.vcxproj -> C:\IvoPython\Kinect\Driver\Release\freenect_sync.dll
4>------ Build started: Project: cython_freenect, Configuration: Release Win32 ------
4>LINK : fatal error LNK1149: output filename matches input filename 'C:\IvoPython\Kinect\Driver\lib\Release\freenect.lib'
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Run Code Online (Sandbox Code Playgroud)

奇怪的是它无法找到库,因为它只是创建了它并且我手动将它链接到库.

在此输入图像描述

关于我做错了什么的任何建议?据我所知,我遵循了Python Wrapper for Windows指南中的所有步骤.

roc*_*ker 2

不知何故,链接器得到了错误的参数:输出文件与输入文件之一匹配。C:/IvoPython/Kinnect/Driver 是您下载的现有路径吗?

您应该尝试选择 Kinnect 之外的构建目标,也许是 C:/IvoPython/build