# TMVAGui.C IncrementalExecutor::executeFunction: symbol

**URL:** <https://root-forum.cern.ch/t/tmvagui-c-incrementalexecutor-executefunction-symbol/17903>\
**Category:** TMVA\
**Created:** [July 14, 2014, 11:21am UTC](https://root-forum.cern.ch/t/tmvagui-c-incrementalexecutor-executefunction-symbol/17903 "2014-07-14T11:21:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markhod](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@markhod](https://root-forum.cern.ch/u/markhod)\
**Post date:** [July 14, 2014, 11:21am UTC](https://root-forum.cern.ch/t/tmvagui-c-incrementalexecutor-executefunction-symbol/17903/1 "2014-07-14T11:21:01Z")

</div>

Hello,

Using:

* * *

| Welcome to ROOT 6.01/01 [root.cern.ch](http://root.cern.ch) |  
| © 1995-2014, The ROOT Team |  
| Built for macosx64 |  
| From heads/master@v6-00-01-129-gada8d45, Jun 27 2014, 20:21:07 |

| Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’ |
| --- |

I am having problems using TMVA:

root [0] .L TMVAGui.C  
root [1] TMVAGui("~/Desktop/TMVA\_Eta2\_Pt\_2.root")  
IncrementalExecutor::executeFunction: symbol ‘_ZNSt3\_\_14endlIcNS\_11char\_traitsIcEEEERNS\_13basic\_ostreamIT\_T0\_EES7_’ unresolved while linking function ‘\_Z16\_\_cling\_Un1Qu311Pv’!  
IncrementalExecutor::executeFunction: symbol ‘\_ZNSt3\_\_1lsINS\_11char\_traitsIcEEEERNS\_13basic\_ostreamIcT\_EES6\_PKc’ unresolved while linking function ‘\_Z16\_\_cling\_Un1Qu311Pv’!

Does someone know what the problem is and how to fix it?

In addition when running root from:

$ROOTSYS/tmva/test

at startup some errors get reported:

## pb-d-128-141-37-126:test markhodgkinson$ root Error in TSystem::ExpandFileName: input: $TMVASYS/lib/libCling, output: $TMVASYS/lib/libCling

| Welcome to ROOT 6.01/01 [root.cern.ch](http://root.cern.ch) |  
| © 1995-2014, The ROOT Team |  
| Built for macosx64 |  
| From heads/master@v6-00-01-129-gada8d45, Jun 27 2014, 20:21:07 |

| Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’ |
| --- |

Error in TSystem::ExpandFileName: input: $TMVASYS/lib/libMathCore, output: $TMVASYS/lib/libMathCore  
Error in TSystem::ExpandFileName: input: $TMVASYS/test/rootalias.C, output: $TMVASYS/test/rootalias.C  
In file included from /Users/markhodgkinson/root/tmva/test/./TMVAlogon.C:23:  
./tmvaglob.C:29:20: error: namespaces can only be defined in global or namespace scope  
namespace TMVAGlob {  
^  
/Users/markhodgkinson/root/tmva/test/./TMVAlogon.C:25:4: error: use of undeclared identifier 'TMVAGlob’  
TMVAGlob::SetTMVAStyle();

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [July 27, 2014, 12:34pm UTC](https://root-forum.cern.ch/t/tmvagui-c-incrementalexecutor-executefunction-symbol/17903/2 "2014-07-27T12:34:49Z")

</div>

Hi Mark,

thanks for reporting this issue. Before including this in our bug tracker, it would be useful to know on which system you are (Mavericks?) and which was your cmake/configure command.

Cheers,  
Danilo

---

<div class="post-metadata">

**Author:** ![markhod](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@markhod](https://root-forum.cern.ch/u/markhod)\
**Post date:** [July 30, 2014, 9:05am UTC](https://root-forum.cern.ch/t/tmvagui-c-incrementalexecutor-executefunction-symbol/17903/3 "2014-07-30T09:05:38Z")

</div>

I am using Mavericks and compiled and tried this with 10.9.3 (now I have 10.9.4 though)

I believe I just ran the standard ./configure and make commands

Cheers,

Mark
