[Gate-users] GATE 7.1 installation (Parisa)
Andrej Studen
Andrej.Studen at ijs.si
Fri Jun 5 09:24:00 CEST 2015
Hi Parisa!
Can you execute this program? It might point out a casting problem.
Just copy the following to a file, say test1.cc, and do
#>g++ -o test1 -g -Wall test1.cc
#>./test1
And let us know what the output looks like.
==========================
#include <iostream>
using namespace std;
int main(int argc, char *argv[]){
cout<<sizeof(size_t)<<' '<<sizeof(long unsigned int)<<endl;
return 0;
}
===========================
Cheers
Andrej
On 06/04/15 16:40, Alex Vergara Gil wrote:
> I can't reproduce this, Please specify your geant4 instalation, if you
> set up correctly the geant4 environment variables, the procedure you
> are using to install Gate, and every other reason you may believe that
> help us to understand what is happening to you
>
> Regards
> Alex
>
> 2015-06-04 10:18 GMT-04:00, Parisa Tahery <parisatahery at yahoo.com>:
>> Dear users,
>> Following launching the make command for GATE 7.1 installation, I
>> encountered these errors.Can someone help me?
>> Best regardsParisa
>>
>> /home/GATE7.1/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc: In
>> member function ‘void GateMaterialMuHandler::SimulateMaterialTable()’:
>> /home/GATE7.1/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:389:132:
>> error: no matching function for call to
>> ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
>> /home/G4.2/G4.10.1/geant4.10.01-install/include/Geant4/G4VEmProcess.hh:468:13:
>> note: candidate is: G4VEmModel*
>> G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
>> /home/GATE7.1/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:393:84:
>> error: no matching function for call to
>> ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
>> /home/G4.2/G4.10.1/geant4.10.01-install/include/Geant4/G4VEmProcess.hh:468:13:
>> note: candidate is: G4VEmModel*
>> G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
>> /home/GATE7.1/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:402:132:
>> error: no matching function for call to
>> ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
>> /home/G4.2/G4.10.1/geant4.10.01-install/include/Geant4/G4VEmProcess.hh:468:13:
>> note: candidate is: G4VEmModel*
>> G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
>> make[2]: ***
>> [CMakeFiles/Gate.dir/source/digits_hits/src/GateMaterialMuHandler.cc.o]
>> Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>>
>>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
****************************************
dr. Andrej Studen
Jozef Stefan Institute,
Jamova 39, 1000 Ljubljana, Slovenia
Tel.: +386 1 477 3162
+386 31 822 779 (mobile)
Fax.: +386 1 477 3166
*****************************************
More information about the Gate-users
mailing list