在VS 2015中构建64位Leap运动控制Python包装器 [英] building 64bit Leap motion control Python wrapper in VS 2015

查看:77
本文介绍了在VS 2015中构建64位Leap运动控制Python包装器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

开发人员告诉我,我试图在3D软件Houdini中运行Leap Motion控制器,但是在Houdini中没有加载jump模块. 在VS 2015中构建64位Leap运动控制Python包装器

``Houdini的Python是使用Visual Studio 2015构建的,因此它可能无法导入/运行LeapPython.pyd模块.

您唯一的选择是使用Visual Studio 2015内置的LeapPython.pyd模块.希望Leap Motion可以从源代码构建模块.''

我需要该模块的64位版本,因为Houdini会在其控制台中打印出以下内容:

'Python 2.7.5(默认,2013年10月24日,17:49:49)Win32上的MSC v.1700 64位(AMD64)'

Leap开发人员告诉我,应该遵循以下示例,以便在Windows上构建模块的64位版本:

https://support.leapmotion.com/hc/zh-CN/articles/223784048

到达步骤5时遇到问题:

'转到C/C ++->常规属性页面.添加包含Python.h的路径,通常为C:\ Python33 \ include. (截图)'

c/c ++目录不存在??? ::请参见所附图像

 

I'm trying to run a Leap Motion Controller inside of Houdini a 3D software, but the leap module does not load in Houdini, i was told by a developer that:
building 64bit Leap motion control Python wrapper in VS 2015

''Houdini's Python is built with Visual Studio 2015 and so it probably can't import/run the LeapPython.pyd module.

Your only option is to use a LeapPython.pyd module that is built with Visual Studio 2015. Hopefully Leap Motion has a way to build the module from source.''

I require a 64bit version of the module as Houdini prints out the following in its console:

'Python 2.7.5 (default, Oct 24 2013, 17:49:49) MSC v.1700 64 bit (AMD64) on win32'

I was told by Leap developers that I should follow the following example in order to build a 64bit version of the module on windows:

https://support.leapmotion.com/hc/en-us/articles/223784048

I ran into a problem when i reached step 5:

'Go to to the C/C++ -> General property page. Add the path containing Python.h, typically C:\Python33\include. (screenshot)'

the c/c++ directory doesn't exist???:see attached image

推荐答案

https://www.sidefx.com/forum/topic/47638/?page = 1#post-214276

https://www.sidefx.com/forum/topic/47638/?page=1#post-214276

附件图像可以在此链接的底部

the attached image can be see in this link at the bottom 


这篇关于在VS 2015中构建64位Leap运动控制Python包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆