readme

来自「C++高级编程这本书所附的源代码」· 代码 · 共 27 行

TXT
27
字号
This CORBA example depends on the omniORB-4.0.4 framework, available fordownload at htpp://omniorb.sourceforge.net/. It was tested only on Linux.To build the example:1. Install the omniORB framework. Let $OMNIROOT denote the root directory ofthe omniORB installation.2. Compile the idl file:>$OMNIROOT/build/bin/omniidl -bcxx database.idl3. Add the appropriate paths to LD_LIBRARY_PATH and PATH:bourne-shell-like commands:>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OMNIROOT/build/lib>export PATH=$PATH:$OMNIROOT/build/bin4. Build the server:g++ -o dbsrv -I. -I$OMNIROOT/include/ -I$OMNIROOT/build/include/ -D__linux__ -D__x86__ -D__OSVERSION=2__ -D__cplusplus__ -L$OMNIROOT/build/lib/ -lomniORB4 -lomniDynamic4 DatabaseServer.cpp databaseSK.cc5. Build the client:g++ -o dbclnt -I. -I$OMNIROOT/include/ -I$OMNIROOT/build/include/ -D__linux__ -D__x86__ -D__OSVERSION=2__ -D__cplusplus__ -L$OMNIROOT/build/lib/ -lomniORB4 -lomniDynamic4 DatabaseClient.cpp databaseSK.cc

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?