<div dir="ltr">hi dear David;<div>thank you for your help, really i appreciate it, now it's run correctly;</div><div>just another question please : when i ran it i had the file (AnalyzeCT) without exetension, how can i read this file ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 18 août 2020 à 01:59, <<a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.opengatecollaboration.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org" target="_blank">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Version 8.1 and 8.2 differences<br>
(COURT, Steven (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST))<br>
2. Re: hi gate-users (David Boersma)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 18 Aug 2020 08:24:13 +0000<br>
From: "COURT, Steven (UNIVERSITY COLLEGE LONDON HOSPITALS NHS<br>
FOUNDATION TRUST)" <<a href="mailto:steven.court@nhs.net" target="_blank">steven.court@nhs.net</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>"<br>
<<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] Version 8.1 and 8.2 differences<br>
Message-ID: <<a href="mailto:1597739063594.18637@nhs.net" target="_blank">1597739063594.18637@nhs.net</a>><br>
Content-Type: text/plain; charset="Windows-1252"<br>
<br>
Hi David,<br>
<br>
The problem when I was running on v8.2 was in the CRLF line terminators. I was aware of this issue, but hadn't considered it as I was editing the file directly on the virtual machine using Pluma, seems strange to me. All worked after the conversion.<br>
<br>
I agree that ignoring the case would make sense, and informative error messages are always good.<br>
<br>
Thanks a lot for your help, it's much appreciated!<br>
Steve<br>
<br>
<br>
<br>
________________________________________<br>
From: Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> on behalf of <a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>><br>
Sent: 17 August 2020 17:22<br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Subject: Gate-users Digest, Vol 171, Issue 13<br>
<br>
Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org" target="_blank">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Gate-users Digest, Vol 171, Issue 11 (David Boersma)<br>
2. hi gate-users (hassan ouhadda)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 17 Aug 2020 16:16:23 +0000<br>
From: David Boersma <<a href="mailto:david.boersma@acmit.at" target="_blank">david.boersma@acmit.at</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>"<br>
<<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] Gate-users Digest, Vol 171, Issue 11<br>
Message-ID: <<a href="mailto:bf409e5d38714154bcb241702f1427cb@acmit.at" target="_blank">bf409e5d38714154bcb241702f1427cb@acmit.at</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Steven,<br>
<br>
<br>
I'm glad we're booking some progress.<br>
<br>
<br>
I have tried to reproduce the error messages that you report when adding "MeV" before the polynomial of the energy spread and running with Gate v8.2. When I run with the attached source file, it actually seems to run normally for me. The unit specification (MeV or percent) should be given in the content line immediately before the order of the energy spread polynomial. Since you write that you tried to insert in many places, I assume that you actually already tried to add it in the correct place. But I could reproduce your error message (complaining about line 16 in the source props file) if I misspell MeV, e.g. as MEV.<br>
<br>
For percent, the code allows different spellings (PERCENT, percent or %) but for MeV it's very picky, it only recognizes "MeV", with exactly that capitalization. "MEV" is not accepted, nor is "mev". Could it be that you actually inserted one of those "wrong" spellings? If you think you did already write it correctly, could you check with 'diff' or send me your source props file that includes the MeV line?<br>
<br>
I guess we can improve the parsing code by:<br>
<br>
* ignoring upper/lower case completely<br>
* recognize when the user tries to specify the name of a unit (not a number) in that particular line, and throw an informative error with a list of which names would be recognized and accepted.<br>
<br>
<br>
Thanks for reporting!<br>
<br>
/David<br>
<br>
<br>
PS: BTW, if you use a Windows mail client (I do, unfortunately) then the attached text file will probably be saved with DOS style line endings. In Linux you can detect this with the "file" command, like "file sourceprops.txt" and if it says "ASCII text, with CRLF line terminators" then you know that it was jinxed by Microsoft. It can be unjinxed with "dos2unix sourceprops.txt". I think every major Linux distribution has the "dos2unix" utility in their package repository.<br>
<br>
________________________________<br>
Von: COURT, Steven (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST) <<a href="mailto:steven.court@nhs.net" target="_blank">steven.court@nhs.net</a>><br>
Gesendet: Montag, 17. August 2020 16:53:57<br>
An: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Cc: David Boersma<br>
Betreff: Re: Gate-users Digest, Vol 171, Issue 11<br>
<br>
That's great, thank you David.<br>
<br>
It was indeed an issue with the "MeV" declaration in the source description file, which I had omitted. Adding it in my simulation now looks fine. I have attached the files you requested without the fix (though there is no error message raised, it just continues parsing incorrectly).<br>
<br>
I then tried to use that corrected source description file in my v8.2 simulation, and no matter where I placed the "MeV" line I was getting an error stating that it was expecting an integer: "wrong number of values (0) on line 16 of data/SourceDescFile_Field1.txt, expected 1 value(s) of type i". Looking at the source code for the 8.2 release I'm not sure why that is the case, I believe it should be fine. I can now run on both versions, so thanks again!<br>
<br>
Regards,<br>
Steve<br>
<br>
<br>
________________________________________<br>
From: Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> on behalf of <a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>><br>
Sent: 17 August 2020 11:00<br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Subject: Gate-users Digest, Vol 171, Issue 11<br>
<br>
Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org" target="_blank">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Version 8.1 and 8.2 differences, PBT (David Boersma)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 17 Aug 2020 09:44:45 +0000<br>
From: David Boersma <<a href="mailto:david.boersma@acmit.at" target="_blank">david.boersma@acmit.at</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>"<br>
<<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] Version 8.1 and 8.2 differences, PBT<br>
Message-ID: <<a href="mailto:fe0592ae2bb04e2fbd32b10f05d35eb4@acmit.at" target="_blank">fe0592ae2bb04e2fbd32b10f05d35eb4@acmit.at</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Steve,<br>
<br>
<br>
Sorry for the long wait. You can use "git" to check differences between different releases. On the command line, for instance, you could list all tags (releases):<br>
<br>
<br>
git tag -l<br>
<br>
<br>
And then you could run:<br>
<br>
<br>
git diff v8.1.p01 v8.2 -- ./source/physics/src/GateSourceTPSPencilBeam.cc<br>
<br>
<br>
(I hope that this command line does not get mangled in your email client...)<br>
<br>
<br>
This shows the differences in the GateSourceTPSPencilBeam.cc source file between the releases 8.1.p01 and 8.2. You can also look at the diffs in github, for instance:<br>
<br>
* go to <a href="https://github.com/OpenGATE/Gate" rel="noreferrer" target="_blank">https://github.com/OpenGATE/Gate</a><br>
* click on "tags"<br>
* select the newest release tag for which you would like to do the comparison (8.2)<br>
* click "compare" and select the older release tag (8.1.p01)<br>
* you may have to wait a little bit while the server generates the diffs<br>
* select the "files changed" tab<br>
* find the file you're interested in and click "load diff"<br>
<br>
This should result in something like this:<br>
<br>
<a href="https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324" rel="noreferrer" target="_blank">https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324</a><br>
<br>
<br>
<<a href="https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324" rel="noreferrer" target="_blank">https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324</a>>As you can see in the diff, nothing changed in the parsing of the optical part of the source properties file, but there were changes in the parsing of the energy spread (MEV versus PCT). The 8.1 code has the number of lines to skip hardcoded, while in later releases it just skips whatever number of non-content lines (empty or comments) you have inserted. If some of the previously skipped lines could be construed as a "content line" (not empty, no comment) then it's possible that all lines after that will be misinterpreted, including the divergence polynomials. Maybe that's what happened with your source properties file.<br>
<br>
<br>
We have made an effort to detect such mishaps in the parsing so that you'll get a crash with an informative error message in such cases. But I've noticed that this error detection is not yet fool proof: it is still possible to give it incorrect source properties input which is then read silently, with bogus results.<br>
<br>
<br>
In short: could you please send us your source properties file (and maybe also the main macro and the plan file) so that we can see where the parsing goes wrong?<br>
<br>
<br>
HTH,<br>
<br>
David Boersma<br>
<br>
________________________________<br>
Von: Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> im Auftrag von COURT, Steven (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST) <<a href="mailto:steven.court@nhs.net" target="_blank">steven.court@nhs.net</a>><br>
Gesendet: Donnerstag, 6. August 2020 16:25:39<br>
An: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Betreff: [Gate-users] Version 8.1 and 8.2 differences, PBT<br>
<br>
<br>
Hi all,<br>
<br>
<br>
I've been simulating some proton treatments in virtual Gate 8.2 and all looks good, but when I run the same simulation in 8.1 (to be in line with Gate-RTIon) the beam has a ridiculous divergence. I suspect some change to the source description file, perhaps between rads / mrads, or in the ordering of the polynomials, I'm not sure yet.<br>
<br>
<br>
Can anyone tell me what's up, or point me to a document where I can see all changes made between versions 8.1 and 8.2?<br>
<br>
<br>
Thanks a lot,<br>
<br>
Steve<br>
<br>
<br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch, <a href="https://portal.nhs.net/help/joiningnhsmail" rel="noreferrer" target="_blank">https://portal.nhs.net/help/joiningnhsmail</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/d74033d3/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/d74033d3/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 171, Issue 11<br>
*******************************************<br>
<br>
<br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch, <a href="https://portal.nhs.net/help/joiningnhsmail" rel="noreferrer" target="_blank">https://portal.nhs.net/help/joiningnhsmail</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/19107ad9/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/19107ad9/attachment-0001.html</a>><br>
-------------- next part --------------<br>
An embedded and charset-unspecified text was scrubbed...<br>
Name: SourceDescFile_Field1_MeV.txt<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/19107ad9/attachment-0001.txt" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/19107ad9/attachment-0001.txt</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 17 Aug 2020 09:47:56 -0700<br>
From: hassan ouhadda <<a href="mailto:ouhaddahassan@gmail.com" target="_blank">ouhaddahassan@gmail.com</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Subject: [Gate-users] hi gate-users<br>
Message-ID:<br>
<<a href="mailto:CANSj0mJh7czeVOCEi_duDTBqLRjKLOnh9bXCDZObMqVisffzxg@mail.gmail.com" target="_blank">CANSj0mJh7czeVOCEi_duDTBqLRjKLOnh9bXCDZObMqVisffzxg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
please i have this problem when i try to compile the out put file CT :<br>
AnalyzeCT.cpp<br>
error:<br>
:~/hs/spectre > g++ -O3 root-config --cflags --glibs AnalyzeCT.cpp -o<br>
AnalyzeCT<br>
/tmp/ccbEwUGv.o: In function int TTree::SetBranchAddress<float>(char<br>
const*, float*, TBranch**)':<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch]+0x25):<br>
undefined reference to TClass::GetClass(std::type_info const&, bool, bool)’<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch]+0x6d):<br>
undefined reference to TDataType::GetType(std::type_info const&)'<br>
/tmp/ccbEwUGv.o: In function int TTree::SetBranchAddress(char const*, int*,<br>
TBranch**)’:<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch]+0x25):<br>
undefined reference to TClass::GetClass(std::type_info const&, bool, bool)'<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch]+0x6d):<br>
undefined reference to TDataType::GetType(std::type_info const&)’<br>
/tmp/ccbEwUGv.o: In function main': AnalyzeCT.cpp:(.text.startup+0x9f):<br>
undefined reference to TApplication::TApplication(char const*, int*,<br>
char**, void*, int)’<br>
AnalyzeCT.cpp:(.text.startup+0xa9): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0xdc): undefined reference to<br>
TCanvas::TCanvas(char<br>
const*, char const*, int, int, int, int)’<br>
AnalyzeCT.cpp:(.text.startup+0xef): undefined reference to<br>
TCanvas::ToggleToolBar()'<br>
AnalyzeCT.cpp:(.text.startup+0x105): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)’<br>
AnalyzeCT.cpp:(.text.startup+0x126): undefined reference to TFile::TFile(char<br>
const*, char const*, char const*, int)'<br>
AnalyzeCT.cpp:(.text.startup+0x12e): undefined reference to TFile::IsOpen()<br>
const’<br>
AnalyzeCT.cpp:(.text.startup+0x243): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x283): undefined reference to<br>
TH2F::TH2F(char<br>
const*, char const*, int, double, double, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x28d): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x2cd): undefined reference to<br>
TH2F::TH2F(char<br>
const*, char const*, int, double, double, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x2d7): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x309): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x313): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x345): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x34f): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x381): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x38b): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x3bd): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x3c7): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x3f9): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x403): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x435): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x43f): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x471): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x47b): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x4ad): undefined reference to<br>
TH1F::TH1F(char<br>
const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x1444): undefined reference to gStyle'<br>
AnalyzeCT.cpp:(.text.startup+0x1458): undefined reference to<br>
TStyle::SetPalette(int,<br>
int*, float)’<br>
AnalyzeCT.cpp:(.text.startup+0x145f): undefined reference to gStyle'<br>
AnalyzeCT.cpp:(.text.startup+0x146b): undefined reference to<br>
TStyle::SetOptStat(char<br>
const*)’<br>
AnalyzeCT.cpp:(.text.startup+0x1475): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x14c1): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x14cb): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x1517): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1521): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x1569): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1573): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x15bf): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x15c9): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x1611): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x161b): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x1663): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x166d): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x16b9): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x16c3): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x170f): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1719): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x1765): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x176f): undefined reference to<br>
TStorage::ObjectAlloc(unsigned<br>
long)' AnalyzeCT.cpp:(.text.startup+0x17b7): undefined reference to<br>
TPad::TPad(char<br>
const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1cef): undefined reference to<br>
TApplication::Run(bool)'<br>
AnalyzeCT.cpp:(.text.startup+0x1d43): undefined reference to<br>
TApplication::~TApplication()’<br>
AnalyzeCT.cpp:(.text.startup+0x2203): undefined reference to TObject::operator<br>
delete(void*)' AnalyzeCT.cpp:(.text.startup+0x220f): undefined reference to<br>
TApplication::~TApplication()’<br>
AnalyzeCT.cpp:(.text.startup+0x2273): undefined reference to TObject::operator<br>
delete(void*)' AnalyzeCT.cpp:(.text.startup+0x2287): undefined<br>
reference to TObject::operator<br>
delete(void*)’<br>
AnalyzeCT.cpp:(.text.startup+0x229b): undefined reference to TObject::operator<br>
delete(void*)' AnalyzeCT.cpp:(.text.startup+0x22af): undefined<br>
reference to TObject::operator<br>
delete(void*)’<br>
AnalyzeCT.cpp:(.text.startup+0x22c3): undefined reference to TObject::operator<br>
delete(void*)' /tmp/ccbEwUGv.o:AnalyzeCT.cpp:(.text.startup+0x22d7): more<br>
undefined references to TObject::operator delete(void*)’ follow<br>
/tmp/ccbEwUGv.o: In function _GLOBAL__sub_I_main':<br>
AnalyzeCT.cpp:(.text.startup+0x3b): undefined reference to<br>
TVersionCheck::TVersionCheck(int)’<br>
collect2: error: ld returned 1 exit<br>
help me please<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/ad818fd4/attachment.html" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200817/ad818fd4/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 171, Issue 13<br>
*******************************************<br>
<br>
<br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch, <a href="https://portal.nhs.net/help/joiningnhsmail" rel="noreferrer" target="_blank">https://portal.nhs.net/help/joiningnhsmail</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 18 Aug 2020 08:40:09 +0000<br>
From: David Boersma <<a href="mailto:david.boersma@acmit.at" target="_blank">david.boersma@acmit.at</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>"<br>
<<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] hi gate-users<br>
Message-ID: <<a href="mailto:15ec73110d374f8e82f8bcceab14493f@acmit.at" target="_blank">15ec73110d374f8e82f8bcceab14493f@acmit.at</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Dear Hassan,<br>
<br>
<br>
I'm assuming that you are referring to "imaging/CT/classic/AnalyzeCT.cpp" in GateContrib:<br>
<br>
<a href="https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/classic/AnalyzeCT.cpp" rel="noreferrer" target="_blank">https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/classic/AnalyzeCT.cpp</a><br>
<br>
<br>
<br>
When I run your command line (with backticks around the root-config call) then I can exactly reproduce the errors that you report. I'm using g++ version 9.3.0 and ROOT version 6.18.04.<br>
<br>
I found your command line in the GateContrib docs:<br>
<br>
<a href="https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/readme.md" rel="noreferrer" target="_blank">https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/readme.md</a><br>
<br>
<br>
Maybe that is where you found it too. When you look at it again right now, you'll see a different command line (I changed it):<br>
<br>
<br>
g++ -O3 `root-config --cflags` AnalyzeCT.cpp `root-config --glibs` -o AnalyzeCT<br>
<br>
<br>
For me, that makes the linking errors go away, and it looks like the "AnalyzeCT" program runs normally. Could you let us know (please reply to the list, not only to me) if this works for you too?<br>
<br>
<br>
Good luck,<br>
<br>
David Boersma<br>
<br>
<br>
<br>
<br>
________________________________<br>
Von: Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> im Auftrag von hassan ouhadda <<a href="mailto:ouhaddahassan@gmail.com" target="_blank">ouhaddahassan@gmail.com</a>><br>
Gesendet: Montag, 17. August 2020 18:47:56<br>
An: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Betreff: [Gate-users] hi gate-users<br>
<br>
please i have this problem when i try to compile the out put file CT : AnalyzeCT.cpp<br>
error:<br>
:~/hs/spectre > g++ -O3 root-config --cflags --glibs AnalyzeCT.cpp -o AnalyzeCT<br>
/tmp/ccbEwUGv.o: In function int TTree::SetBranchAddress<float>(char const*, float*, TBranch**)': AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch]+0x25): undefined reference to TClass::GetClass(std::type_info const&, bool, bool)’<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIfEEiPKcPT_PP7TBranch]+0x6d): undefined reference to TDataType::GetType(std::type_info const&)' /tmp/ccbEwUGv.o: In function int TTree::SetBranchAddress(char const*, int*, TBranch**)’:<br>
AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch]+0x25): undefined reference to TClass::GetClass(std::type_info const&, bool, bool)' AnalyzeCT.cpp:(.text._ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch[_ZN5TTree16SetBranchAddressIiEEiPKcPT_PP7TBranch]+0x6d): undefined reference to TDataType::GetType(std::type_info const&)’<br>
/tmp/ccbEwUGv.o: In function main': AnalyzeCT.cpp:(.text.startup+0x9f): undefined reference to TApplication::TApplication(char const*, int*, char**, void*, int)’<br>
AnalyzeCT.cpp:(.text.startup+0xa9): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0xdc): undefined reference to TCanvas::TCanvas(char const*, char const*, int, int, int, int)’<br>
AnalyzeCT.cpp:(.text.startup+0xef): undefined reference to TCanvas::ToggleToolBar()' AnalyzeCT.cpp:(.text.startup+0x105): undefined reference to TStorage::ObjectAlloc(unsigned long)’<br>
AnalyzeCT.cpp:(.text.startup+0x126): undefined reference to TFile::TFile(char const*, char const*, char const*, int)' AnalyzeCT.cpp:(.text.startup+0x12e): undefined reference to TFile::IsOpen() const’<br>
AnalyzeCT.cpp:(.text.startup+0x243): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x283): undefined reference to TH2F::TH2F(char const*, char const*, int, double, double, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x28d): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x2cd): undefined reference to TH2F::TH2F(char const*, char const*, int, double, double, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x2d7): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x309): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x313): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x345): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x34f): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x381): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x38b): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x3bd): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x3c7): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x3f9): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x403): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x435): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x43f): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x471): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x47b): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x4ad): undefined reference to TH1F::TH1F(char const*, char const*, int, double, double)’<br>
AnalyzeCT.cpp:(.text.startup+0x1444): undefined reference to gStyle' AnalyzeCT.cpp:(.text.startup+0x1458): undefined reference to TStyle::SetPalette(int, int*, float)’<br>
AnalyzeCT.cpp:(.text.startup+0x145f): undefined reference to gStyle' AnalyzeCT.cpp:(.text.startup+0x146b): undefined reference to TStyle::SetOptStat(char const*)’<br>
AnalyzeCT.cpp:(.text.startup+0x1475): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x14c1): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x14cb): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x1517): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1521): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x1569): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1573): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x15bf): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x15c9): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x1611): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x161b): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x1663): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x166d): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x16b9): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x16c3): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x170f): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1719): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x1765): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x176f): undefined reference to TStorage::ObjectAlloc(unsigned long)' AnalyzeCT.cpp:(.text.startup+0x17b7): undefined reference to TPad::TPad(char const*, char const*, double, double, double, double, short, short, short)’<br>
AnalyzeCT.cpp:(.text.startup+0x1cef): undefined reference to TApplication::Run(bool)' AnalyzeCT.cpp:(.text.startup+0x1d43): undefined reference to TApplication::~TApplication()’<br>
AnalyzeCT.cpp:(.text.startup+0x2203): undefined reference to TObject::operator delete(void*)' AnalyzeCT.cpp:(.text.startup+0x220f): undefined reference to TApplication::~TApplication()’<br>
AnalyzeCT.cpp:(.text.startup+0x2273): undefined reference to TObject::operator delete(void*)' AnalyzeCT.cpp:(.text.startup+0x2287): undefined reference to TObject::operator delete(void*)’<br>
AnalyzeCT.cpp:(.text.startup+0x229b): undefined reference to TObject::operator delete(void*)' AnalyzeCT.cpp:(.text.startup+0x22af): undefined reference to TObject::operator delete(void*)’<br>
AnalyzeCT.cpp:(.text.startup+0x22c3): undefined reference to TObject::operator delete(void*)' /tmp/ccbEwUGv.o:AnalyzeCT.cpp:(.text.startup+0x22d7): more undefined references to TObject::operator delete(void*)’ follow<br>
/tmp/ccbEwUGv.o: In function _GLOBAL__sub_I_main': AnalyzeCT.cpp:(.text.startup+0x3b): undefined reference to TVersionCheck::TVersionCheck(int)’<br>
collect2: error: ld returned 1 exit<br>
help me please<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200818/1a2e9797/attachment.html" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200818/1a2e9797/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 171, Issue 14<br>
*******************************************<br>
</blockquote></div>