1.从github上抓取源码,地址:https://github.com/vinz9/FlexCHOP
下载后解压到任意位置,如:H:WorkspaceTDFlexCHOP-master
2.然后去:https://developer.nvidia.com/gameworksdownload 下载最新的FleX库,目前最新的是1.1版本
解压到:H:WorkspaceTDFlexCHOP-master
目录结构如下:
3.拷贝H:WorkspaceTDFlexCHOP-masterflexinwin64目录下的:NvFlexDeviceRelease_x64.dll, NvFlexExtReleaseCUDA_x64.dll, NvFlexReleaseCUDA_x64.dll
到H:WorkspaceTDFlexCHOP-masterCHOPSourceRelease下,没有Release就新建一个
4.H:WorkspaceTDFlexCHOP-masterCHOPSource中打开FlexChop.sln,这是有可能遇到一大把的Error
5.设置项目属性
6.编译。