Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Jetson AGX Orin Jetpack6.2 include/gmock/gmock-matchers.h:3165:49: error: ‘IndexSequenceFor’ was not declared in this scope; did you mean ‘IndexSequence’?

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

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.

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) {

Dominant language
C++
Stars
515
Forks
57
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA-ISAAC-ROS/isaac_ros_pose_estimation

All issues in NVIDIA-ISAAC-ROS/isaac_ros_pose_estimation

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.