How can I activate threads in building the Dict file?
One of the header files requires threads:
/afs/cern.ch/cms/external/lcg/external/Boost/1.31.0/slc3_ia32_gcc323/include/boost-1_31/boost/config/requires_threads.hpp:47:5: #error “Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)”
I used SCRAM which made:
/afs/cern.ch/cms/external/lcg/external/root/3.10.02/slc3_ia32_gcc323/root/bin/rootcint -v -f LinkDef.cc -c -pthread -DGNU_SOURCE -DG4USE_STD_NAMESPACE -DGNU_GCC -DPROJECT_NAME=ORCA -DPROJECT_VERSION=ORCA_8_7_1 -I/afs/cern.ch/cms/Releases/COBRA/COBRA_8_1_0/src/Porting/Linux24-gcc3/wrappers -I/afs/cern.ch/user/d/dierlamm/scratch0/ORCA_8_7_1/src -I/afs/cern.ch/cms/Releases/ORCA/ORCA_8_7_1/src -I/afs/cern.ch/cms/Releases/COBRA/COBRA_8_1_0/src -I/afs/cern.ch/cms/external/lcg/app/releases/POOL/POOL_1_8_1/src -I/afs/cern.ch/cms/external/lcg/app/releases/POOL/POOL_1_8_1/include -I/afs/cern.ch/cms/external/lcg/app/releases/SEAL/SEAL_1_4_3/src -I/afs/cern.ch/cms/external/lcg/app/releases/SEAL/SEAL_1_4_3/include -I/afs/cern.ch/cms/external/lcg/app/releases/SEAL/SEAL_1_4_3/slc3_ia32_gcc323/include -I/afs/cern.ch/cms/external/lcg/external/root/3.10.02/slc3_ia32_gcc323/root/include -I/afs/cern.ch/cms/external/lcg/external/root/3.10.02/slc3_ia32_gcc323/root/cint -I/afs/cern.ch/cms/external/lcg/external/clhep/1.9.1.2/slc3_ia32_gcc323/include -I/afs/cern.ch/cms/external/lcg/external/GSL/1.4/slc3_ia32_gcc323/include -I/afs/cern.ch/cms/external/lcg/external/Boost/1.31.0/slc3_ia32_gcc323/include/boost-1_31 -I/afs/cern.ch/user/d/dierlamm/scratch0/ORCA_8_7_1/src -I/afs/cern.ch/cms/Releases/ORCA/ORCA_8_7_1/src LinkDef.h
What is the correct way of activating the threads?