# share

**URL:** https://discourse.glfw.org/c/share/7.md

[Latest](https://discourse.glfw.org/latest.md) · [Categories](https://discourse.glfw.org/categories.md)

---

## [About the showcase category](https://discourse.glfw.org/t/about-the-showcase-category/620)

<div class="topic-metadata">

**Author:** [@elmindreda](https://discourse.glfw.org/u/elmindreda)\
**Replies:** 0

</div>

Share tips and tricks and show off projects created with GLFW, tutorials, etc.

---

## [GLFW template project with CMake](https://discourse.glfw.org/t/glfw-template-project-with-cmake/2887)

<div class="topic-metadata">

**Author:** [@lucasa98](https://discourse.glfw.org/u/lucasa98)\
**Replies:** 0\
**Last updated:** [March 17, 2025, 3:26pm UTC](https://discourse.glfw.org/t/glfw-template-project-with-cmake/2887 "2025-03-17T15:26:13Z")

</div>

Hi! I’m new in the forum. I wanted to share a glfw template I made for myself to use as starter on Window. I think it should work on linux too, but didn’t try it yet. I hope someone find it useful. If you have any feed…

---

## [Using GLFW in a Python Project with Pybind11](https://discourse.glfw.org/t/using-glfw-in-a-python-project-with-pybind11/2657)

<div class="topic-metadata">

**Author:** [@mpfaffenberger](https://discourse.glfw.org/u/mpfaffenberger)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 2:01am UTC](https://discourse.glfw.org/t/using-glfw-in-a-python-project-with-pybind11/2657 "2024-06-20T02:01:08Z")

</div>

Hey all! Over the past years whenever I’ve had spare time (which is almost never), I’ve worked on a cute little data vizualization project as an installable python package. It leverages Imgui with GLFW and OpenGL. Th…

---

## [Ask for a static library vs2008 can use Thank you very much](https://discourse.glfw.org/t/ask-for-a-static-library-vs2008-can-use-thank-you-very-much/2650)

<div class="topic-metadata">

**Author:** [@fisher](https://discourse.glfw.org/u/fisher)\
**Replies:** 7\
**Last updated:** [June 19, 2024, 2:09pm UTC](https://discourse.glfw.org/t/ask-for-a-static-library-vs2008-can-use-thank-you-very-much/2650 "2024-06-19T14:09:23Z")

</div>

Could you please give me a glfw3.lib that vs2008 can use? Thanks for being able to render it. Or publish one

---

## [Warning LNK4098 when building in debug configuration in Visual Studio](https://discourse.glfw.org/t/warning-lnk4098-when-building-in-debug-configuration-in-visual-studio/2636)

<div class="topic-metadata">

**Author:** [@rustydwemer](https://discourse.glfw.org/u/rustydwemer)\
**Replies:** 1\
**Last updated:** [May 20, 2024, 10:17am UTC](https://discourse.glfw.org/t/warning-lnk4098-when-building-in-debug-configuration-in-visual-studio/2636 "2024-05-20T10:17:04Z")

</div>

By default when building for Debug configuration in VS, it uses /MDd option, while (I assume) glfw3.lib has been compiled with /MD option. As a workaround one can change the option in VS as follows (I leave it here for …

---

## [Idea of a Vulkan-Style GLFW wrapper (VKFW)](https://discourse.glfw.org/t/idea-of-a-vulkan-style-glfw-wrapper-vkfw/2619)

<div class="topic-metadata">

**Author:** [@hypatia-of-sva](https://discourse.glfw.org/u/hypatia-of-sva)\
**Replies:** 0\
**Last updated:** [May 3, 2024, 1:28pm UTC](https://discourse.glfw.org/t/idea-of-a-vulkan-style-glfw-wrapper-vkfw/2619 "2024-05-03T13:28:19Z")

</div>

Hello GLFW discourse community, I had some fun reviewing the GLFW source code and was struck by how litte of it often is used for Vulkan applications, so I thought it would make sense to create a kind of sister library …

---

## [New Emscripten / glfw port](https://discourse.glfw.org/t/new-emscripten-glfw-port/2525)

<div class="topic-metadata">

**Author:** [@ypujante](https://discourse.glfw.org/u/ypujante)\
**Replies:** 2\
**Last updated:** [February 26, 2024, 3:16pm UTC](https://discourse.glfw.org/t/new-emscripten-glfw-port/2525 "2024-02-26T15:16:27Z")

</div>

Hello Although it is still in its early stages of development I wanted to share the project I am currently working on: an emscripten/glfw port written in C++. The project is fully free/open source and is available on g…

---

## [Learn WebGPU for native graphics in C++ (with GLFW)](https://discourse.glfw.org/t/learn-webgpu-for-native-graphics-in-c-with-glfw/2368)

<div class="topic-metadata">

**Author:** [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Replies:** 4\
**Last updated:** [August 20, 2023, 9:00am UTC](https://discourse.glfw.org/t/learn-webgpu-for-native-graphics-in-c-with-glfw/2368 "2023-08-20T09:00:19Z")

</div>

Work in progress article on learning WebGPU with cross platform native graphics in C++ using GLFW (work in progress, note that I am not the author).

---

## [Hb-bluesea, only for Harbour](https://discourse.glfw.org/t/hb-bluesea-only-for-harbour/2203)

<div class="topic-metadata">

**Author:** [@Rafal](https://discourse.glfw.org/u/Rafal)\
**Replies:** 2\
**Last updated:** [November 28, 2022, 5:13pm UTC](https://discourse.glfw.org/t/hb-bluesea-only-for-harbour/2203 "2022-11-28T17:13:50Z")

</div>

Hi, in short, I like to write in Harbour, that’s why I’m here: Best regards – Rafał

---

## [GLFW Cairo-gl.h](https://discourse.glfw.org/t/glfw-cairo-gl-h/2150)

<div class="topic-metadata">

**Author:** [@Rafal](https://discourse.glfw.org/u/Rafal)\
**Replies:** 0\
**Last updated:** [September 14, 2022, 8:37pm UTC](https://discourse.glfw.org/t/glfw-cairo-gl-h/2150 "2022-09-14T20:37:09Z")

</div>

Hi, Simple example, how to render cairo output to a GLFW window, using GL as backend, Although the topic is obsolete, I decided to publish it for information purposes only, although there are many words of criticism, th…

---

## [GLFW and CMake starter](https://discourse.glfw.org/t/glfw-and-cmake-starter/1489)

<div class="topic-metadata">

**Author:** [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Replies:** 2\
**Last updated:** [June 2, 2021, 12:42pm UTC](https://discourse.glfw.org/t/glfw-and-cmake-starter/1489 "2021-06-02T12:42:32Z")

</div>

We’ve put together a CMake starter project for anyone who wants to use GLFW and needs help getting started / creating a project: Thanks to everyone who supports us on Patreon / GitHub and made this possible! Patreon:…

---

## [Center a GLFW Window at Screen using Python](https://discourse.glfw.org/t/center-a-glfw-window-at-screen-using-python/1618)

<div class="topic-metadata">

**Author:** [@8Observer8](https://discourse.glfw.org/u/8Observer8)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 7:06pm UTC](https://discourse.glfw.org/t/center-a-glfw-window-at-screen-using-python/1618 "2020-07-22T19:06:29Z")

</div>

Hi, I share the example for beginners how to center a window at screen because I did not find it by myself in the Internet and I wrote it from scratch. I hope it will useful for someone. import glfw if not glfw.init()…

---

## [HTML/CSS UI on GLFW windows](https://discourse.glfw.org/t/html-css-ui-on-glfw-windows/1544)

<div class="topic-metadata">

**Author:** [@c-smile](https://discourse.glfw.org/u/c-smile)\
**Replies:** 3\
**Last updated:** [May 21, 2020, 5:48pm UTC](https://discourse.glfw.org/t/html-css-ui-on-glfw-windows/1544 "2020-05-21T17:48:36Z")

</div>

For quite some time I am publishing so called Sciter.Lite version of Sciter Engine on the site and on GitHub. Sciter.Lite allows to render UI defined as HTML/CSS and optionally script on surface GLFW windows. Sciter SDK…

---

## [Created a .cmake file that retrieves GLFW from the repository](https://discourse.glfw.org/t/created-a-cmake-file-that-retrieves-glfw-from-the-repository/1277)

<div class="topic-metadata">

**Author:** [@Triavanicus](https://discourse.glfw.org/u/Triavanicus)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 8:24am UTC](https://discourse.glfw.org/t/created-a-cmake-file-that-retrieves-glfw-from-the-repository/1277 "2019-02-27T08:24:10Z")

</div>

The cmake file downloads GLFW into the project’s build dir, and builds the (static) library, and creates a cmake target for that build. It defaults to installing glfw into ${CMAKE\_SOURCE\_DIR}/lib but I have the followi…

---

## [In the wake of 3.3, I've updated the gamecontrollerdb](https://discourse.glfw.org/t/in-the-wake-of-3-3-ive-updated-the-gamecontrollerdb/1024)

<div class="topic-metadata">

**Author:** [@pgroarke](https://discourse.glfw.org/u/pgroarke)\
**Replies:** 1\
**Last updated:** [November 5, 2017, 7:26pm UTC](https://discourse.glfw.org/t/in-the-wake-of-3-3-ive-updated-the-gamecontrollerdb/1024 "2017-11-05T19:26:32Z")

</div>

I went ahead and merged pretty much all the PRs from the abandoned main repo. I’ve also scoured the internets and added mappings from the Brutal Legends and King of Fighters XIV threads, as well as other places. I’ve upd…

---

## [OpenGL::GLFW 0.04 perl bindings released to CPAN](https://discourse.glfw.org/t/opengl-glfw-0-04-perl-bindings-released-to-cpan/996)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.glfw.org/u/devel-chm)\
**Replies:** 0\
**Last updated:** [September 23, 2017, 8:49pm UTC](https://discourse.glfw.org/t/opengl-glfw-0-04-perl-bindings-released-to-cpan/996 "2017-09-23T20:49:09Z")

</div>

This release fixes some reference counting problems reported for callback registration. If you try or use these Perl bindings, please let me know. Thanks, Chris

---

## [OpenGL::GLFW 0.03 perl bindings released to CPAN](https://discourse.glfw.org/t/opengl-glfw-0-03-perl-bindings-released-to-cpan/976)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.glfw.org/u/devel-chm)\
**Replies:** 0\
**Last updated:** [August 25, 2017, 6:37pm UTC](https://discourse.glfw.org/t/opengl-glfw-0-03-perl-bindings-released-to-cpan/976 "2017-08-25T18:37:46Z")

</div>

Announcing the official release of OpenGL::GLFW 0.03 perl bindings to GLFW 3.2.1. Please see https://metacpan.org/pod/OpenGL::GLFW for the more information. I would appreciate anyone trying the module letting me know (…

---

## [OpenGL::GLFW perl bindings (official release candidate 1)](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-official-release-candidate-1/968)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.glfw.org/u/devel-chm)\
**Replies:** 0\
**Last updated:** [August 19, 2017, 7:10pm UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-official-release-candidate-1/968 "2017-08-19T19:10:36Z")

</div>

Announcing the release to CPAN of CHM/OpenGL-GLFW-0.02\_02.tar.gz the release candidate for our first official release. It highlights better documentation of the implementation details and adds the gears.pl to examples/. …

---

## [OpenGL::GLFW perl bindings (alpha release)](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.glfw.org/u/devel-chm)\
**Replies:** 3\
**Last updated:** [August 7, 2017, 12:47am UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959 "2017-08-07T00:47:29Z")

</div>

I have just released a first (alpha/unofficial) release of OpenGL::GLFW bindings from perl to GLFW. They can be downloaded at http://www.cpan.org/authors/id/C/CH/CHM/OpenGL-GLFW-0.02\_01.tar.gz and browsed at https:…

---

## [GLFW Controller Database](https://discourse.glfw.org/t/glfw-controller-database/768)

<div class="topic-metadata">

**Author:** [@SHC](https://discourse.glfw.org/u/SHC)\
**Replies:** 5\
**Last updated:** [January 17, 2017, 2:45pm UTC](https://discourse.glfw.org/t/glfw-controller-database/768 "2017-01-17T14:45:34Z")

</div>

GLFW Controller Database There are a lot of different controller layouts, and even controllers with similar layouts give out different button and axis codes depending on the platform. This is an attempt to create a coll…

---

## [Modern OpenGL 3.0+ Tutorial Series](https://discourse.glfw.org/t/modern-opengl-3-0-tutorial-series/746)

<div class="topic-metadata">

**Author:** [@SonarSystems](https://discourse.glfw.org/u/SonarSystems)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 12:42pm UTC](https://discourse.glfw.org/t/modern-opengl-3-0-tutorial-series/746 "2016-09-01T12:42:53Z")

</div>

Learn how to use SETUP and USE Modern OpenGL using this new course.

---

## [Working on a new tutorial series (and a crashing problem)](https://discourse.glfw.org/t/working-on-a-new-tutorial-series-and-a-crashing-problem/128)

<div class="topic-metadata">

**Author:** [@system](https://discourse.glfw.org/u/system)\
**Replies:** 1\
**Last updated:** [January 1, 2016, 6:56am UTC](https://discourse.glfw.org/t/working-on-a-new-tutorial-series-and-a-crashing-problem/128 "2016-01-01T06:56:39Z")

</div>

bastiaanolij wrote on Saturday, April 04, 2015: Hi All, Over the past few weeks I've slowly been writing up a tutorial as I'm building a little hobby project of mine. I've done a few things with GLFW so far but start…
