Skip to content

Commit a4d2c29

Browse files
Apply feedback -- add troubleshooting to readme
1 parent 72cdce5 commit a4d2c29

File tree

54 files changed

+918
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+918
-0
lines changed

examples/connext_dds/asynchronous_publication/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,20 @@ using CMake, please refer to the
135135
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
136136
a comprehensive `CMakeLists.txt` script with all the steps and instructions
137137
described in detail.
138+
139+
140+
## Troubleshooting
141+
142+
### Compilation fails accessing struct field
143+
144+
If the code compilation fails with errors such as "reference to non-static member
145+
function must be called" for code such as `my_sample.my_field = value` or
146+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
147+
doesn't have the IDL4 C++ mapping enabled by default.
148+
149+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
150+
Connext version you're using, e.g.
151+
152+
\```
153+
git checkout release/7.3.0
154+
\```

examples/connext_dds/asyncwaitset/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,20 @@ using CMake, please refer to the
184184
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
185185
a comprehensive `CMakeLists.txt` script with all the steps and instructions
186186
described in detail.
187+
188+
189+
## Troubleshooting
190+
191+
### Compilation fails accessing struct field
192+
193+
If the code compilation fails with errors such as "reference to non-static member
194+
function must be called" for code such as `my_sample.my_field = value` or
195+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
196+
doesn't have the IDL4 C++ mapping enabled by default.
197+
198+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
199+
Connext version you're using, e.g.
200+
201+
\```
202+
git checkout release/7.3.0
203+
\```

examples/connext_dds/batching/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,20 @@ using CMake, please refer to the
139139
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
140140
a comprehensive CMakeLists.txt script with all the steps and instructions
141141
described in detail.
142+
143+
144+
## Troubleshooting
145+
146+
### Compilation fails accessing struct field
147+
148+
If the code compilation fails with errors such as "reference to non-static member
149+
function must be called" for code such as `my_sample.my_field = value` or
150+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
151+
doesn't have the IDL4 C++ mapping enabled by default.
152+
153+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
154+
Connext version you're using, e.g.
155+
156+
\```
157+
git checkout release/7.3.0
158+
\```

examples/connext_dds/builtin_qos_profiles/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,20 @@ using CMake, please refer to the
135135
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
136136
a comprehensive `CMakeLists.txt` script with all the steps and instructions
137137
described in detail.
138+
139+
140+
## Troubleshooting
141+
142+
### Compilation fails accessing struct field
143+
144+
If the code compilation fails with errors such as "reference to non-static member
145+
function must be called" for code such as `my_sample.my_field = value` or
146+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
147+
doesn't have the IDL4 C++ mapping enabled by default.
148+
149+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
150+
Connext version you're using, e.g.
151+
152+
\```
153+
git checkout release/7.3.0
154+
\```

examples/connext_dds/builtin_topics/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,20 @@ using CMake, please refer to the
171171
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
172172
a comprehensive `CMakeLists.txt` script with all the steps and instructions
173173
described in detail.
174+
175+
176+
## Troubleshooting
177+
178+
### Compilation fails accessing struct field
179+
180+
If the code compilation fails with errors such as "reference to non-static member
181+
function must be called" for code such as `my_sample.my_field = value` or
182+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
183+
doesn't have the IDL4 C++ mapping enabled by default.
184+
185+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
186+
Connext version you're using, e.g.
187+
188+
\```
189+
git checkout release/7.3.0
190+
\```

examples/connext_dds/coherent_presentation/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,20 @@ using CMake, please refer to the
135135
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
136136
a comprehensive `CMakeLists.txt` script with all the steps and instructions
137137
described in detail.
138+
139+
140+
## Troubleshooting
141+
142+
### Compilation fails accessing struct field
143+
144+
If the code compilation fails with errors such as "reference to non-static member
145+
function must be called" for code such as `my_sample.my_field = value` or
146+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
147+
doesn't have the IDL4 C++ mapping enabled by default.
148+
149+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
150+
Connext version you're using, e.g.
151+
152+
\```
153+
git checkout release/7.3.0
154+
\```

examples/connext_dds/compression/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,20 @@ using CMake, please refer to the
143143
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
144144
a comprehensive `CMakeLists.txt` script with all the steps and instructions
145145
described in detail.
146+
147+
148+
## Troubleshooting
149+
150+
### Compilation fails accessing struct field
151+
152+
If the code compilation fails with errors such as "reference to non-static member
153+
function must be called" for code such as `my_sample.my_field = value` or
154+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
155+
doesn't have the IDL4 C++ mapping enabled by default.
156+
157+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
158+
Connext version you're using, e.g.
159+
160+
\```
161+
git checkout release/7.3.0
162+
\```

examples/connext_dds/content_filtered_topic/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,20 @@ using CMake, please refer to the
138138
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
139139
a comprehensive `CMakeLists.txt` script with all the steps and instructions
140140
described in detail.
141+
142+
143+
## Troubleshooting
144+
145+
### Compilation fails accessing struct field
146+
147+
If the code compilation fails with errors such as "reference to non-static member
148+
function must be called" for code such as `my_sample.my_field = value` or
149+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
150+
doesn't have the IDL4 C++ mapping enabled by default.
151+
152+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
153+
Connext version you're using, e.g.
154+
155+
\```
156+
git checkout release/7.3.0
157+
\```

examples/connext_dds/content_filtered_topic_string_filter/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,20 @@ using CMake, please refer to the
138138
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
139139
a comprehensive `CMakeLists.txt` script with all the steps and instructions
140140
described in detail.
141+
142+
143+
## Troubleshooting
144+
145+
### Compilation fails accessing struct field
146+
147+
If the code compilation fails with errors such as "reference to non-static member
148+
function must be called" for code such as `my_sample.my_field = value` or
149+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
150+
doesn't have the IDL4 C++ mapping enabled by default.
151+
152+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
153+
Connext version you're using, e.g.
154+
155+
\```
156+
git checkout release/7.3.0
157+
\```

examples/connext_dds/custom_content_filter/c++11/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,20 @@ using CMake, please refer to the
135135
[hello_world](../../../connext_dds/build_systems/cmake/) example, which includes
136136
a comprehensive `CMakeLists.txt` script with all the steps and instructions
137137
described in detail.
138+
139+
140+
## Troubleshooting
141+
142+
### Compilation fails accessing struct field
143+
144+
If the code compilation fails with errors such as "reference to non-static member
145+
function must be called" for code such as `my_sample.my_field = value` or
146+
`value = my_sample.my_field` this means that the rtiddsgen version you are using
147+
doesn't have the IDL4 C++ mapping enabled by default.
148+
149+
To fix it, upgrade your Connext version to 7.6+ or check out the branch for the
150+
Connext version you're using, e.g.
151+
152+
\```
153+
git checkout release/7.3.0
154+
\```

0 commit comments

Comments
 (0)