Skip to content

cyclonedds extended types for python, cxx and c implementations

Notifications You must be signed in to change notification settings

reicheratwork/cyclonedds-xtypes-testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using container in docker hub:
capgeminigit/nearshorespain_repo:cyclonedds-python_issue_105_v2

cyclonedds version:
git clone https://github.com/eclipse-cyclonedds/cyclonedds.git --branch 0.10.2


---------------------------------------------------
---------------  Python XTypes Testing: --------------- 

cyclonedds-python version:
git clone https://github.com/eclipse-cyclonedds/cyclonedds-python.git -b 0.10.2

IDLC Generation for python:
/usr/local/lib/cyclonedds/bin/idlc -l py -Wno-implicit-extensibility -o ${WORK_PATH} ${WORK_PATH}/$IDL_FILE
    Example:
            cd <path_folder_test>
            /usr/local/lib/cyclonedds/bin/idlc -l py -Wno-implicit-extensibility -o `pwd` `pwd`/test.idl

------------------------------------------

--------------- CPP XTypes Testing: -------------------------

23-nov-22 After the error reported the day before and recommendations cyclonedds-cxx github's team:
    reicheratwork : Fixed this new issue, and also rebased the commits onto the current master, as this is required to have CycloneDDS-CXX compile with the current master of CycloneDDS-C

    cyclonedds (C version) downloaded and installed version current master (23-nov-22)
    git clone [email protected]:eclipse-cyclonedds/cyclonedds.git
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local/lib/cyclonedds -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Debug -DENABLE_TOPIC_DISCOVERY=ON -DENABLE_TYPE_DISCOVERY=ON ..

    cyclonedds-cxx (CPP version) downloaded and installed version current master (23-nov-22)
    git clone https://github.com/eclipse-cyclonedds/cyclonedds-cxx.git
    Same compilation and Instalation that 22-nov-22 version (see below)

22-nov-22 (Found problem reported to cyclonedds-cxx github's team)
cyclonedds-cxx version (fork reicheratwork branch fix_issue_329, downloaded 22-nov-22)
git clone [email protected]:reicheratwork/cyclonedds-cxx.git -b fix_issue_329

Issue 329 raised by me (6-oct-22):
Title: xtypes is not working in our environment
eclipse-cyclonedds/cyclonedds-cxx#329

cyclonedds-cxx compilation:

cmake   -DCMAKE_INSTALL_PREFIX=/usr/local/lib/cyclonedds-cxx \
            -DCMAKE_PREFIX_PATH=/usr/local/lib/cyclonedds \
            -DBUILD_EXAMPLES=ON \
            -DCMAKE_BUILD_TYPE=Debug \
            -DENABLE_TOPIC_DISCOVERY=ON \
            -DENABLE_TYPE_DISCOVERY=ON \
            ..

//compilation
cmake --build .
//Instalation
cmake --build . --target install

#Examples XTypes CXX compilation 

GitHub project in my repository created to house all the developed tests related with XTypes in cyclonedds for the three implementations
considered (C, CXX and Python)

https://github.com/javiersorianoruiz/cyclonedds-xtypes-testing
git clone [email protected]:javiersorianoruiz/cyclonedds-xtypes-testing.git
cd /app/cyclonedds-xtypes-testing/cpp/build
rm -rf *
rm -rf ../appendable/build/*
rm -rf ../appendable/pub_sub1/build/*
rm -rf ../appendable/pub_sub2/build/*
cmake ..
make

#needed for isolated compilation in a inner folder:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/cyclonedds-cxx/lib/

About

cyclonedds extended types for python, cxx and c implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 41.2%
  • C++ 38.5%
  • CMake 11.8%
  • Dockerfile 8.5%