<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
FYI, I have used <font face="Courier" class="">pFrag->SetCanExtend(TH1::<b class="">kAllAxes</b>)</font> instead of
<font face="Courier" class="">pFrag->SetCanExtend(TH1::<b class="">kXaxis</b>).</font>
<div class=""><br class="">
</div>
<div class="">Not sure if it’s better or worse …</div>
<div class=""><br class="">
</div>
<div class="">Richard</div>
<div class="">
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Richard Taschereau, Ph.D.<br class="">
Associate Researcher<br class="">
Crump Institute for Molecular Imaging</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
University of California, Los Angeles<br class="">
570 Westwood Plaza, Building 114, room 4350-C<br class="">
Los Angeles, CA 90095-1770<br class="">
Phone: (310) 825-0697<br class="">
Fax: (310) 206-8975</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 29, 2016, at 8:02 AM, David Boersma <<a href="mailto:david.boersma@physics.uu.se" class="">david.boersma@physics.uu.se</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Nicolas,<br class="">
<br class="">
Den 29/11/2016 kl. 16:19, skrev Triltsch, Nicolas:<br class="">
<blockquote type="cite" class="">Hey,<br class="">
<br class="">
if I put both options to OFF, I obtain following errors:<br class="">
<br class="">
Hope someone can help me:)<br class="">
</blockquote>
<br class="">
That error ("kCanRebin is not a member of TH1") looks like you are trying to build Gate 7.2 with ROOT 6.x.y instead of ROOT 5.x.y. This has been fixed in the development version (where "fixed" means: you can use either ROOT 5 or 6).<br class="">
<br class="">
I *think* (someone please correct me if I'm wrong) that the only necessary code change is in<br class="">
<br class="">
source/digits_hits/src/<a href="http://gatesecondaryproductionactor.cc" class="">GateSecondaryProductionActor.cc</a>,<br class="">
<br class="">
where you need to replace this line (line number 61) ...<br class="">
<br class="">
pFrag->SetBit(TH1::kCanRebin);<br class="">
<br class="">
... by the following blurb:<br class="">
<br class="">
#if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0)<br class="">
pFrag->SetCanExtend(TH1::kXaxis); // <--- Root6<br class="">
#else<br class="">
pFrag->SetBit(TH1::kCanRebin); // <--- Root5<br class="">
#endif<br class="">
<br class="">
Alternative solutions:<br class="">
<br class="">
(A) use the development version (with ROOT 6 or ROOT 5)<br class="">
<br class="">
(B) if you really want the GATE v7.2 release, without hacks: install ROOT version 5.x.y and make sure that this is the only ROOT version that is visible/used in your shell environment (during compiling, linking *and* running).<br class="">
<br class="">
Hope that helps,<br class="">
David Boersma<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On 11/29/2016 04:06 PM, G Cosme wrote:<br class="">
<blockquote type="cite" class="">Hi!<br class="">
<br class="">
<br class="">
When compiling GATE with ccmake, do you have the options<br class="">
GATE_DOWNLOAD_BENCHMARK_DATA and GATE_DOWNLOAD_EXAMPLES_DATA on or<br class="">
off? If on, try to compile with both options off.<br class="">
<br class="">
Hope that helps!<br class="">
Gonçalo<br class="">
<br class="">
2016-11-29 15:03 GMT+00:00 Triltsch, Nicolas <<a href="mailto:nicolas.triltsch@tum.de" class="">nicolas.triltsch@tum.de</a><br class="">
<<a href="mailto:nicolas.triltsch@tum.de" class="">mailto:nicolas.triltsch@tum.de</a>>>:<br class="">
<br class="">
Hey everyone,<br class="">
<br class="">
After having problems with my current gate installation, I decided<br class="">
to reinstall GATE. Therefore I deleted the 3 folders /gate_v7.2/,<br class="">
/gate_v7.2-build/ and /gate_v7.2-install/. I downloaded the<br class="">
gate_v7.2 source code again from<br class="">
/<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.opengatecollaboration.org%2Findex.php%2FCompilation_Instructions_V7.2&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=yvcI4ty60up6raZB5x0Y5JpQne5wqgu47784eN0pNgc%3D&reserved=0" class="">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.opengatecollaboration.org%2Findex.php%2FCompilation_Instructions_V7.2&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=yvcI4ty60up6raZB5x0Y5JpQne5wqgu47784eN0pNgc%3D&reserved=0</a><br class="">
<<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.opengatecollaboration.org%2Findex.php%2FCompilation_Instructions_V7.2&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=yvcI4ty60up6raZB5x0Y5JpQne5wqgu47784eN0pNgc%3D&reserved=0" class="">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.opengatecollaboration.org%2Findex.php%2FCompilation_Instructions_V7.2&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=yvcI4ty60up6raZB5x0Y5JpQne5wqgu47784eN0pNgc%3D&reserved=0</a>>/<br class="">
and created new folders /gate_v7.2-build/ and /gate_v7.2-install/.<br class="">
Then I wanted to compile the source code using ccmake, but I get<br class="">
the following error after around 10% of compiling progress:<br class="">
<br class="">
"<br class="">
<br class="">
/-- Downloaded object:<br class="">
"/usr/local/bin/gate_v7.2-build/ExternalData/Objects/MD5/b809cfe42b1697c39fe95649dede4240"//<br class="">
//CMakeFiles/Makefile2:141: recipe for target<br class="">
'CMakeFiles/GateExampleData.dir/all' failed//<br class="">
//make[1]: *** [CMakeFiles/GateExampleData.dir/all] Error 2//<br class="">
//Makefile:127: recipe for target 'all' failed//<br class="">
//make: *** [all] Error 2/<br class="">
<br class="">
"<br class="">
<br class="">
Any ideas? I suspect there might be something wrong with the<br class="">
download of the Examples...<br class="">
<br class="">
Thanks!<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
<<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0" class="">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0</a><br class="">
<<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0" class="">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0</a>><br class="">
<br class="">
<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0<br class="">
<br class="">
</blockquote>
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=01%7C01%7Crtaschereau%40mednet.ucla.edu%7Ceaeed417381d44ba232908d4187116f9%7C39c3716b64714fd5ac04a7dbaa32782b%7C0&sdata=iCOgVc0TBhJZj94QHijTOxWJKLsPns35vYSX7GA0ieQ%3D&reserved=0</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br>
<hr>
<font face="Arial" color="Navy" size="2"><br>
UCLA HEALTH SCIENCES IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain
it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this
message from your computer.<br>
</font>
</body>
</html>