rticommunity / rticommunity/rticonnextdds-examples
[BUG] Missing find_pacakge(RTIConnextDDS call in dynamic_data_access_union_discriminator/c++11 example
Open
Nobody has claimed this yet.
bug
unconfirmed
- Dominant language
- Python
- Stars
- 148
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
System information
- RTI Product:
- Version:
- Operating system:
- Compiler:
- Compiler version:
- Additional information:
What is the current behavior?
The find_package call is missing in the C, C++98 and C++11 examples.
Steps to reproduce the issue
Build any of the examples.
Expected behavior
Adding the following after the connextdds_configure_cmake_utils() function call should fix the problem:
if(NOT RTIConnextDDS_FOUND)
find_package(RTIConnextDDS
"7.0.0"
REQUIRED
COMPONENTS
core
)
endif()
Suggested solutions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the C, C++98, and C++11 examples and inspect where connextdds_configure_cmake_utils() is called. Build an affected example to reproduce the missing dependency lookup, then verify that the RTIConnextDDS package is found successfully in all three example groups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100