Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6684634
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: C/C++

2015-07-14 09:57:09




★★★★★ linux 设置 环境变量 写入 /root/.bashrc

WF_HOME=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor

CRITERIA_HOME=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor

CM_TRACEPATH=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor

CM_ALLPATH=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor


★★★★★ set codeblock parameters:

(4)compile  Criteria.Libraries.bOS  (set codeblock parameters)

-W
-O0
-fPIC

SQLITE_OS_UNIX
WIN32
_DEBUG
_WINDOWS
_USRDLL
_USE_SQLITE3_
_CODEMANAGER_TRACE_ON_
BOS_EXPORTS
CODEMANAGER_EXPORTS

/opt/cBPM/criteria-lin/include/bOS
/opt/cBPM/criteria-lin/include/
/usr/include

Output file is ../../../bin/Criteria/Debug/bOS/libLibraries.so with size 3.20 MB

Running target post-build steps

cp /opt/cBPM/criteria-lin/bin/Criteria/Debug/bOS/libLibraries.so /usr/lib64/


(4)compile Criteria.WorkflowEngine  (set codeblock parameters)

-W
-O0
-fPIC

WIN32
_DEBUG
_WINDOWS
_USRDLL
ENGINE_EXPORTS
WAPI_EXPORTS
_CODEMANAGER_TRACE_ON_
_USE_SQLITE3_
BOS_EXPORTS

Libraries

/opt/cBPM/criteria-lin/include/WorkflowEngine
/opt/cBPM/criteria-lin/include/bOS
/opt/cBPM/criteria-lin/include/
/usr/include

Output file is ../../../bin/Criteria/Debug/WorkflowEngine/libWorkflowEngineD.so with size 7.63 MB

Running target post-build steps
cp /opt/cBPM/criteria-lin/bin/Criteria/Debug/WorkflowEngine/libWorkflowEngineD.so /usr/lib64/


(4)compile  Criteria.Tools.Executor  (set codeblock parameters)

-W
-O0

WIN32
_DEBUG
_CONSOLE
_CODEMANAGER_TRACE_ON_
BOS_EXPORTS
ENGINE_EXPORTS

Libraries
WorkflowEngineD
xerces-c-3.1
mysqlclient

/opt/cBPM/criteria-lin/include/bOS
/opt/cBPM/criteria-lin/include/WorkflowEngine
/opt/cBPM/criteria-lin/include/
/usr/include

/usr/lib64/
/usr/lib64/mysql/



★★★★★to solve the problem( return value of getenv   is   NULL )

Starting codeblocks from /root and commandline as    /usr/local/bin/codeblocks




阅读(918) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~