编译运行
设置环境变量
编译运行样例前,需设置mxVison环境变量。
source {mxVison安装目录}/mxVision/set_env.sh
编译(C/C++)
执行编译,可参考软件包安装目录中“samples/C++”目录下的“CMakeLists.txt”。
运行
根据调试需求编写日志配置文件“logging.conf”,然后将插件动态库、模型文件(模型om文件和对应后处理库)、业务流配置文件打包后启动业务。

- 若程序执行出现libascendcl.so报错,请参见程序执行出现libascendcl.so报错解决。
- 若使用mxVision时,出现can not find the element factory : mxpi_xxxpostprocessor报错,请参见使用mxVision时,出现can not find the element factory : mxpi_xxxpostprocessor报错解决。
父主题: 使用流程编排方式开发