[Gate-users] installing error on os x 10.8 mountain lion
Eunsin Lee
eunsin at mail.med.upenn.edu
Fri Oct 5 21:58:23 CEST 2012
Hi Jonathan and Marc,
Thanks for you guys' help. I had to manually put g++ in cmake interface and it worked!
Eunsin
******************************************************
Eunsin Lee, Ph.D
Postdoctoral Fellow
Roberts Proton Therapy Center
Department of Radiation Oncology
University of Pennsylvania School of Medicine
eunsin at mail.med.upenn.edu
(215) 615-0079 (office)
(979) 574-7235 (cell)
******************************************************
----- Original Message -----
From: "Marc Chamberland" <MarcChamberland at cmail.carleton.ca>
To: "Eunsin Lee" <eunsin at mail.med.upenn.edu>
Cc: "<Gate-users at lists.opengatecollaboration.org>" <Gate-users at lists.opengatecollaboration.org>
Sent: Friday, October 5, 2012 2:05:16 PM
Subject: Re: [Gate-users] installing error on os x 10.8 mountain lion
Also note that the first message in that thread (by me) is not necessarily the best solution (since you would need to recompile Geant4). Later messages propose simpler fixes.
Marc
Le 2012-10-05 à 2:02 PM, Marc Chamberland < MarcChamberland at cmail.carleton.ca >
a écrit :
Hi Eunsin!
This problem and other problems related to Gate v6.2 on Mountain Lion have been addressed in this thread: http://lists.opengatecollaboration.org/mailman/private/gate-users/2012-September/005952.html
Read through it and you should be able to fix your installation.
I hope this helps!
Marc
__________________________
Marc Chamberland, MSc PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
Le 2012-10-05 à 1:28 PM, Eunsin Lee < eunsin at mail.med.upenn.edu >
a écrit :
Dear Gaters,
While installing GATE 6.2 on OS X 10.8 I've got following errors, which hasn't occurred on linux:
Any ideas?
Thanks,
Eunsin
dhcp-170-166-252-249:gate_v6.2-build eunsin$ make
[ 2%] Built target itkzlib
[ 7%] Built target ITKMetaIO
[ 7%] Building CXX object CMakeFiles/Gate.dir/Gate.cc.o
In file included from /Users/eunsin/GATEsimulation/gate_v6.2/Gate.cc:26:
In file included from /Users/eunsin/GATEsimulation/gate_v6.2/source/physics/include/GateSourceMgr.hh:19:
In file included from /Users/eunsin/GATEsimulation/gate_v6.2/source/physics/include/GateVSource.hh:26:
In file included from /Users/eunsin/GATEsimulation/gate_v6.2/source/physics/include/GateVSourceMessenger.hh:32:
/Users/eunsin/GATEsimulation/gate_v6.2/source/general/include/GateUIcmdWithAVector.hh:124:22: error: no matching
constructor for initialization of 'std::ostringstream' (aka 'basic_ostringstream<char>')
std::ostringstream os(st,100);
^ ~~~~~~
/usr/include/c++/4.2.1/sstream:439:7: note: candidate constructor not viable: no known conversion from 'int' to
'ios_base::openmode' (aka 'std::_Ios_Openmode') for 2nd argument;
basic_ostringstream(const __string_type& __str,
^
/usr/include/c++/4.2.1/sstream:419:7: note: candidate constructor not viable: requires at most 1 argument, but 2 were
provided
basic_ostringstream(ios_base::openmode __mode = ios_base::out)
^
/usr/include/c++/4.2.1/bits/sstream.tcc:265:25: note: candidate constructor (the implicit copy constructor) not viable:
requires 1 argument, but 2 were provided
extern template class basic_ostringstream<char>;
^
1 error generated.
make[2]: *** [CMakeFiles/Gate.dir/Gate.cc.o] Error 1
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2
******************************************************
Eunsin Lee, Ph.D
Postdoctoral Fellow
Roberts Proton Therapy Center
Department of Radiation Oncology
University of Pennsylvania School of Medicine
eunsin at mail.med.upenn.edu
(215) 615-0079 (office)
(979) 574-7235 (cell)
******************************************************
_______________________________________________
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
More information about the Gate-users
mailing list