我正在尝试编译the Open Kinect drivers for Python on WindowsI made a Make file with CMake (link),并尝试用VC++Express编译它。在
除了Python包装器外,其他一切都可以编译。我更改了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 ==========
奇怪的是它找不到库,因为它只是创建了它,我手动将它链接到库。在
对我做错了什么有什么建议吗?据我所知,我遵循了Python Wrapper for Windows guide中的所有步骤。在
不知怎么的,链接器得到了一个错误的参数:输出文件匹配一个输入文件。 C:/IvoPython/Kinnect/Driver是否是您下载的现有路径?在
您应该尝试在Kinnect之外选择一个构建目标,可能是C:/IvoPython/build
相关问题 更多 >
编程相关推荐