Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include missing header TLine.h #626

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

plexoos
Copy link
Member

@plexoos plexoos commented Nov 3, 2023

These errors appear when building the code against ROOT6.24

.sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:434:18: error: invalid use of incomplete type 'class TLine'
  434 |             lineB->Draw();
      |                  ^~
In file included from .sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:84:
/opt/software/linux-scientific7-x86_64/gcc-11.2.1/root-6.24.06-vianfhcgeujnnnnhm7g6hhr3tnsiwfqt/include/TPaveText.h:19:7: note: forward declaration of 'class TLine'
   19 | class TLine;
      |       ^~~~~

See #619 for details

These errors appear when building the code against ROOT6.24

```
.sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:434:18: error: invalid use of incomplete type 'class TLine'
  434 |             lineB->Draw();
      |                  ^~
In file included from .sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:84:
/opt/software/linux-scientific7-x86_64/gcc-11.2.1/root-6.24.06-vianfhcgeujnnnnhm7g6hhr3tnsiwfqt/include/TPaveText.h:19:7: note: forward declaration of 'class TLine'
   19 | class TLine;
      |       ^~~~~
```

See star-bnl#619 for details
Copy link
Contributor

@klendathu2k klendathu2k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@plexoos plexoos merged commit 4046a0a into star-bnl:main Nov 7, 2023
148 checks passed
@plexoos plexoos deleted the fix_missing_include branch November 14, 2023 14:44
dkapukchyan pushed a commit to dkapukchyan/star-sw that referenced this pull request Mar 11, 2024
These errors appear when building the code against ROOT6.24

```
.sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:434:18: error: invalid use of incomplete type 'class TLine'
  434 |             lineB->Draw();
      |                  ^~
In file included from .sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:84:
/opt/software/linux-scientific7-x86_64/gcc-11.2.1/root-6.24.06-vianfhcgeujnnnnhm7g6hhr3tnsiwfqt/include/TPaveText.h:19:7: note: forward declaration of 'class TLine'
   19 | class TLine;
      |       ^~~~~
```

See star-bnl#619 for details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants