Skip to content

Instantly share code, notes, and snippets.

@doevelopper
Last active November 26, 2018 20:15
Show Gist options
  • Save doevelopper/da89c83e3e63fa3c774e4463b6095090 to your computer and use it in GitHub Desktop.
Save doevelopper/da89c83e3e63fa3c774e4463b6095090 to your computer and use it in GitHub Desktop.

Differnet necessary dependencies

>$ sudo apt-get install bison flex gsoap build-essential gawk libgcrypt20-dev libcrypto++-dev
>$ sudo apt-get install python-wheel cython cython3 python3-wheel
>$ sudo apt-get install mesa-common-dev libglu1-mesa-dev libpcap-dev libglib2.0-dev libssl1.0-dev
>$ sudo apt-get install libcgsi-gsoap-dev libgnutls28-dev libcurl4-gnutls-dev libgnutls-openssl27
>$ sudo apt-get install libssh2-1-dev python-libssh2 xsltproc asciidoctor ruby-asciidoctor-plantuml [xmlto]
>$ sudo apt-get install libxml2-dev libxml2-utils python3-setuptools python-setuptools

OpenDDS Dependencies

>$ wget http://www-us.apache.org/dist//xerces/c/3/sources/xerces-c-3.2.1.tar.gz
>$ tar -xvzf xerces-c-3.2.1.tar.gz
>$ cd xerces-c-3.2.1/
>$ ./configure --prefix=/opt/dds --enable-static --enable-shared --enable-netaccessor-socket \
    --enable-transcoder-gnuiconv --enable-transcoder-iconv --enable-msgloader-inmemory \
    --enable-xmlch-uint16_t --enable-xmlch-char16_t

QT Dependencies for Shape demo

>$ sudo apt-get install libfontconfig
>$ sudo apt-get install mesa-common-dev
>$ wget http://download.qt.io/official_releases/qt/5.11/5.11.2/qt-opensource-linux-x64-5.11.2.run
>$ chmod +x qt-opensource-linux-x64-5.7.0.run 
>$ ./qt-opensource-linux-x64-5.11.2.run --help
>$ sudo ./qt-opensource-linux-x64-5.11.2.run   # Cull be ran as is using MobaXterm remote shell.
            Popup installer is shown ;)
>$ export CMAKE_PREFIX_PATH=/opt/Qt5.11.2/5.11.2/gcc_64:$CMAKE_PREFIX_PATH
>$ export QTDIR=/opt/Qt5.11.2/5.11.2/gcc_64

Dissector dependencies...

>$ git clone --recurse-submodules --depth=1 https://code.wireshark.org/review/p/wireshark.git
>$ cmake -E make_directory build
>$ cmake -E chdir build cmake -DCMAKE_INSTALL_PREFIX=/opt/dds ..
>$ cmake --build build --target install

google protocol buffer

>$ git clone  --recurse-submodules --depth 1 https://github.com/protocolbuffers/protobuf.git
>$ ./autogen.sh
>$ ./configure --prefix=/opt/dds

Bulding Eproxima DDS

>$ git clone --recurse-submodules --depth 1 https://github.com/eProsima/Fast-RTPS.git
>$ cd Fast-RTPS
>$ cmake -E make_directory build
>$ cmake -E chdir build cmake -DCMAKE_INSTALL_PREFIX=/opt/dds/eProsima -DTHIRDPARTY=ON ..
>$ cmake --build build --target install

Bulding OpensSplice Vortex DDS

Cmake based (OSRF)

>$ git clone https://github.com/osrf/opensplice.git
>$ cd opensplice
>$ cmake -E make_directory building
>$ cmake -E chdir building cmake -DCMAKE_INSTALL_PREFIX=/home/happyman/dds_install/osrf_opensplice ..
>$ cmake --build building --target install

From scratch

>$ git clone  --depth 1 https://github.com/ADLINK-IST/opensplice.git vortex-opensplice
>$ cd vortex-opensplice
>$ ./configure x86_64.linux-release --prefix=/opt/dds/vortex
>$  source envs-x86_64.linux-dev.sh
>$  make

Necessary will be available in
1. Vortex/OpenSplice/src/dir>/install/HDE/x86_64.linux/ (All components for the Host Development Hnvironment)
2. Vortex/OpenSplice/src/dir>/install/RTS/x86_64.linux/ (All components for the Runtime System)
3. Vortex/OpenSplice/src/dir>/install/VC/x86_64.linux/  (Virtual Carriers with installation support)

Building Opendds 3.13

Without JAVA suport

>$ ./configure --prefix=/opt/dds/opendds \
     -std=c++11 --static --ipv6 --rapidjson --glib --openssl --security --qt \
     --no-tests --boost --xerces3=/usr/local

With JAVA suport (Remove --static)

>$ ./configure --prefix=/opt/dds/opendds -std=c++11 --verbose  \
    --ipv6 --rapidjson --no-tests --boost --xerces3=/usr/local \
    --wireshark=/usr/local --java  --glib -qt [--safety-profile]

With WireSharck (cmake build) and java

>$ ./configure --prefix=/opt/dds/opendds -std=c++11 --verbose  \
    --ipv6 --rapidjson --java  --glib -qt \
    --no-tests --boost --xerces3=/opt/dds \ 
    --wireshark_build=<wireshark-master/build>  \ 
    --wireshark_lib=<wireshark-master/build>

>$ make && make install
>$ cp -a <OpenDDS_DIR>/ACE_wrappers/MPC /usr/local/share/ace/MPC

Building objectcomputing's JEnkins CI way

>$ ./configure -v --java --qt --xerces3 --wireshark --glib --rapidjson --security

Building OpenSplice With SLICE_ORB

>$ cd <opensplice dir>
>$ source <OpendDD-DIR>/setenv.sh

-----------si issue

$ tao_idl -u 2>&1 | grep si

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment