Closed itfanr closed 5 years ago
The ospl tool is only required for the shared-memory deployment mode which is part of the commercial edition of opensplice only. In the open source version only the ‘single-process’ deployment mode is supported. Take a look at http://download.prismtech.com/docs/Vortex/html/ospl/EvaluationGuide/architectural.html for more information on the differences between these deployment modes. You can download a free trial version of the commercial version here: http://ist.adlinktech.com/vortex/software-downloads
From: itfanr notifications@github.com Reply-To: ADLINK-IST/opensplice reply@reply.github.com Date: Friday, 12 October 2018 at 11:34 To: ADLINK-IST/opensplice opensplice@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [ADLINK-IST/opensplice] no ospl generated (#67)
Hello everyone,
I builded all the codes, but there are no ospl generated. I want to ospl start to start the DDS server. itfanr@itfanr-pc:bin$ pwd /home/itfanr/repo_git/github.com/ADLINK-IST/opensplice/install/HDE/x86_64.linux/bin itfanr@itfanr-pc:bin$ ls cppgen dbd demo_ishapes idlpp mmstat osplconf shmdump itfanr@itfanr-pc:bin$ cd /home/itfanr/repo_git/github.com/ADLINK-IST/opensplice/bin/ itfanr@itfanr-pc:bin$ ls addr2line.pl osplconf process_build_logs.pl checkconf ospl_normalizePath protoc-gen-ddscpp clean_tree ospl_su protoc-gen-ddsjava common ospl_wincpp sppodl configure_functions ospl_wincsc valgrind_cmds magic_make.pl ospl_winlib — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@kortstee I tried to start sacpp_helloworld_pub only, but failed because of no handle.
It is because I didnot set the environment. And I finally succeeded following the document:
Running the examples in a Posix environment
Environment Setup
Let's call OpenSplice_install_dir the OpenSplice installation directory.
The OpenSplice environment variables must be set in order for the examples to build/run correctly. To do this, open a terminal and source the "OpenSplice_install_dir/release.com" script supplied with the distribution.
itfanr@itfanr-pc:opensplice$ cd -
/home/itfanr/repo_git/github.com/ADLINK-IST/opensplice/install
itfanr@itfanr-pc:install$ ls
auto-ospl-home INSTALL.txt makefile make_ste_mirror
bin make_all make_functions package.ins
DEMOS make_builder make_hde_mirror RTS
HDE make_demos_mirror make_rts_mirror VC
itfanr@itfanr-pc:install$ cd HDE/
itfanr@itfanr-pc:HDE$ ls
x86_64.linux x86_64.linux-dev
itfanr@itfanr-pc:HDE$ cd x86_64.linux
itfanr@itfanr-pc:x86_64.linux$ ls
bin demos etc include jar release.com
custom_lib docs examples index.html lib src
itfanr@itfanr-pc:x86_64.linux$
itfanr@itfanr-pc:x86_64.linux$ ls
bin demos etc include jar release.com
custom_lib docs examples index.html lib src
itfanr@itfanr-pc:x86_64.linux$ pwd
/home/itfanr/repo_git/github.com/ADLINK-IST/opensplice/install/HDE/x86_64.linux
itfanr@itfanr-pc:x86_64.linux$ source release.com
<<< Vortex OpenSplice HDE Release 6.7.180404OSS For x86_64.linux, Date 2018-10-12 >>>
\itfanr@itfanr-pc:x86_64.linux$ cd
bin/ demos/ etc/ include/ lib/
custom_lib/ docs/ examples/ jar/ src/
itfanr@itfanr-pc:x86_64.linux$ cd examples/dcps/
BuiltInTopics/ Listener/ RoundTrip/
ContentFilteredTopic/ Ownership/ Throughput/
HelloWorld/ PingPong/ Tutorial/
Lifecycle/ QueryCondition/ WaitSet/
itfanr@itfanr-pc:x86_64.linux$ cd examples/dcps/
BuiltInTopics/ Listener/ RoundTrip/
ContentFilteredTopic/ Ownership/ Throughput/
HelloWorld/ PingPong/ Tutorial/
Lifecycle/ QueryCondition/ WaitSet/
itfanr@itfanr-pc:x86_64.linux$ cd examples/dcps/HelloWorld/
itfanr@itfanr-pc:HelloWorld$ ls
c cpp idl isocpp isocpp2 java java5 Makefile README.html
itfanr@itfanr-pc:HelloWorld$ cd cpp/standalone/
itfanr@itfanr-pc:standalone$ ./sacpp_helloworld_pub
=== [Publisher] writing a message containing :
userID : 1
Message : "Hello World"
itfanr@itfanr-pc:standalone$ ./sacpp_helloworld_sub
=== [Subscriber] Ready ...
=== [Subscriber] message received :
userID : 1
Message : "Hello World"
Hello everyone,
I builded all the codes, but there are no ospl generated. I want to ospl start to start the DDS server.
And the example is OK: