[Gate-users] building Gate with geant4-9.6 (development branche from opengate-git)
LAHAYE Olivier
olivier.lahaye at cea.fr
Tue Aug 20 16:52:54 CEST 2013
Hi,
I've just tryed to build gate (developpment branche from http://git.opengatecollaboration.org/git/opengate-public.git) using geant 4-9.6.2 and it almost build completely.
So if it can be of any help, here are my findings:
Only one single file fails to build with the fiollowing error:
Building CXX object CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc: In member function ‘G4Fragment* GateBinaryCascade::FindFragments()’:
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc:2281: erreur: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc: In member function ‘G4LorentzVector GateBinaryCascade::GetFinalNucleusMomentum()’:
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc:2395: erreur: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested
make[2]: *** [CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o] Erreur 1
Unfortunately I'm not skilled enough to fix this (no skills in C++ )
Aside that, most of warning are gone except a few ones (3 files impacted):
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateAnalyzeHeader.cc.o
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc: In member function ‘bool GateAnalyzeHeader::Write(const G4String&)’:
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:280: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:281: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:282: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:283: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:284: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:285: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:286: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:288: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:289: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:290: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:291: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:292: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:293: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:294: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:295: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:296: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:297: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:298: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:299: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:300: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:301: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:302: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:303: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:304: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:305: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:307: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:308: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:309: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:310: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:311: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:312: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:313: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:314: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:315: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:316: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:317: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:318: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:319: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:320: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:321: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:322: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:323: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:324: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
=====
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateIDFilter.cc.o
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateIAEAUtilities.cc: In function ‘int copy(char*, char*)’:
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateIAEAUtilities.cc:447: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
=====
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateVisManager.cc.o
In file included from /home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateUIterminal.cc:15:
/usr/include/Geant4/G4UIterminal.hh:98: attention : ‘virtual G4int G4UIterminal::ReceiveG4cout(const G4String&)’ was hidden
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/include/GateUIterminal.hh:46: attention : by ‘virtual G4int GateUIterminal::ReceiveG4cout(G4String)’
/usr/include/Geant4/G4UIterminal.hh:99: attention : ‘virtual G4int G4UIterminal::ReceiveG4cerr(const G4String&)’ was hidden
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/include/GateUIterminal.hh:47: attention : by ‘virtual G4int GateUIterminal::ReceiveG4cerr(G4String)’
Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DM2I/DIR
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130820/2e541552/attachment.html>
More information about the Gate-users
mailing list