您的位置:首页 > 运维架构 > Linux

一款Linux下状态机建模与代码生成工具FSME/FSMC

2010-10-09 17:50 645 查看
1 工具详细介绍参见:

http://fsme.sourceforge.net/

2 安装步骤参见:

http://fsme.sourceforge.net/doc/install.html



3 安装过程实践说明:

(1) 执行make之前要先用qmake生成Makefile:

$ qmake -o Makefile fsme.pro

(2) $ make

编译出错解决:

“Package cairo was not found”,安装libcairomm-1.0-dev;

”‘getenv’ was not declared in this scope“,在/ui/main.cpp中添加头文件“#include <stdlib.h>“;

"error: ‘strtol’ was not declared in this scope",在/ui/syntax/scanner.cpp中添加头文件“#include <stdlib.h>“;

(3)除了安装fsme,还要按照同样步骤安装fsmc,用来将建模结果生成C++或Python代码;

4 使用方法参见:

http://www.uml.org.cn/umlcode/200706264.asp
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐