[Gate-users] Problems making LMF examples
Simon Stute
gate.stute at gmail.com
Mon Jul 9 12:26:27 CEST 2007
Hi,
Don't worry about the examples. I got the same thing, however I tried with
Gate and it worked fine.
But there is a precision to notice : the storage of Singles works fine but
not for Coincidences, and it is not mentioned in the manual. They just says
that you must put the boolean command for lmf coincidences to 0 ... you can
see yourself in the section 10.
I personally use the lmf output to store coincidences but I modified the
GateToLMF class to get what I want.
So good luck if you really want to use this format !!
Cheers
Simon
2007/7/8, Marc Chamberland <mchamber at physics.carleton.ca >:
>
> Hi!
>
> I'm having problems installing LMF v.3.0. I'm following the instructions
> in LMF.pdf included with the source code. In LMF/, I can compile the
> library correctly, I think. However, when I try to compile the examples, I
> get the following output:
>
> Maya:/Applications/lmf_v3.0/examples Marc$ make
> gcc -I../includes/ -D_FILE_OFFSET_BITS=64 -c -o exempleMain_01.o
> exempleMain_01.c
> gcc -o EXE_01 exempleMain_01.o -I../includes/ -L../lib/ -lLMF
> -L/Applications/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad
> -lTree -lRint -lPostscript -lMatrix -lPhysics -lfreetype -lpthread -lm
> -ldl
> example 1 : EXE_01 ok...
> gcc -I../includes/ -D_FILE_OFFSET_BITS=64 -c -o exempleMain_02.o
> exempleMain_02.c
> gcc -o EXE_02 exempleMain_02.o -I../includes/ -L../lib/ -lLMF
> -L/Applications/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad
> -lTree -lRint -lPostscript -lMatrix -lPhysics -lfreetype -lpthread -lm
> -ldl
> example 2 : EXE_02 ok...
> gcc -I../includes/ -D_FILE_OFFSET_BITS=64 -c -o exempleMain_04.o
> exempleMain_04.c
> gcc -o EXE_04 exempleMain_04.o -I../includes/ -L../lib/ -lLMF
> -L/Applications/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad
> -lTree -lRint -lPostscript -lMatrix -lPhysics -lfreetype -lpthread -lm
> -ldl
> /usr/bin/ld: Undefined symbols:
> std::ios_base::Init::Init()
> std::ios_base::Init::~Init()
> std::__throw_bad_alloc()
> std::__throw_length_error(char const*)
> operator delete[](void*)
> operator delete(void*)
> operator new[](unsigned long)
> operator new(unsigned long)
> ___gxx_personality_v0
> __Unwind_Resume
> std::basic_istream<char, std::char_traits<char> >::operator>>(double&)
> std::basic_istream<char, std::char_traits<char> >::operator>>(unsigned
> long&)
> std::basic_istream<char, std::char_traits<char> >::operator>>(unsigned
> short&)
> std::basic_ostream<char, std::char_traits<char>
> >::operator<<(std::basic_ostream<char, std::char_traits<char> >&
> (*)(std::basic_ostream<char, std::char_traits<char> >&))
> std::basic_ostream<char, std::char_traits<char> >::operator<<(double)
> std::basic_ostream<char, std::char_traits<char> >::operator<<(int)
> std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned
> long)
> std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned
> short)
> std::cin
> std::cout
> std::basic_ostream<char, std::char_traits<char> >& std::endl<char,
> std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
> >&)
> std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
> >&, char const*)
> std::basic_istream<char, std::char_traits<char> >&
> std::operator>><std::char_traits<char> >(std::basic_istream<char,
> std::char_traits<char> >&, unsigned char&)
> std::basic_ofstream<char, std::char_traits<char> >::open(char const*,
> std::_Ios_Openmode)
> std::basic_ofstream<char, std::char_traits<char> >::close()
> std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream()
> std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()
> std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned
> long long)
> TVersionCheck::TVersionCheck(int)
> std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char
> const*, std::_Ios_Openmode)
> std::basic_istream<char, std::char_traits<char> >::operator>>(int&)
> std::basic_ifstream<char, std::char_traits<char> >::open(char const*,
> std::_Ios_Openmode)
> std::basic_ifstream<char, std::char_traits<char> >::close()
> std::basic_ifstream<char, std::char_traits<char> >::is_open()
> std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream()
> std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()
> collect2: ld returned 1 exit status
> make: *** [EXE_04] Error 1
>
>
> I see that Gate does generate the LMF output (I think), but I don't
> know how to read them as I can't get the examples working. Can anyone help
> me out?
>
> For the record, I use the following:
>
> Gate 3.1.1
> Geant4 4.8.1.p02
> CLHEP 2.0.2.3
> root 5.12
> LMF 3.0
>
> I'm on a MacBook Pro Core 2 Duo.
>
> I appreciate any help you can give me!
>
> Marc Chamberland
> Carleton University
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070709/2a3fbe47/attachment.htm>
More information about the Gate-users
mailing list