从C到Actionscript通过FLASCC

我希望从熟悉BOTH C和Actionscript的任何人那里得到一些反馈.不幸的是,我不是C编码员.

我正在使用AIRKinect框架开发Kinect应用程序.不幸的是,该框架的局限性在于缺乏任何有用的手势检测算法.

我遇到了这个用C语言构建的手势识别库.
http://www.nickgillian.com/wiki/pmwiki.php?n=GRT.FAQ

还有Flash C交叉编译器(以前称为Alchemy)
http://gaming.adobe.com/technologies/flascc/

我想知道是否有可能将此手势识别库转换为swc(Flash格式),以便我可以将它与AIRKinect一起使用?

最佳答案 这是可能的.

FlasCC uses a version of LLVM-GCC 4.2 with a custom LLVM backend that
generates ActionScript bytecode capable of running within the Flash
Runtime. More specifically, the bytecode runs in the ActionScript
virtual machine (AVM). This lets you compile arbitrary C/C++ code into
a managed bytecode format capable of high performance execution within
the Flash Runtime on Mac, Windows, or Linux

更多信息阅读FlasCC doucmentation:FlasCC

如果你想下载FlasCC.重新加入此网站(Adobe品牌重塑):https://creative.adobe.com/apps?trial=GAME&promoid=KBYQD

然后单击下载.

重定向到此网站.下载Flascc工具.

点赞