[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation error
Hi Mark,
This was most likely due to a missing cmath include. Some
systems/compilers seem to bring this in through some other include so it
goes unnoticed until someone tries compiling it on one that requires it
be there explicitly. I have made the change and checked it in. This
wasn't giving me a problem on my system before so I don't knopw for sure
if it will fix it on yours. Give it a try.
Regards,
-David
Mark M. Ito wrote:
> Getting the following error with the latest version of the source tree:
>
> g++ -I. -I.. -I../include -I/usr/local/gluex/gluex/include
> -I/usr/local/gluex/jana/jana_svn_daily_linux/include -D_ROOT_ -pthread
> -m32 -I/usr/local/src/root/prod/include
> -I/usr/local/src/root/prod/include -O2 -Wall -c -o
> DFDCPseudo_factory_WIRESONLY.o DFDCPseudo_factory_WIRESONLY.cc
> DFDCPseudo_factory_WIRESONLY.cc: In member function ‘void
> DFDCPseudo_factory_WIRESONLY::MakePseudo(const DFDCHit*, const
> DFDCWire*, const DVector3&)’:
> DFDCPseudo_factory_WIRESONLY.cc:45: error: ‘sqrt’ was not declared in
> this scope
> DFDCPseudo_factory_WIRESONLY.cc:62: error: ‘cos’ was not declared in
> this scope
> DFDCPseudo_factory_WIRESONLY.cc:63: error: ‘sin’ was not declared in
> this scope
> make[2]: *** [DFDCPseudo_factory_WIRESONLY.o] Error 1
> rm DFDCGeometry.o DFDCIntersection_factory.o DFDCPseudo_factory.o
> DFDCHit_factory.o DFDCPseudo_factory_CORRECTED.o
> DFDCCathodeCluster_factory.o
> make[2]: Leaving directory `/usr/local/gluex/gluex/src/libraries/FDC'
>
--
------------------------------------------------------------------------
David Lawrence Ph.D.
Staff Scientist Office: (757)269-5567 [[[ [ [ [
Jefferson Lab Pager: (757)584-5567 [ [ [ [ [ [
http://www.jlab.org/~davidl davidl@jlab.org [[[ [[ [[ [[[
------------------------------------------------------------------------