[Gate-users] Problems compiling Gate_v7.2, using Ubuntu 16.04
Triltsch, Nicolas
nicolas.triltsch at tum.de
Tue Nov 29 17:16:41 CET 2016
Hey David,
Okay, pretty cool, thanks!! With Root v5 it works now:) It compiles 100%
correct with ITK/RTK = OFF. But if I switch them ON, I get the following
*error* after 99% of compiling:
Additionally, I get a *warning *after 60%:
Any further ideas? Thanks a lot so far!
Nico
On 11/29/2016 05:02 PM, David Boersma wrote:
> Hi Nicolas,
>
> Den 29/11/2016 kl. 16:19, skrev Triltsch, Nicolas:
>> Hey,
>>
>> if I put both options to OFF, I obtain following errors:
>>
>> Hope someone can help me:)
>
> 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).
>
> I *think* (someone please correct me if I'm wrong) that the only
> necessary code change is in
>
> source/digits_hits/src/GateSecondaryProductionActor.cc,
>
> where you need to replace this line (line number 61) ...
>
> pFrag->SetBit(TH1::kCanRebin);
>
> ... by the following blurb:
>
> #if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0)
> pFrag->SetCanExtend(TH1::kXaxis); // <--- Root6
> #else
> pFrag->SetBit(TH1::kCanRebin); // <--- Root5
> #endif
>
> Alternative solutions:
>
> (A) use the development version (with ROOT 6 or ROOT 5)
>
> (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).
>
> Hope that helps,
> David Boersma
>
>
>> On 11/29/2016 04:06 PM, G Cosme wrote:
>>> Hi!
>>>
>>>
>>> When compiling GATE with ccmake, do you have the options
>>> GATE_DOWNLOAD_BENCHMARK_DATA and GATE_DOWNLOAD_EXAMPLES_DATA on or
>>> off? If on, try to compile with both options off.
>>>
>>> Hope that helps!
>>> Gonçalo
>>>
>>> 2016-11-29 15:03 GMT+00:00 Triltsch, Nicolas <nicolas.triltsch at tum.de
>>> <mailto:nicolas.triltsch at tum.de>>:
>>>
>>> Hey everyone,
>>>
>>> After having problems with my current gate installation, I decided
>>> to reinstall GATE. Therefore I deleted the 3 folders /gate_v7.2/,
>>> /gate_v7.2-build/ and /gate_v7.2-install/. I downloaded the
>>> gate_v7.2 source code again from
>>> /http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2
>>> <http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2>/
>>> and created new folders /gate_v7.2-build/ and /gate_v7.2-install/.
>>> Then I wanted to compile the source code using ccmake, but I get
>>> the following error after around 10% of compiling progress:
>>>
>>> "
>>>
>>> /-- Downloaded object:
>>> "/usr/local/bin/gate_v7.2-build/ExternalData/Objects/MD5/b809cfe42b1697c39fe95649dede4240"//
>>> //CMakeFiles/Makefile2:141: recipe for target
>>> 'CMakeFiles/GateExampleData.dir/all' failed//
>>> //make[1]: *** [CMakeFiles/GateExampleData.dir/all] Error 2//
>>> //Makefile:127: recipe for target 'all' failed//
>>> //make: *** [all] Error 2/
>>>
>>> "
>>>
>>> Any ideas? I suspect there might be something wrong with the
>>> download of the Examples...
>>>
>>> Thanks!
>>>
>>>
>>>
>>> _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> <mailto:Gate-users at lists.opengatecollaboration.org>
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>> <http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20161129/4146034f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiflbpfjmnjodpjf.png
Type: image/png
Size: 23621 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20161129/4146034f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgbicghjngpnnkio.png
Type: image/png
Size: 84011 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20161129/4146034f/attachment-0003.png>
More information about the Gate-users
mailing list