From c66ae9d9c035090584f465a41ce2e438e502be81 Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Thu, 24 Mar 2022 15:23:59 +0100 Subject: [PATCH 1/3] Add namespace TMVA::Experimental::SOFIE to LinkDef Fixes error: IncrementalExecutor::executeFunction: symbol '_ZN4TMVA12Experimental5SOFIE19ConvertTypeToStringB5cxx11ENS1_11ETensorTypeE' unresolved while linking function '_GLOBAL__sub_I_cling_module_8'! You are probably missing the definition of TMVA::Experimental::SOFIE::ConvertTypeToString[abi:cxx11](TMVA::Experimental::SOFIE::ETensorType) Maybe you need to load the corresponding shared library? Symbol found in '/builddir/build/BUILD/root-6.26.00/redhat-linux-build/lib/libROOTTMVASofie.so.6.26.00'; did you mean to load it with '.L /builddir/build/BUILD/root-6.26.00/redhat-linux-build/lib/libROOTTMVASofie.so.6.26.00'? --- tmva/sofie/inc/LinkDef.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tmva/sofie/inc/LinkDef.h b/tmva/sofie/inc/LinkDef.h index 715cf35560..3282ff22c1 100644 --- a/tmva/sofie/inc/LinkDef.h +++ b/tmva/sofie/inc/LinkDef.h @@ -7,6 +7,7 @@ #pragma link C++ nestedclass; +#pragma link C++ namespace TMVA::Experimental::SOFIE; #pragma link C++ class TMVA::Experimental::SOFIE::RModel-; #pragma link C++ class TMVA::Experimental::SOFIE::ROperator+; #pragma link C++ struct TMVA::Experimental::SOFIE::InitializedTensor+; -- 2.35.1