Linear Collider Forum



Home » Software Tools » Marlin et al » LCFIVertex v00-03 fails to compile
LCFIVertex v00-03 fails to compile [message #1971] Thu, 06 May 2010 11:24
jabernathy
Messages: 78
Registered: March 2006
Location: University of Victoria
Hello,

The boost library included with LCFIVertex v00-03 is not compatible with gcc4.4. It leads to errors of the form
boost/boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("


I tried replacing the boost directory with version 1.43.00 from the boost website but I received new errors:
/home/jabrnthy/linearcollider/ilcsoft/v01-08-01/LCFIVertex/v00-03/vertex_lcfi/inc/../util/inc/vector3.h:8:32: error: boost/version.hpp: No such file or directory
/home/jabrnthy/linearcollider/ilcsoft/v01-08-01/LCFIVertex/v00-03/vertex_lcfi/inc/../util/inc/vector3.h:12:46: error: boost/numeric/ublas/config.hpp: No such file or directory
/home/jabrnthy/linearcollider/ilcsoft/v01-08-01/LCFIVertex/v00-03/vertex_lcfi/inc/../util/inc/vector3.h:14:42: error: boost/numeric/ublas/vector.hpp: No such file or directory
/home/jabrnthy/linearcollider/ilcsoft/v01-08-01/LCFIVertex/v00-03/vertex_lcfi/inc/../util/inc/vector3.h:15:38: error: boost/numeric/ublas/io.hpp: No such file or directory

which I thought was strange because the directory structures seem similar.

I solved this problem by removing the boost directory from the LCFIVertex folder and installing the boost-dev package for my system. This doesn't solve the problem with the included version no longer working with gcc4.4.

After solving that problem another few errors presented themselves:
LCFIVertex/v00-03/src/TrueAngularJetFlavourProcessor.cc:418: error: ‘abs’ was not declared in this scope
LCFIVertex/v00-03/src/LCFIAIDAPlotProcessor.cc:4066: error: ‘abs’ was not declared in this scope
LCFIVertex/v00-03/diagnostics/src/V0Performance.cc:225: error: call of overloaded ‘abs(int&)’ is ambiguous
LCFIVertex/v00-03/diagnostics/src/HistMap.cc:37: error: ‘exit’ was not declared in this scope
LCFIVertex/v00-03/diagnostics/src/KnowYourInputs.cc:271: error: call of overloaded ‘abs(int&)’ is ambiguous

which was solved by adding
#include <cstdlib>

to the include section of the files.

Furthermore,
LCFIVertex/v00-03/src/LCFIAIDAPlotProcessor.cc:326: error: ‘includes’ is not a member of ‘std’

was solved by adding
#include <algorithm>

to the include section of that file.

After fixing these problems cmake was complaining that the boost directory was missing so I appeased it by created an empty one.

Cheers,

- Jason
 
Read Message
Previous Topic:Marlin v00-11 fails to compile
Next Topic:MarlinReco with gfortran on Ubuntu
Goto Forum:
  


Current Time: Wed Nov 20 03:59:02 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software