# OSMesa on Windows?

**URL:** <https://discourse.glfw.org/t/osmesa-on-windows/1663>\
**Category:** dev\
**Created:** [September 24, 2020, 2:49pm UTC](https://discourse.glfw.org/t/osmesa-on-windows/1663 "2020-09-24T14:49:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BorisMansencal](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BorisMansencal](https://discourse.glfw.org/u/BorisMansencal)\
**Post date:** [September 24, 2020, 2:49pm UTC](https://discourse.glfw.org/t/osmesa-on-windows/1663/1 "2020-09-24T14:49:03Z")

</div>

Hi,

It seems that building GLFW with OSMesa on Windows is currently not supported.  
Is there a specific reason (beyond available time and manpower)?  
Is there any work in progress related to this task?

Boris.

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [September 26, 2020, 11:44am UTC](https://discourse.glfw.org/t/osmesa-on-windows/1663/2 "2020-09-26T11:44:49Z")

</div>

I’ve not myself tried building GLFW with OSMesa support but the win32 code has support for OSMesa contexts:

> <https://github.com/glfw/glfw/blob/05dd2fa2986c37e7aee3cba917b1d02a3a189390/src/win32_window.c#L1398-L1404>

Have you tried building with OSMesa support? Note that there may be a documentation error, and you may need to use `GLFW_USE_OSMESA` and not `_GLFW_OSMESA`:

> <https://github.com/glfw/glfw/issues/1459>
>
> I'm using glumpy in my project which relies on glfw in the backend.
> As I read in the releasenotes for GLFW 3.3...
