# ValuePrinter errors on Windows

**URL:** <https://root-forum.cern.ch/t/valueprinter-errors-on-windows/16262>\
**Category:** Cling\
**Created:** [June 20, 2013, 3:18pm UTC](https://root-forum.cern.ch/t/valueprinter-errors-on-windows/16262 "2013-06-20T15:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FHTheron](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/848f3c/32.png) [@FHTheron](https://root-forum.cern.ch/u/FHTheron)\
**Post date:** [June 20, 2013, 3:18pm UTC](https://root-forum.cern.ch/t/valueprinter-errors-on-windows/16262/1 "2013-06-20T15:18:34Z")

</div>

Has anyone looked into (or fixed) the value printer? This works well on Linux (leave off the semi-colon and cling just prints the result of the expression), but does the following on Windows:

```auto
******************CLING******************
* Type C++ code and press enter to run it *
* Type .q to exit *
*******************************************
[cling]$ int myint = 123;
[cling]$ myint
ExecutionContext: use of undefined symbol '_ZN5cling16ValuePrinterInfoC1EPN5clan
g4ExprEPNS1_10ASTContextE'!
ExecutionContext: use of undefined symbol '_ZN5cling12flushOStreamERN4llvm11raw_
ostreamE'!
ExecutionContext: use of undefined symbol '_ZN5cling23printValuePublicDefaultERN
4llvm11raw_ostreamEPKvRKNS_16ValuePrinterInfoE'!
ExecutionContext::executeFunction: symbol '_ZN5cling12flushOStreamERN4llvm11raw_
ostreamE' unresolved while linking function '_Z15__cling_Un1Qu31v'!
ExecutionContext::executeFunction: symbol '_ZN5cling16ValuePrinterInfoC1EPN5clan
g4ExprEPNS1_10ASTContextE' unresolved while linking function '_Z15__cling_Un1Qu3
1v'!
ExecutionContext::executeFunction: symbol '_ZN5cling23printValuePublicDefaultERN
4llvm11raw_ostreamEPKvRKNS_16ValuePrinterInfoE' unresolved while linking functio
n '_Z15__cling_Un1Qu31v'!
[cling]$
```

---

<div class="post-metadata">

**Author:** ![vvassilev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@vvassilev](https://root-forum.cern.ch/u/vvassilev)\
**Post date:** [December 13, 2013, 10:16pm UTC](https://root-forum.cern.ch/t/valueprinter-errors-on-windows/16262/2 "2013-12-13T22:16:50Z")

</div>

Hi,  
That is expected cling in C++ mode doesn’t work on Windows yet. If you want you could run cling -x c (running cling in C mode)  
Cheers,  
Vassil
