NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_pose_estimation
Jetson AGX Orin Jetpack6.2 include/gmock/gmock-matchers.h:3165:49: error: ‘IndexSequenceFor’ was not declared in this scope; did you mean ‘IndexSequence’?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 501
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
my system is ROS2 humble ,platform is Jetson AGX Orin
while colcon build isaac_ros_pose_estimation package ,find some errors as follows:
/code/3rd/src/isaac_ros_pose_estimation$ colcon build
Starting >>> gxf_isaac_centerpose
Starting >>> gxf_isaac_dope
Starting >>> gxf_isaac_foundationpose
Starting >>> isaac_ros_pose_proc
[Processing: gxf_isaac_centerpose, gxf_isaac_dope, gxf_isaac_foundationpose, isaac_ros_pose_proc]
Finished <<< gxf_isaac_dope [38.8s]
Starting >>> isaac_ros_dope
Finished <<< gxf_isaac_centerpose [49.2s]
Starting >>> isaac_ros_centerpose
Finished <<< gxf_isaac_foundationpose [1min 3s]
Starting >>> isaac_ros_foundationpose
[Processing: isaac_ros_centerpose, isaac_ros_dope, isaac_ros_foundationpose, isaac_ros_pose_proc]
[Processing: isaac_ros_centerpose, isaac_ros_dope, isaac_ros_foundationpose, isaac_ros_pose_proc]
Finished <<< isaac_ros_dope [1min 29s]
[Processing: isaac_ros_centerpose, isaac_ros_foundationpose, isaac_ros_pose_proc]
Finished <<< isaac_ros_pose_proc [3min 3s]
--- stderr: isaac_ros_centerpose
In file included from /usr/src/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
from /usr/src/googletest/googlemock/include/gmock/gmock-function-mocker.h:42,
from /usr/src/googletest/googlemock/include/gmock/gmock.h:61,
from /media/yong/46f38944-a02a-4875-ab52-6da0d895edcf/code/3rd/src/isaac_ros_pose_estimation-main/isaac_ros_centerpose/test/centerpose_decoder_node_test.cpp:18:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In member function ‘testing::internal::FieldsAreMatcher::operator testing::Matcher() const’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:3165:49: error: ‘IndexSequenceFor’ was not declared in this scope; did you mean ‘IndexSequence’?
3165 | new FieldsAreMatcherImpl<const Struct&, IndexSequenceFor<Inner...>>(
| ^~~~~~~~~~~~~~~~
| IndexSequence
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:3165:71: error: expected parameter pack before ‘...’
3165 | new FieldsAreMatcherImpl<const Struct&, IndexSequenceFor<Inner...>>(
| ^~~
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:3165:71: error: template argument 2 is invalid
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4291:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4291 | const internal::StringLike& str) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4291:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4291 | const internal::StringLike& str) {
| ^
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In function ‘testing::PolymorphicMatcher<testing::internal::StrEqualityMatcher<std::__cxx11::basic_string > > testing::StrEq(int)’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4293:61: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4293 | internal::StrEqualityMatcherstd::string(std::string(str), true, true));
| ^~~
| std
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4299:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4299 | const internal::StringLike& str) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4299:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4299 | const internal::StringLike& str) {
| ^
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In function ‘testing::PolymorphicMatcher<testing::internal::StrEqualityMatcher<std::__cxx11::basic_string > > testing::StrNe(int)’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4301:61: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4301 | internal::StrEqualityMatcherstd::string(std::string(str), false, true));
| ^~~
| std
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4307:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4307 | const internal::StringLike& str) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4307:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4307 | const internal::StringLike& str) {
| ^
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In function ‘testing::PolymorphicMatcher<testing::internal::StrEqualityMatcher<std::__cxx11::basic_string > > testing::StrCaseEq(int)’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4309:61: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4309 | internal::StrEqualityMatcherstd::string(std::string(str), true, false));
| ^~~
| std
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4315:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4315 | const internal::StringLike& str) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4315:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4315 | const internal::StringLike& str) {
| ^
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In function ‘testing::PolymorphicMatcher<testing::internal::StrEqualityMatcher<std::__cxx11::basic_string > > testing::StrCaseNe(int)’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4317:19: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4317 | std::string(str), false, false));
| ^~~
| std
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4324:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4324 | const internal::StringLike& substring) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4324:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4324 | const internal::StringLike& substring) {
| ^
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: In function ‘testing::PolymorphicMatcher<testing::internal::HasSubstrMatcher<std::__cxx11::basic_string > > testing::HasSubstr(int)’:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4326:59: error: ‘substring’ was not declared in this scope; did you mean ‘IsSubstring’?
4326 | internal::HasSubstrMatcherstd::string(std::string(substring)));
| ^~~~~~~~~
| IsSubstring
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h: At global scope:
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4332:21: error: ‘StringLike’ in namespace ‘testing::internal’ does not name a template type; did you mean ‘Strings’?
4332 | const internal::StringLike& prefix) {
| ^~~~~~~~~~
| Strings
/usr/src/googletest/googlemock/include/gmock/gmock-matchers.h:4332:31: error: expected ‘,’ or ‘...’ before ‘<’ token
4332 | const internal::StringLike& prefix) {
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
Reproduce the colcon build for isaac_ros_pose_estimation on ROS2 Humble with Jetson AGX Orin and JetPack 6.2, starting with isaac_ros_centerpose/test/centerpose_decoder_node_test.cpp. Inspect the reported /usr/src/googletest/googlemock/include/gmock headers and confirm the package builds without the listed compilation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100