# Using console() not working in windows?

**URL:** <https://discourse.libcinder.org/t/using-console-not-working-in-windows/1676>\
**Category:** Uncategorized\
**Created:** [July 13, 2020, 1:55am UTC](https://discourse.libcinder.org/t/using-console-not-working-in-windows/1676 "2020-07-13T01:55:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnratius](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/johnratius/32/820_2.png) [@johnratius](https://discourse.libcinder.org/u/johnratius)\
**Post date:** [July 13, 2020, 1:55am UTC](https://discourse.libcinder.org/t/using-console-not-working-in-windows/1676/1 "2020-07-13T01:55:58Z")

</div>

I am trying to use `console()` and I don’t get any output? I am keeping the subsystem Windows, and set `settings->setConsoleWindowEnabled(true);` which didn’t do anything. Using CI\_LOG\_D and others doesn’t work in my case, because I am outputting custom tables to console.  
I am using Windows 10, MSVS 2019, and cinder 0.9.3. Thanks.

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [July 16, 2020, 6:20am UTC](https://discourse.libcinder.org/t/using-console-not-working-in-windows/1676/2 "2020-07-16T06:20:00Z")

</div>

The standard `cout` is not routed to Visual Studio’s console window. It’s a Microsoft thing. For a workaround, see: [https://stackoverflow.com/a/16704076/858219](https://stackoverflow.com/a/16704076/858219)

You can also use another log library, like [spdlog](https://github.com/gabime/spdlog).
