Linear Collider Forum



Home » Software Tools » Marlin et al » compilation with TMinuit
compilation with TMinuit [message #2394] Thu, 22 September 2016 07:00 Go to previous message
jeans
Messages: 22
Registered: November 2012
Hello,

I'm having difficulties compiling a processor which uses TMinuit.


Since ilcsoft v01-17-10 (setup using the script at
/cvmfs/ilc.desy.de/sw/x86_64_gcc44_sl6/v01-17-10/init_ilcsof t.sh ), when I try to compile a processor containing e.g.


"#include "TMinuit.h"
.
.
.
TMinuit dd(2);
.
.
."


I get a compiler error

CMakeFiles/simplest.dir/src/simple.cc.o: In function `simplestProcessor::processEvent(EVENT::LCEvent*)':
/home/ilc/jeans/myProcessors/simplestProcessor/src/simple.cc :38: undefined reference to `TMinuit::TMinuit(int)'

I don't see a similar error when building against previous central installations of ilcsoft (at least I've tested v01-17-09 and v01-17-08).

My CMakeLists.txt contains

SET( ROOT_USE_COMPONENTS Minuit )
FIND_PACKAGE( ROOT REQUIRED )
INCLUDE_DIRECTORIES( ${ROOT_INCLUDE_DIRS} )
LINK_LIBRARIES( ${ROOT_LIBRARIES} )
ADD_DEFINITIONS( ${ROOT_DEFINITIONS} )


Thanks for any insights/suggestions,
Daniel.
 
Read Message
Read Message
Read Message
Previous Topic:iLCSoft release v01-17-10
Next Topic:pyLCIO in v01-17-10
Goto Forum:
  


Current Time: Mon Oct 15 01:52:27 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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