[Gate-users] installing error on os x 10.8 mountain lion

Eunsin Lee eunsin at mail.med.upenn.edu
Fri Oct 5 19:28:12 CEST 2012


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)
******************************************************


More information about the Gate-users mailing list