fakenect

fakenect首页(https://openkinect.org/wiki/Fakenect),在github上(https://github.com/OpenKinect/libfreenect/tree/master/fakenect)下载源码,安装。

到这里还不知道如何测试是否可用,参考:http://portal.hive13.org/docs/fakenectAndOpenframeworks.html的详细教程

下载codeblock:

```

sudo apt-get install codeblocks

``` 

下载libusb:

需要libusb-1.0.18以上,但是源里只有1.0.0的版本,所以需要从源码编译libusb:http://libusb.info/

下载openframeworks:

If you are running ubuntu on a 32-bit machine: http://www.openframeworks.cc/versions/preRelease_v0.062/of_preRelease_v0062_linux_FAT.tar.gz

If you are running ubuntu on a 64-bit machine: http://www.openframeworks.cc/versions/preRelease_v0.062/of_preRelease_v0062_linux64_FAT.tar.gz

然后执行:

```

sudo /scripts/linux/ubuntu/install_dependencies.sh

sudo /scripts/linux/ubuntu/install_codeblocks.sh

```

dependencies的时候报错:

```

../../../openFrameworks/video/ofGstUtils.cpp:23:28: fatal error: linux/videodev.h: No such file or directory

```

时间: 2024-12-28 23:28:51

fakenect的相关文章