# Cinder Imgui on windows

**URL:** <https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718>\
**Category:** CinderBlocks\
**Created:** [September 25, 2020, 11:07am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718 "2020-09-25T11:07:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 25, 2020, 11:07am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/1 "2020-09-25T11:07:34Z")

</div>

Where can I get the imgui block for cinder? Will it work in windows?

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [September 25, 2020, 12:16pm UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/2 "2020-09-25T12:16:09Z")

</div>

Imgui is built into cinder as of ~~v0.9.2~~ v0.9.3dev so an external block is unnecessary and it will work on windows.

---

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 25, 2020, 3:33pm UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/3 "2020-09-25T15:33:06Z")

</div>

Thank you for the clarification. BTW, I couldn’t find any imgui header under cinder namespace.

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [September 25, 2020, 3:44pm UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/4 "2020-09-25T15:44:18Z")

</div>

> <https://github.com/cinder/Cinder/blob/master/include/cinder/CinderImGui.h>

---

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 25, 2020, 4:02pm UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/5 "2020-09-25T16:02:30Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/1X/2a9fecfe77473acddbcab86ce321812911189764.png)

I have put the cinderImgui.h file into cinder folder. But it gives an error. Looks like it cannot find imgui.h

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [September 25, 2020, 4:15pm UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/6 "2020-09-25T16:15:57Z")

</div>

Sorry that’s my mistake. Imgui appears to have been merged as of the [current dev release](https://github.com/cinder/Cinder).

If you want to stick with 0.9.2, [This](https://github.com/simongeilfus/Cinder-ImGui) is the defacto standard imgui block.

---

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 27, 2020, 2:16am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/7 "2020-09-27T02:16:56Z")

</div>

I have downloaded latest release which ships with imgui as you mentioned. I could compile with some imgui code. But still unable to see some imgui elements on screen. Is there any startup code which we can use?

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [September 27, 2020, 2:31am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/8 "2020-09-27T02:31:09Z")

</div>

Lots of the [samples](https://github.com/cinder/Cinder/blob/master/samples/Extrude/src/ExtrudeApp.cpp) use it, but really the imgui documentation is where you need to look from here, there’s not much cinder specific stuff to know about the implementation. The header i posted above has some of the RAII convenience stuff you can use.

---

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 27, 2020, 4:20am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/9 "2020-09-27T04:20:33Z")

</div>

Thank you for your reply. Tried compiling the samples but gives linker error. I have pointed to the lib folder in vs2019 settings. Still no luck. shows the typical LNK2019 error - unresolved externals.

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [September 27, 2020, 4:31am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/10 "2020-09-27T04:31:39Z")

</div>

Did you build cinder when you checked it out from github?

---

<div class="post-metadata">

**Author:** ![Kesav](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kesav](https://discourse.libcinder.org/u/Kesav)\
**Post date:** [September 27, 2020, 5:20am UTC](https://discourse.libcinder.org/t/cinder-imgui-on-windows/1718/11 "2020-09-27T05:20:09Z")

</div>

Yes I have built the cinder.sln using vs2019 for x64.
