欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Install ACE/TAO on Debian
来自开放百科 - 灰狐
(版本间的差异)
第63行: | 第63行: | ||
Consumer (5654|1082727520): 1900 events received | Consumer (5654|1082727520): 1900 events received | ||
Consumer (5654|1082727520): 2000 events received | Consumer (5654|1082727520): 2000 events received | ||
+ | |||
+ | 相关 [[Install ACE/TAO on Ubuntu]] |
2006年8月24日 (四) 15:11的版本
ACE-5.5+TAO-1.5+CIAO-0.5.tar.gz, 环境 Debian 3.1
从 http://download.huihoo.com/middleware/ace-tao/ 获得 tar zxvf ACE-5.5+TAO-1.5+CIAO-0.5.tar.gz cd ACE_wrappers export ACE_ROOT=/home/huihoo/c-c++/ACE_wrappers bin/create_ace_build linux
You should consider using clone_build_tree.pl found with MPC
cd build/linux/bin
export ACE_ROOT=/home/huihoo/c-c++/ACE_wrappers touch $ACE_ROOT/ace/config.h add #include "ace/config-linux.h" touch $ACE_ROOT/include/makeinclude/platform_macros.GNU add include /home/huihoo/c-c++/ACE_wrappers/include/makeinclude/platform_linux.GNU export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH cd /ace/ make
create libACE.so.5.5.0, libACE.so in /lib
cd examples/Threads make ./task_one
//build tao
export TAO_ROOT=/home/huihoo/c-c++/ACE_wrappers/TAO cd TAO touch macros.GNU add include $(TAO_ROOT)/rules.tao.GNU make OK :)
测试命名服务、事件服务
加入多播路由支持
/sbin/route add -net 224.0.0.0 netmask 224.0.0.0 dev eth0
在$TAO_ROOT/orbsvcs/Naming_Service下,
Naming_Service -m 1 -ORBDottedDecimalAddresses 1 -ORBEndpoint iiop://192.168.1.6:2809
$TAO_ROOT/orbsvcs/examples/RtEC/Simple$ ./Service $TAO_ROOT/orbsvcs/examples/RtEC/Simple$ ./Supplier $TAO_ROOT/orbsvcs/examples/RtEC/Simple$ ./Consumer Consumer (5654|1082727520): 100 events received Consumer (5654|1082727520): 200 events received Consumer (5654|1082727520): 300 events received Consumer (5654|1082727520): 400 events received Consumer (5654|1082727520): 500 events received Consumer (5654|1082727520): 600 events received Consumer (5654|1082727520): 700 events received Consumer (5654|1082727520): 800 events received Consumer (5654|1082727520): 900 events received Consumer (5654|1082727520): 1000 events received Consumer (5654|1082727520): 1100 events received Consumer (5654|1082727520): 1200 events received Consumer (5654|1082727520): 1300 events received Consumer (5654|1082727520): 1400 events received Consumer (5654|1082727520): 1500 events received Consumer (5654|1082727520): 1600 events received Consumer (5654|1082727520): 1700 events received Consumer (5654|1082727520): 1800 events received Consumer (5654|1082727520): 1900 events received Consumer (5654|1082727520): 2000 events received
分享您的观点